Subject: bug#43957: remove process-kill-buffer-query-function from kill-buffer-query-functions

From: Eli Zaretskii <[email-masked]>
Date: Mon, 12 Oct 2020 18:14:38 +0300

> Date: Mon, 12 Oct 2020 10:07:14 -0400
> From: Boruch Baum <[email-masked]>
> 
> 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.