On Sep 6, 2011, at 11:08 AM, suvayu ali wrote: > Hi Carsten, > > On Tue, Sep 6, 2011 at 10:58 AM, Carsten Dominik > <carsten.domi...@gmail.com> wrote: >>> >>> But this only works when tags: is non-nil. Any hints on how I could >>> achieve something that "works always"? >> >> May be I do not understand, but how about >> >> (let ((match "tag1|tag2")) >> (when match >> (org-map-entries (lambda () (my-preprocess-function)) >> match))) >> > > Sorry after going through my email again I realised it was ambiguous. > When I say it doesn't work, I don't mean Org throws an error when > tags:nil is set. The preprocessing gets skipped.
Which of the preprocessing hooks are you using? I am still confused by your description, maybe you can make a small example and show exactly what works and what does not work? - Carsten > > To restate my intentions more clearly; I want to preprocess headlines > that match the tags list "tag1|tag2" during latex export irrespective > of how the tags: option is setup. If this is not possible by a tags > match, what are my alternatives? > >> - Carsten > > Thanks a lot. :) > > -- > Suvayu > > Open source is the future. It sets us free. - Carsten