emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [PATCH] can't :include files in org-publish-project-alist


From: Łukasz Stelmach
Subject: [Orgmode] Re: [PATCH] can't :include files in org-publish-project-alist
Date: Sat, 21 Aug 2010 18:46:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Nick Dokos <address@hidden> writes:

> =?utf-8?Q?=C5=81ukasz?= Stelmach <address@hidden> wrote:
>
>>          :include ("index.org")) ; <---- HERE
>>... 
>> However, with parenthesis around "index.org" removed the function seems to
>> work fine and returns
>> 
>
> Wasn't that fixed by the following commit?
>
> commit 3529be82eff7906c1182fafbea6012fb6bfec160
> Author: Carsten Dominik <address@hidden>
> Date:   Mon Aug 16 17:27:25 2010 +0200
>
>     Fix interpretation of the :include property as a list of file names

Yes it was. I forgot to pull. However the part with appending "/" to b
might still be valuable at least for building xm regexp. If
:base-directory is set to "~/dydaktyka" (my example) then xm becomes
"^/home/steelman/dydaktyka[^/]+\.\(org\)" which not necessarily makes
sense. It may go like this

   (xm (concat "^" b
    (when (string-match "^[/]$" b) "/")
    (if r ".+" "[^/]+")
     "\\.\\(" x "\\)$")))

-- 
Miłego dnia,
Łukasz Stelmach




reply via email to

[Prev in Thread] Current Thread [Next in Thread]