GNU bug report logs - #79065
31.0.50; [PATCH] Allow inverting the meaning of 'quit-window-kill-buffer'

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Mon, 21 Jul 2025 05:24:02 UTC

Severity: normal

Tags: patch

Found in version 31.0.50

Full log


Message #8 received at 79065 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Jim Porter <jporterbugs <at> gmail.com>, 79065 <at> debbugs.gnu.org
Subject: Re: bug#79065: 31.0.50; [PATCH] Allow inverting the meaning of
 'quit-window-kill-buffer'
Date: Mon, 21 Jul 2025 10:28:18 +0200
> For a long time, I've had a bit of code in my config to invert the
> default behavior of 'quit-window', so that it normally kills the
> buffer, but buries it with the prefix arg. With bug#76248, I now have
> almost what I want in Emacs proper (thanks!), except without the
> prefix arg behavior.
>
> Attached is a patch to do this. Hopefully the documentation is ok, but
> I'm open to other wordings. I fear my current wording might be a bit
> convoluted...

IIUC the current behavior has the prefix argument simply ignore
'quit-window-kill-buffer'.  With your patch it inverts whatever that
option prescribed till now.  Right?  If so, this would constitute an
incompatible change and we probably should convey the behavior you want
via a new value for 'quit-window-kill-buffer' itself.  In either case,
the doc-string of 'quit-window-kill-buffer' would have to be amended
accordingly and the new behavior be called out in NEWS.

Thanks, martin




This bug report was last modified 50 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.