From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Filtering in export hooks Date: Tue, 6 Sep 2011 10:49:36 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0rLy-0008AB-EH for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 04:49:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0rLx-0002t3-Im for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 04:49:58 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:33837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0rLx-0002sz-BZ for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 04:49:57 -0400 Received: by bkbzt4 with SMTP id zt4so5392320bkb.0 for ; Tue, 06 Sep 2011 01:49:56 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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.