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

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

Re: too many buffers


From: Suvayu Ali
Subject: Re: too many buffers
Date: Wed, 20 Jan 2010 14:17:58 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1pre Thunderbird/3.0

On Wednesday 20 January 2010 01:03 PM, Thierry Volpiatto wrote:
Sam Steingold<sds@gnu.org>  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<http://www.emacswiki.org/cgi-bin/emacs/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)

--
Suvayu

Open source is the future. It sets us free.




reply via email to

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