From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [PATCH]Extend export hook example for removing headlines with tag ignore_heading Date: Tue, 14 Apr 2015 00:40:07 +0200 Message-ID: <20150413224007.GB2957@chitra.no-ip.org> References: <87twwkj9gt.fsf@gmx.us> <87vbgzx1a5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhn1a-0004VM-Q4 for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 18:40:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yhn1X-0002oe-F2 for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 18:40:14 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:33016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yhn1X-0002oa-80 for emacs-orgmode@gnu.org; Mon, 13 Apr 2015 18:40:11 -0400 Received: by wgin8 with SMTP id n8so96554120wgi.0 for ; Mon, 13 Apr 2015 15:40:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87vbgzx1a5.fsf@nicolasgoaziou.fr> 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: emacs-orgmode@gnu.org Cc: =?utf-8?Q?Ond=C5=99ej?= Grover Hi, I would like to chime in here. On Mon, Apr 13, 2015 at 09:42:58PM +0200, Nicolas Goaziou wrote: > > Please keep in mind this is an example to illustrate > `org-export-before-parsing-hook', not really a place to document some > hack. Is it a good idea to promote org-export-before-parsing-hook in the manual? As shown by this example, most solutions would be case specific with unforeseen consequences. I believe this was one of the reasons the original ignoreheading hack from pre-8.0 days was converted to filter. I think Worg is a more appropriate place for such content. In-fact, exactly this particular use is already being documented by someone in exporters/ox-overview.org. At the moment it is under noexport, so only visible on the git repo. http://orgmode.org/w/worg.git?p=worg.git;a=blob;f=exporters/ox-overview.org;h=98976fc65e3c4d2a55650651091d2e12e194a581;hb=HEAD#l294 WDYT? -- Suvayu Open source is the future. It sets us free.