Nick Dokos <[email protected]> writes:
> =?utf-8?Q?=C5=81ukasz?= Stelmach <[email protected]> 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 <[email protected]>
> 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode