emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Filtering in export hooks
@ 2011-09-06  8:49 suvayu ali
  2011-09-06  8:58 ` Carsten Dominik
  0 siblings, 1 reply; 7+ messages in thread
From: suvayu ali @ 2011-09-06  8:49 UTC (permalink / raw)
  To: org-mode mailing list

Hi Orgers,

What is the recommended way to filter/select headlines I want to
preprocess in any of the export hooks? I have tried using tags like
this:

(let ((match "tag1|tag2"))
  (org-map-entries (lambda () (my-preprocess-function))
		   match))

But this only works when tags: is non-nil. Any hints on how I could
achieve something that "works always"?

Thanks for any response.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-09-06 22:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06  8:49 Filtering in export hooks suvayu ali
2011-09-06  8:58 ` Carsten Dominik
2011-09-06  9:08   ` suvayu ali
2011-09-06  9:49     ` Carsten Dominik
2011-09-06 10:16       ` suvayu ali
2011-09-06 11:33         ` suvayu ali
2011-09-06 22:39       ` suvayu ali

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).