From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org-publish - too many index.org files Date: Sat, 1 Nov 2008 14:15:08 +0100 Message-ID: <6F4A1881-83B7-4216-90A9-E3C81020D358@uva.nl> References: <877i7qceeh.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwHZw-0004fR-Rn for emacs-orgmode@gnu.org; Sat, 01 Nov 2008 10:35:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwHZw-0004ek-9W for emacs-orgmode@gnu.org; Sat, 01 Nov 2008 10:35:52 -0400 Received: from [199.232.76.173] (port=59387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwHZv-0004eL-OW for emacs-orgmode@gnu.org; Sat, 01 Nov 2008 10:35:51 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:38552) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwHZv-0004ZT-BZ for emacs-orgmode@gnu.org; Sat, 01 Nov 2008 10:35:51 -0400 Received: by ug-out-1314.google.com with SMTP id 36so1684570uga.17 for ; Sat, 01 Nov 2008 07:35:50 -0700 (PDT) In-Reply-To: <877i7qceeh.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: Matthew Lundin Cc: emacs-orgmode@gnu.org Hi Matthew, what org version are you using? Because I believe that in the current version, those buffers will be killed, if they have been visited to get published. Only buffers which are already present then starting the publishing will not be killed. At least this is how it should work. - Carsten On Oct 30, 2008, at 4:04 PM, Matthew Lundin wrote: > > I am setting up my website with multiple subdirectories, each, of > course, with its own index.org (index.html) file. > > A problem arises when I invoke org-publish (or org-agenda). All of the > org files in the project are loaded into buffers resulting in too many > index.org files in my buffer list. > > 1) Is there any way to have org-publish close buffers after publishing > the files? > > 2) Alternatively, is there an easy way to rename the buffers to the > title of the page designated with #+TITLE so that they can be told > apart in the buffer list. > > ---- > > Finally, on a related question. Does someone know an easy way to have > all the org-files of subdirectories of a website added to the agenda > files recursively? > > For my agenda files I currently use: > > (setq org-agenda-files (file-expand-wildcards "~/org/*org")) > > That, however, only works for a single directory, not recursively. > > Thanks! > > Matt Lundin > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode