From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43957: remove process-kill-buffer-query-function from kill-buffer-query-functions Date: Mon, 12 Oct 2020 18:14:38 +0300 Message-ID: <83pn5n328x.fsf@gnu.org> References: <20201012140714.3omumvzypamrdiv6@E15-2016.optimum.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13559"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43957@debbugs.gnu.org To: Boruch Baum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 12 17:15:09 2020 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 1kRzXZ-0003Ot-KE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 17:15:09 +0200 Original-Received: from localhost ([::1]:51474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRzXY-0008Nj-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 11:15:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRzXS-0008NP-1f for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRzXR-0004rk-NE for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRzXR-0005I9-IY for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Oct 2020 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43957 X-GNU-PR-Package: emacs Original-Received: via spool by 43957-submit@debbugs.gnu.org id=B43957.160251568520309 (code B ref 43957); Mon, 12 Oct 2020 15:15:01 +0000 Original-Received: (at 43957) by debbugs.gnu.org; 12 Oct 2020 15:14:45 +0000 Original-Received: from localhost ([127.0.0.1]:43698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRzXB-0005HU-Gj for submit@debbugs.gnu.org; Mon, 12 Oct 2020 11:14:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRzX9-0005HH-0T for 43957@debbugs.gnu.org; Mon, 12 Oct 2020 11:14:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44754) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRzX3-0004of-KA; Mon, 12 Oct 2020 11:14:37 -0400 Original-Received: from [176.228.60.248] (port=3318 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kRzX2-0001fG-Rx; Mon, 12 Oct 2020 11:14:37 -0400 In-Reply-To: <20201012140714.3omumvzypamrdiv6@E15-2016.optimum.net> (message from Boruch Baum on Mon, 12 Oct 2020 10:07:14 -0400) 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" Xref: news.gmane.io gmane.emacs.bugs:190334 Archived-At: > Date: Mon, 12 Oct 2020 10:07:14 -0400 > From: Boruch Baum > > When explicitly killing a shell/eshell or terminal-emulator > ansi-term/term buffer, a user shouldn't have to take an extra step to > respond to the prompt of process-kill-buffer-query-function. In such > cases, the process for which function process-kill-buffer-query-function > is activated is the foreground shell process, so of course the conscious > user intent is to kill it. FWIW, I'm not sure an unconditional change in behavior here is TRT. Killing a buffer doesn't necessarily imply the user is aware that the process will be killed as well. I wouldn't object to an opt-in option, though.