GNU bug report logs - #76248
[Feature Request] user-option for killing buffer in `quit-window'.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Perez <eg642616 <at> gmail.com>

Date: Thu, 13 Feb 2025 04:45:01 UTC

Severity: wishlist

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>,
 martin rudalics via Bug reports for GNU "Emacs, " the Swiss army knife of text
 editors <bug-gnu-emacs <at> gnu.org>
Cc: 76248 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>,
 juri <at> linkov.net
Subject: Re: bug#76248: [Feature Request] user-option for killing buffer in
 `quit-window'.
Date: Mon, 17 Feb 2025 10:20:23 +0100
[Message part 1 (text/plain, inline)]
> I've tested the patch and the implementation works like a charm.
>
> However, I would prefer this line to be added.
>
>    :type '(choice (const :tag "All major modes" t)
> +                (const :tag "Bury, don't kill" nil)
> 		         (repeat (symbol :tag "Major mode")))
>    :version "31.1"
>    :group 'windows)

Then maybe the attached would fit you better.  The text "Bury, don't
kill" is subtly misleading here because 'quit-window' will also bury the
buffer when its major mode is not a member of a list of modes specified
by this option.

martin
[quit-window-kill-buffer.diff (text/x-patch, attachment)]

This bug report was last modified 208 days ago.

Previous Next


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