From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#72019: [PATCH] Add project argument to project-kill-buffers Date: Thu, 11 Jul 2024 22:44:55 +0300 Message-ID: <2d23e8f6-0891-4190-818a-c86861f58303@gutov.dev> References: <86ed81o5oc.fsf@gnu.org> <8634ohnwpz.fsf@gnu.org> <0ce21379-70a7-4859-9f3f-2f88d23dccbc@gutov.dev> <86le28mt1f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1396"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: sbaugh@janestreet.com, 72019@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 11 21:46:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sRzkD-000AeM-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jul 2024 21:46:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRzjw-0007xG-08; Thu, 11 Jul 2024 15:46:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRzju-0007x6-7t for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2024 15:46:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRzjt-0007LA-Un for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2024 15:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRzjt-0001Eg-NA for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2024 15:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2024 19:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72019-submit@debbugs.gnu.org id=B72019.17207271084656 (code B ref 72019); Thu, 11 Jul 2024 19:46:01 +0000 Original-Received: (at 72019) by debbugs.gnu.org; 11 Jul 2024 19:45:08 +0000 Original-Received: from localhost ([127.0.0.1]:52598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRzj1-0001D1-Ph for submit@debbugs.gnu.org; Thu, 11 Jul 2024 15:45:08 -0400 Original-Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:45787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRziy-0001CB-NU for 72019@debbugs.gnu.org; Thu, 11 Jul 2024 15:45:06 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id BD6D91140343; Thu, 11 Jul 2024 15:44:59 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 11 Jul 2024 15:44:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1720727099; x=1720813499; bh=hYU2m4TYbc1IaAH0Iuw9zE79HYIRtT9Qisb541d22Lg=; b= Uj0t3LZykkWky9/49PLjWxpUNEf/QaRFvIK7RAeWD/oN5pUL+wPBsMcyLwWzw9/N 5aKF/5zvcrTIL3lPDuLFk5E52YHSD2RiThGkz7j7q6uEUYUD95MGrYcH12+djqtj 5Y/9SjwyihWY2E6VDdsftw+BvUw5Zbnzzl1uTMumvcGzUBzjnJfBxazuMIMQ1xf4 XFnhN2zBVASkDL6mLIzyoZoSGxN0xEwq/RdCh5Fvj/JQ9XVmuJNBFmA169oad3uE COe+qcMK4VKKpyYeS4peIQmwcXrscVK5WsK5m1eXzqnAzx2H3cnJv0ASQgMS1UGB rObiWHdKXi31yieiDfxBGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1720727099; x= 1720813499; bh=hYU2m4TYbc1IaAH0Iuw9zE79HYIRtT9Qisb541d22Lg=; b=M SL9CipScArO79b5dRUiZIB0UpE/QHMhDEFQWNXbI0GVSRgIwV9nzO1rncAIU6Fso tbt30+HIvIbg2W+Bs7Aeta45Lj22PMUTYsEQEdOzMv0fdKpHuByndQyvf8BgxDwy L40dgF8TQt8WuBVubw8wxyuOqPxq2dl3tYBWGIGs3IQbG3HrVsSFPFwwXkMX7plV Wsk2fKGvovmzzA5XNwkvYl00/82vc5FKe85xPYedepOvWY9Cwb4xkwyweGzz1F4L yGGSKoc3HJgaaHGQ6hp1lpif29oe7FoRuWGnjCGE9wggBLKVPv86qe6a23CjKWQn t6rJa+Gb6YPUlp7JVq3Tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrfeeggddugedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Jul 2024 15:44:57 -0400 (EDT) Content-Language: en-US In-Reply-To: <86le28mt1f.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288746 Archived-At: On 11/07/2024 07:50, Eli Zaretskii wrote: >> Date: Thu, 11 Jul 2024 03:11:46 +0300 >> Cc:72019@debbugs.gnu.org >> From: Dmitry Gutov >> >> On 10/07/2024 17:32, Eli Zaretskii wrote: >>> In my book, prompting the user with the like of >>> >>> Project FOO disappeared, continue killing its buffers? >> Without a change like the proposed, we don't have access to any FOO (the >> hook simply will return nil), so that's not something the general code >> can do. > That's a minor issue that can be easily handled by fine-tuning the > message. For example: > > Current project disappeared, continue killing its buffers? We would basically never be killing "its" buffers after that - so the proposed message seems misleading.