emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Org-publish - too many index.org files
Date: Thu, 30 Oct 2008 10:04:54 -0500	[thread overview]
Message-ID: <877i7qceeh.fsf@fastmail.fm> (raw)


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

             reply	other threads:[~2008-10-30 15:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 15:04 Matthew Lundin [this message]
2008-10-30 15:15 ` Org-publish - too many index.org files Richard Riley
2008-11-01 13:17   ` Carsten Dominik
2008-10-30 15:46 ` R: " Giovanni Ridolfi
2008-10-31  4:34   ` Matthew Lundin
2008-11-01  2:29 ` Ethan Blanton
2008-11-01  3:25   ` Matthew Lundin
2008-11-01 13:15 ` Carsten Dominik
2008-11-02 12:50   ` Matthew Lundin
2008-11-02 14:25     ` Carsten Dominik
2008-11-02 15:54       ` Matthew Lundin
2008-11-02 16:15         ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877i7qceeh.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).