help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Remove all directory listings buffers


From: Andreas Politz
Subject: Re: Remove all directory listings buffers
Date: Sat, 05 Dec 2009 08:37:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"B. T. Raven" <address@hidden> writes:

> Andreas Politz wrote:
>> aartist <address@hidden> writes:
>> 
>>> On Nov 25, 7:13 am, address@hidden (Pascal J. Bourguignon)
>>> wrote:
>>>> rotlas <address@hidden> writes:
>>>>> I often end up with lots of directory buffers (those buffers with "dired 
>>>>> by
>>>>> name" mode), after navigating in the filesystem in order to open files. Is
>>>>> there an easy way to get rid of all those buffers at once, and leaving the
>>>>> other?
>>>> You could write a little emacs command to do that, but it should also
>>>> be easy enough to use:
>>>>
>>>> C-x C-b   (or M-x list-buffers RET)
>>>>
>>>> In the buffer list, you can mark buffers for killing with d (and move
>>>> down and up with n and p).  When you're done, type x to execute the
>>>> orders.
>>>>
>>>> --
>>>> __Pascal Bourguignon__
>>> The whole point was to mark  all the directory buffers at once.
>>> rather than one by one.
>> 
>> M-x ibuffer RET * / D
>> 
>> -ap
>> 
>> 
>> 
>
> Thanks. This looks safer to me than electric-buffer-list. Is it?
>
>
> Ed

Safer in what way ?

-ap





reply via email to

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