all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: too many buffers
Date: Wed, 20 Jan 2010 23:34:42 +0100	[thread overview]
Message-ID: <87eilkbe2l.fsf@tux.homenetwork> (raw)
In-Reply-To: 4B578116.5070204@gmail.com

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> 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)

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	other threads:[~2010-01-20 22:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-17 14:09 too many buffers andrea
2010-01-17 15:37 ` Peter Dyballa
2010-01-17 17:58 ` Sean Sieger
2010-01-18  5:07 ` Thien-Thi Nguyen
2010-01-20 19:06 ` Sam Steingold
2010-01-20 21:03   ` Thierry Volpiatto
2010-01-20 22:17     ` Suvayu Ali
2010-01-20 22:34       ` Thierry Volpiatto [this message]
2010-01-21 16:25         ` andrea
2010-01-21 16:43           ` Suvayu Ali
2010-01-21 19:22             ` Drew Adams
     [not found] <mailman.1572.1263737418.18930.help-gnu-emacs@gnu.org>
2010-01-17 15:45 ` Galen Boyer
2010-01-17 16:15 ` Florian Diesch
2010-01-17 21:25 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eilkbe2l.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.