From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Suvayu Ali Newsgroups: gmane.emacs.help Subject: Re: too many buffers Date: Wed, 20 Jan 2010 14:17:58 -0800 Message-ID: <4B578116.5070204@gmail.com> References: <4B575419.7050908@gnu.org> <87d414qyiv.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264026361 24632 80.91.229.12 (20 Jan 2010 22:26:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Jan 2010 22:26:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 20 23:25:54 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NXizo-00061b-6P for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 23:25:52 +0100 Original-Received: from localhost ([127.0.0.1]:57488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXizp-0002oP-4i for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jan 2010 17:25:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXiro-0004I0-DU for help-gnu-emacs@gnu.org; Wed, 20 Jan 2010 17:17:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXirj-0004Ca-Kg for help-gnu-emacs@gnu.org; Wed, 20 Jan 2010 17:17:35 -0500 Original-Received: from [199.232.76.173] (port=49140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXirj-0004CM-Cw for help-gnu-emacs@gnu.org; Wed, 20 Jan 2010 17:17:31 -0500 Original-Received: from mail-px0-f192.google.com ([209.85.216.192]:59183) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXirj-0006E3-0y for help-gnu-emacs@gnu.org; Wed, 20 Jan 2010 17:17:31 -0500 Original-Received: by pxi30 with SMTP id 30so3727500pxi.14 for ; Wed, 20 Jan 2010 14:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=z8WQlbG7waxxBgDDBeVNHMe4n3m37dVGMMffqcbeK/8=; b=h66M4AMXwesfqd06E3+0cslJv2BZCiK+LbYXtpM8618eNag452Cb+vx+GQmuBwFQso ZABHejX6JdanyWzk9uNuuJTkooWYgFSH1TSZgCSnh5RzursQ3Io6eBHih2eREGayNJAC ZhVUXwoUFrV4DqWhOGkinume3eAgMLrkAf2Rw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=eoOf1mo0q0ASWHC/L6Rd9HEoAkiCXoTfL7nkYkgBjtQPh7Z4LdOih5dyY5d/Wo3cPS S7zLEJeU2+PHmMgsXgsgICBZX7wtJlxI4sSuUcAQjGWpZ924XhJOqae/Pe8gnqChCRl1 toHS5+88TlJeKPb8D85jzFMaXBPNFqcTjik4Q= Original-Received: by 10.115.134.18 with SMTP id l18mr388766wan.128.1264025847919; Wed, 20 Jan 2010 14:17:27 -0800 (PST) Original-Received: from ?142.58.122.14? (p8460-6.phys.sfu.ca [142.58.122.14]) by mx.google.com with ESMTPS id 21sm330677pzk.15.2010.01.20.14.17.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 14:17:26 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.5) Gecko/20091204 Lightning/1.0b1pre Thunderbird/3.0 In-Reply-To: <87d414qyiv.fsf@tux.homenetwork> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71327 Archived-At: On Wednesday 20 January 2010 01:03 PM, Thierry Volpiatto wrote: > Sam Steingold 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) -- Suvayu Open source is the future. It sets us free.