From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Global agenda views creates lots of buffers. Date: Fri, 15 Jan 2010 00:57:34 -0300 Message-ID: <4b4fe7b4.4902be0a.1ce5.2d51@mx.google.com> References: <87iqb43eco.fsf@telefonica.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVdJm-0002ry-88 for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 22:57:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVdJh-0002qi-1p for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 22:57:49 -0500 Received: from [199.232.76.173] (port=46133 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVdJg-0002qf-Tj for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 22:57:44 -0500 Received: from qw-out-1920.google.com ([74.125.92.150]:43394) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVdJg-0002RD-GJ for emacs-orgmode@gnu.org; Thu, 14 Jan 2010 22:57:44 -0500 Received: by qw-out-1920.google.com with SMTP id 4so86212qwk.24 for ; Thu, 14 Jan 2010 19:57:43 -0800 (PST) In-Reply-To: <87iqb43eco.fsf@telefonica.net> 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: =?UTF-8?B?w5NzY2Fy?= Fuentes Cc: emacs-orgmode@gnu.org I don't know if there is a reason, but pressing "x" in the agenda will close all org buffers that were opened by the agenda. The files that you opened yourself won't be closed. Maybe the reason is that if you change anything in the agenda these org files would have to be opened in order to be modified. Therefore it is better to keep them opened. - Darlan At Thu, 14 Jan 2010 16:17:43 +0100, Óscar Fuentes wrote: > > I have quite a few org files in org-agenda-files. When a global agenda > view is displayed (the Global TODO, for instance) org-mode visits all > the files and keeps the buffer for each of them. I'll prefer this > behavior: > > for each file in org-agenda-files > have we a buffer containing it? > no -> create a buffer and visit it > do our stuff (gather TODO items, etc) > if we were not visiting the file > kill the buffer that contains it. > > Is there a reason for keeping all those buffers around? > > -- > Óscar > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode