On Wed, 2009-01-07 at 10:21 -0800, Michael G Schwern wrote: > Walt Mankowski wrote: > > On Wed, Jan 07, 2009 at 09:13:34AM -0800, Michael G Schwern wrote: > >> Emacs has this hate, too. I haven't yet found a "close all buffers" > >> function, > >> though at least I can find out quickly what has unsaved changes. > >> > >> I could probably hack something together in elisp, but then I'd have to > >> touch > >> elisp and the hate rapidly gets recursive. > > > > One way to do that is to go to the Buffer List, type "k" on each line > > corresponding to a buffer you want to kill, then hit "x" when you're > > finished. Go to help for Buffer Menu mode (C-h m in the Buffer List) > > to see other things you can do there. > > Thank you, but raising the constant on an O(n) task does not help. > > Aquamacs mercifully changes apple-w from uselessly closing the Emacs window > (never what an Emacs user wants) to kill-this-buffer. I can just smash that > chord rather than repeating the hand cramping "ctrl-x k".
C-x b to start switch buffer optionally type in part of a filename to match the buffers you want to kill (eg. .pl) hold down C-k as long as it takes to kill all or matching buffers This assumes the use of iswitchb of course. But emacs isn't usable without iswitchb so it seems safe to assume everyone already has that enabled. Hates software with stupid defaults. Cheers, Martin
