From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Org-publish - too many index.org files Date: Thu, 30 Oct 2008 10:04:54 -0500 Message-ID: <877i7qceeh.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvZ4p-00014g-4M for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:04:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvZ4m-000105-O4 for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:04:45 -0400 Received: from [199.232.76.173] (port=51848 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvZ4m-0000zt-C4 for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:04:44 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:41596) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KvZ4m-0007ML-9B for emacs-orgmode@gnu.org; Thu, 30 Oct 2008 11:04:44 -0400 Received: from matt-desktop (vu019215.valpo.edu [152.228.168.123]) by mail.messagingengine.com (Postfix) with ESMTPA id E34952C2D8 for ; Thu, 30 Oct 2008 11:04:41 -0400 (EDT) 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: emacs-orgmode@gnu.org 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