[Top][All Lists]

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

Re: too many buffers

From: Thierry Volpiatto
Subject: Re: too many buffers
Date: Wed, 20 Jan 2010 23:34:42 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux)

Suvayu Ali <address@hidden> writes:

> On Wednesday 20 January 2010 01:03 PM, Thierry Volpiatto wrote:
>> Sam Steingold<address@hidden>  writes:
>>> andrea wrote:
>>>> Can I limit the creation of new buffers or maybe I should write some
>>>> functions that cleans the situation automatically (using ibuffer maybe)?
>>> enable midnight.el to clean up unused buffers.
>>> e.g.,
>>> (custom-set-variables '(midnight-delay 7200 t (midnight)))
>>> in your .emacs will remove old unused buffers at 2 am.
>> Also, avoid opening many dired buffer:
>> If you use anything<>
>> you will find a command named `anything-find-files' (it is new) in
>> anything-config.el.
>> With this command you can navigate to a file you want to open without
>> opening any dired buffers (use `C-z' to expand subdir and `C-.' to went back
>> one level).
>> So if you want to navigate to ~/foo/bar/baz/your_file, you will have
>> only the buffer your_file open.
>> I use this command as a replacement of standard C-x C-f.
> Or you can just put this in your .emacs and use `a' to navigate and
> open files in a dired buffer. :)
> (put 'dired-find-alternate-file 'disabled nil)

Note that the first time you hit "a" in a dired buffer emacs will ask
you if you want to always use this command and will add it for you in
your .emacs ;-)

Thierry Volpiatto

reply via email to

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