From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: agenda view opening multiple buffers Date: Wed, 30 Mar 2011 14:59:24 -0400 Message-ID: <878vvwbfjn.fsf@fastmail.fm> References: <87ei5sr7gj.fsf@norang.ca> <878vw0y78z.wl%markert.michael@googlemail.com> <815582FF-9288-4B52-9B5A-4D838D6A1FFD@gmail.com> <73568D24-AB5A-433F-B28A-DDDCF3071F2E@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q50c4-0005EY-A7 for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 14:59:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q50c2-0005gW-Vl for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 14:59:28 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:59573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q50c2-0005gR-LW for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 14:59:26 -0400 In-Reply-To: <73568D24-AB5A-433F-B28A-DDDCF3071F2E@gmail.com> (Carsten Dominik's message of "Mon, 28 Mar 2011 20:47:34 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Julian Burgos , Bernt Hansen , emacs-orgmode@gnu.org, Michael Markert Carsten Dominik writes: >> Thanks for pointing that out. Wouldn't "x" that close the agenda as >> well along with the buffers? > > Yes. > >> OP said: " It would be good to have the >> agenda open in a buffer without having all the agenda files opened >> too." May be a special custom agenda command that calls the above >> lambda function at the end would work better by limiting the damaged >> behaviour to just one command? > > No. The agenda buffer needs the source buffers alive to function. In addition, closing agenda buffers with "x" means that the next time ones call the agenda, Emacs has to load and parse all those files again, which takes much longer than simply rescanning buffers in memory. In other words, the expense of keeping the buffers open (a relatively small amount of RAM) is much less than the expense (disk IO, processing, time) of reloading the files each time one calls the agenda. In addition, pressing "x" will interrupt clocking. If the problem is difficulty scanning through and navigating to buffers in the Buffer List, ido offers a nice way to switch buffers quickly. In my experience, Emacs is better savored as a sumptuous feast than as a spartan repast. The more dishes there are on the table, the merrier everyone is. :) (length (buffer-list)) => 178 And I haven't started ERC yet. ;) Best, Matt