GNU bug report logs -
#79065
31.0.50; [PATCH] Allow inverting the meaning of 'quit-window-kill-buffer'
Previous Next
Full log
Message #14 received at 79065 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 21 Jul 2025 10:28:18 +0200
> From: martin rudalics via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> > 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.
The user option quit-window-kill-buffer is new in Emacs 31, so I don't
think we need to mark any changes in it as incompatible. Or did I
miss something?
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.