GNU bug report logs - #20463
25.0.50; New deletion commands in buffer-menu [PATCH]

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Wed, 29 Apr 2015 17:57:02 UTC

Severity: wishlist

Tags: patch, wontfix

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20463 <at> debbugs.gnu.org
Subject: Re: bug#20463: 25.0.50; New deletion commands in buffer-menu [PATCH]
Date: Thu, 30 Apr 2015 19:06:25 +0300
On 30/04/2015 03:12 -0400, Glenn Morris wrote:

> Filipp Gunbin wrote:
>
>> What about these new commands in buffer-menu?  I find these useful in
>> sessions with lots of buffers.
>>
>> `D m' Prompt for major mode name and delete all buffers in that mode.
>>
>> `D b' Prompt for regexp and mark for deletion all buffers with matching
>> names.
>>
>> `D f' Prompt for regexp and mark for deletion all buffers with mathing
>> file names.
>
>
> IMO the right solution is to replace buffer-menu with the more
> featureful ibuffer, which already does all those things and more.
>
> It's a long-standing TODO item; eg
> http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00305.html
>
> (the length of that thread suggests it's one of those "fun" Emacs topics
> with more heat than light.)

Oh, yes, ibuffer.  Probably it's cool, but for me it's a bit overloaded
with features.

The intent for the commands above was to simplify buffer set cleanup
(which I do at most daily).  Like extended `kill-matching-buffers'.

Maybe add a few commands similar to `kill-matching-buffers' instead of
extending buffer-menu?  A user option could be used to control whether
to query or not (I don't want to be queried 100 times in a row).

Filipp




This bug report was last modified 9 years and 146 days ago.

Previous Next


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