[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill-matching-buffers without confirmation

From: Yuri Khan
Subject: Re: kill-matching-buffers without confirmation
Date: Tue, 23 May 2017 12:28:35 +0700

On Tue, May 23, 2017 at 5:21 AM, Drew Adams <address@hidden> wrote:

> I don't even think that Emacs needs commands `kill-matching-buffers' and
> `kill-some-buffers' at all, for that matter.
> [What Emacs should offer instead is a way for `C-x k' to act (by hitting
> a key) on *each* completion of your input.  And ways to match buffer names
> better, possibly choosing how on the fly: substring, regexp, fuzzy.

Another UI for the same use case is:

* Open up a buffer list (e.g. ibuffer).
* Mark buffers by regexp (‘% n’ in ibuffer).
* Inspect the list to ensure it’s what you expect. Possibly mark or unmark some.
* Kill marked buffers.

If any of those are unsaved, a prompt could offer the “yes for all”
choice, like ! does in query-replace.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]