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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: eg642616 <at> gmail.com, 76248 <at> debbugs.gnu.org
Cc: stefankangas <at> gmail.com, juri <at> linkov.net
Subject: 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 113 days ago.

Previous Next


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