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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Jim Porter <jporterbugs <at> gmail.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 79065 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#79065: 31.0.50; [PATCH] Allow inverting the meaning of 'quit-window-kill-buffer'
Date: Wed, 30 Jul 2025 10:17:43 +0200
> I think we could make the Lisp calls work like you suggested, where the KILL argument can be:
>
> * 'nil': obey 'quit-window-kill-buffer'
> * 'bury': always bury
> * 'kill' (or any other non-nil value for compatibility): always kill

We should rename KILL to BURY-OR-KILL then.  I still don't know whether
and how we would integrate the list of major modes value.  Maybe we
should take a step back and try without that list value.  As Juri meant
the list could be emulated with the help of buffer-local values
installed by the major modes.

martin




This bug report was last modified 51 days ago.

Previous Next


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