From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Release 6.13 Date: Tue, 25 Nov 2008 09:32:41 +0100 Message-ID: <874p1wp5na.fsf@kassiopeya.MSHEIMNETZ> References: <87od06gv1u.fsf@gollum.intra.norang.ca> <8763mch9pu.fsf@kassiopeya.MSHEIMNETZ> <871vx0h8xz.fsf@kassiopeya.MSHEIMNETZ> <56464B2D-DDAD-4FCD-B895-A398880ABC12@uva.nl> 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 1L4tJ2-0006ZE-Hy for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 03:30:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4tJ1-0006Yb-Mo for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 03:29:59 -0500 Received: from [199.232.76.173] (port=36761 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4tJ0-0006YR-OF for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 03:29:58 -0500 Received: from mail.gmx.net ([213.165.64.20]:41667) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L4tJ0-0004vx-AR for emacs-orgmode@gnu.org; Tue, 25 Nov 2008 03:29:58 -0500 In-Reply-To: <56464B2D-DDAD-4FCD-B895-A398880ABC12@uva.nl> (Carsten Dominik's message of "Tue, 25 Nov 2008 05:36:35 +0100") 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: Carsten Dominik Cc: emacs-orgmode Org-Mode Hi Carsten, Carsten Dominik writes: > Hi Sebastian, > > it seems to me thatt his patch depends on the projects in > org-publish-projects-alist to be defined in a certain order, > with the components first, and the big "parent" projects later. > So maybe you need to iterate the dolist loop until it stabilizes. > Also, I guess a "component" could be part of several "parents"? > Hmm, maybe not a likely setup. OK, les not worry about this issue. org-publish-get-project-from-filename always returned the first matching project. It still does so, but if one or more composite projects are found, of which the files project is a component, the last composite is returned instead. In that, it still does what it always did. Yes, this depends on a certain kind of setup. But it's the setup from the example in the docs, so I feel people will most likely use that. Since one has to provide the `:publishing-function', the only way to publish static content (e.g. images) AND dynamic content is to provide a composite project. The issue came up with org-exp-blocks.el [1]. ditaa blocks contain text, that is changed, just to update an image. I never ran into this, simply because I never used `C-c C-e P' [2]. The publishing of a composite project depends on the sequence of it's `:components' anyway [3]. Maybe this should be mentioned in the docs at the end of section 13.2.2? => --->8----------------------------->8----------------------------->8--- 'The `:components' in "website" are guaranteed to be published in the sequence provided.' <= ---8<-----------------------------8<-----------------------------8<--- All the best, Sebastian =--- Footnotes: --------------- [1] There are more `up-to-date issues' in the publishing (e.g. an #+INCLUDE index.org). Yet, we shouldn't open each and every file in a project just to be shure to have everything up to date (the user could still use `touch' or write a publishing function that does so). This is OK. Org-mode cannot _think_ for people, publishing a complex WEB project. [2] I never open my org-notes using the real path. I have link 'notes' in my home directory pointing to ~/emacs/org/notes/. [3] Org-mode can't guess - there is no `right' sequence. -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose emma-stil de, sebastian_rose gmx de Http: www.emma-stil.de