emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] remove sections with specific names


From: Phillip Lord
Subject: [O] remove sections with specific names
Date: Fri, 15 Jul 2016 23:37:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)


I'm trying to remove sections with specific names from the exported
output (I know about adding a :noexport: tag, but I always want to
remove the ones of the same name).

I've tried using :filter-section but if I return nil from this, it
removes the section but this leaves the headline in and I want to remove
both.

So, I think I need to use :filter-parse-tree. I'm struggling here a bit
though. I'm not sure how to pull apart the parse tree.

Am I going about this in the right way, or am I, erm, barking up the
wrong tree?

Phil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]