From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rich Wellum Subject: Re: Using org-agenda opens all my .org files. Date: Wed, 14 Apr 2010 22:00:16 -0400 Message-ID: References: <87y6gp7fgi.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2EMl-0004fR-D5 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 21:59:39 -0400 Received: from [140.186.70.92] (port=59933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2EMk-0004f9-52 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 21:59:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2EMi-0001qT-I0 for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 21:59:38 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:59192) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2EMi-0001qL-CF for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 21:59:36 -0400 Received: by vws8 with SMTP id 8so437537vws.0 for ; Wed, 14 Apr 2010 18:59:35 -0700 (PDT) In-Reply-To: <87y6gp7fgi.fsf@fastmail.fm> 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: Matt Lundin Cc: "emacs-orgmode@gnu.org" > From: Matt Lundin > Date: Wed, 14 Apr 2010 19:59:57 -0400 > To: Rich Wellum > Cc: "emacs-orgmode@gnu.org" > Subject: Re: Using org-agenda opens all my .org files. > > Rich Wellum writes: > >> When I run org-agenda to look at all my TODO's - every single .org file is >> opened into buffers. Is this simply the way it works or is my setup >> incorrect? It's a pain to have to kill all those buffers each time. > > This is the way that org-mode works. If you'd like to release/kill your > org-mode buffers, simply type "x" in the agenda. Ah that works - thanks. > > Might I ask why you want to kill the org buffers once they have been > opened? It is a relatively expensive operation to open and parse all the > org files the first time the agenda is generated. However, once the org > files (and all the properties added by org-mode) are loaded into memory, > agenda creation is much quicker. For a one time operation - like looking at my todo list, where I might not use agenda for a while, it just seems odd to have 40+ buffers opened. No biggie and now that I know it's default behavior and not something I was doing wrong I'll adjust to it. Cheers, ||Rich > > Best, > Matt