After several months of work, my Emacs easily accumulates 400 or 500 buffers. This makes restoring from desktop-mode
irritatingly slow. I'd love to be able to delete buffers in bulk, ideally from the buffer list. For example, "mark for deletion every buffer associated with a file whose name matches regexp" or similar. But I can't find such a function, and looking at the way the buffer list is implemented, I can't figure out how to write one myself.
What functions or techniques exist for managing a large number of buffers?
% m
which marks by mode, but there is also% f
which marks by (displayed)buffer-file-name
, as well as many other bells and whistles. – Basil Jan 17 at 12:55ibuffer
I'll mark it accepted. – Norman Ramsey Jan 17 at 16:31