From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Re: too many buffers Date: Sun, 17 Jan 2010 10:45:48 -0500 Organization: Netfront http://www.netfront.net/ Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263746450 17436 80.91.229.12 (17 Jan 2010 16:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2010 16:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 17 17:40:43 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 1NWYB7-0003AR-Hu for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Jan 2010 17:40:41 +0100 Original-Received: from localhost ([127.0.0.1]:51173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWYB8-0007Wv-IN for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Jan 2010 11:40:42 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 24.34.93.196 Original-X-Trace: adenine.netfront.net 1263743157 3445 24.34.93.196 (17 Jan 2010 15:45:57 GMT) Original-X-Complaints-To: news@netfront.net Original-NNTP-Posting-Date: Sun, 17 Jan 2010 15:45:57 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:Dy4tkyGp8I7qDgyxDC8rtljxap8= Original-Xref: news.stanford.edu gnu.emacs.help:176204 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:71276 Archived-At: andrea writes: > When I use emacs for long times I end up having a lot of buffers. > It's not a big problem but it can be annoying, and there are some > buffers that should just not stay there: > - magit buffers > - dired buffers (I didn't find a variable useful to limit the opening of > new buffers) > - completions/help/annotate. > > I normally use those things once and if I need them again I'll execute > again the function. > > Can I limit the creation of new buffers or maybe I should write some > functions that cleans the situation automatically (using ibuffer maybe)? > > And also with org-mode when I use the agenda it visits ALL the buffers > without closing them after, is that normal? > > I have more than 50 files in the agenda only... > Thanks One way to handle this in a totally different fashion is to start learning and using ibuffer. For example, you can just collapse those into some grouping and put that at the bottom of the ibuffer buffer. -- Galen Boyer --- news://freenews.netfront.net/ - complaints: news@netfront.net ---