emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ethan Blanton <elb@psg.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-publish - too many index.org files
Date: Fri, 31 Oct 2008 22:29:49 -0400	[thread overview]
Message-ID: <20081101022949.GA1468@elb.elitists.net> (raw)
In-Reply-To: <877i7qceeh.fsf@fastmail.fm>


[-- Attachment #1.1: Type: text/plain, Size: 1248 bytes --]

Matthew Lundin spake unto us the following wisdom:
> 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.
[snip]
> 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.

While this isn't exactly what you asked, I find the following useful
in my emacs config:

(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward)
(setq uniquify-min-dir-content 0)
(setq uniquify-after-kill-buffer-p t)

With this, if you have:

web/index.org
web/images/index.org
web/articles/index.org

... then when the buffers are all loaded, you will have buffer names
like:

index.org|web
index.org|images
index.org|articles

I find this much more useful than index.org<1>, <2>, etc., and you
might find that it makes those buffers more manageable.

Ethan

-- 
The laws that forbid the carrying of arms are laws [that have no remedy
for evils].  They disarm only those who are neither inclined nor
determined to commit crimes.
		-- Cesare Beccaria, "On Crimes and Punishments", 1764

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2008-11-01  2:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 15:04 Org-publish - too many index.org files Matthew Lundin
2008-10-30 15:15 ` 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 [this message]
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=20081101022949.GA1468@elb.elitists.net \
    --to=elb@psg.com \
    --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).