From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: subtree export title w/ tags Date: Sun, 19 Jan 2014 12:19:35 +0100 Message-ID: <87bnz81ans.fsf@gmail.com> References: <52D5642C.5070907@roklein.de> <87vbxmfs2m.fsf@bzg.ath.cx> <86r489bpea.fsf@somewhere.org> <87k3e14g17.fsf@bzg.ath.cx> <52D67FAE.7090906@roklein.de> <52DBB211.7030605@roklein.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4qPP-0003eU-AE for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 06:19:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4qPJ-0006aQ-FH for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 06:19:19 -0500 In-Reply-To: <52DBB211.7030605@roklein.de> (Robert Klein's message of "Sun, 19 Jan 2014 12:08:01 +0100") 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: Robert Klein Cc: Bastien , Sebastien Vauban , emacs-orgmode@gnu.org Hello, Robert Klein writes: > `org-export-with-tags' doesn't seem to work at all when a headline is > made title of a subtree export. > > > When using the appended configuration and org-file; point on the line > "point is here"; I'm subtree exporting using C-c C-e C-s h H and I get > > #+begin_example > ... > > second heading > :mytag: > > > ... > #+end_example > > > I suspect the `org-todo-line-regexp' in org-export--get-subtree-options > doesn't like/understand tags. The current behaviour is to keep tags of the root node when you export a subtree. If you want to get rid of them, you can set an :EXPORT_TITLE: property in the same node. Note that `org-export-with-tags' isn't expected to do anything in that situation. Regards, -- Nicolas Goaziou