Nick Dokos <nicholas.do...@hp.com> writes: > =?utf-8?Q?=C5=81ukasz?= Stelmach <lukasz.stelm...@iem.pw.edu.pl> 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 <carsten.domi...@gmail.com> > 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode