From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Org-publish - too many index.org files Date: Fri, 31 Oct 2008 22:25:07 -0500 Message-ID: References: <877i7qceeh.fsf@fastmail.fm> <20081101022949.GA1468@elb.elitists.net> 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 1Kw76w-0005kY-GM for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 23:25:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw76t-0005kI-Vz for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 23:25:14 -0400 Received: from [199.232.76.173] (port=47739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw76t-0005kF-Os for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 23:25:11 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:35249) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kw76t-0002IL-Ji for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 23:25:11 -0400 Received: from Macintosh-5.local (pool-96-248-128-134.sbndin.dsl-w.verizon.net [96.248.128.134]) by mail.messagingengine.com (Postfix) with ESMTPSA id EDF42B917 for ; Fri, 31 Oct 2008 23:25:08 -0400 (EDT) In-Reply-To: <20081101022949.GA1468@elb.elitists.net> (Ethan Blanton's message of "Fri\, 31 Oct 2008 22\:29\:49 -0400") 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 Ethan Blanton writes: > 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] > 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 That's perfect! Thanks. -Matt