From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: subtree export title w/ tags Date: Sun, 19 Jan 2014 12:08:01 +0100 Message-ID: <52DBB211.7030605@roklein.de> References: <52D5642C.5070907@roklein.de> <87vbxmfs2m.fsf@bzg.ath.cx> <86r489bpea.fsf@somewhere.org> <87k3e14g17.fsf@bzg.ath.cx> <52D67FAE.7090906@roklein.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010805050404020805060701" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4qEo-0001dD-5r for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 06:08:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4qEg-0003uN-RG for emacs-orgmode@gnu.org; Sun, 19 Jan 2014 06:08:22 -0500 In-Reply-To: <52D67FAE.7090906@roklein.de> 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: Bastien , Sebastien Vauban Cc: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------010805050404020805060701 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Bastien, Sebastien, `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. Note: I'm rolling my own blog-exporter as a html-derived one (didn't understand org2blog enough to be able to enhance it). For posting a subtree it would be `natural' to use the heading (without tags) as title and tags (if any) as blog tags. Best regards Robert On 01/15/2014 01:31 PM, Robert Klein wrote: > Bastien, Sebastien, > > thank you both for your help. > > I'll check out `org-export-with-tags'. > > I do need the tags, but only in the -export-as- function of a derived > exporter. Probably I still can get them. > > > Thanks a lot > > Best regards > Robert > > > On 01/15/2014 12:53 PM, Bastien wrote: >> >> >> "Sebastien Vauban" >> writes: >> >>> `org-export-with-tags' seems to be the option to do that, nope? >>> >>> ╭──── org-export-with-tags >>> │ >>> │ If nil, do not export tags, just remove them from headlines. >>> ╰──── >> >> I think the OP wants to remove tags just from the titles. >> > > --------------010805050404020805060701 Content-Type: text/plain; charset=UTF-8; name=".emacs" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=".emacs" OyBubyBzdGFydHVwIG1lc3NhZ2UKKHNldHEgaW5oaWJpdC1zdGFydHVwLW1lc3NhZ2UgdCkK Cjs7IEknbSBmZWVsaW5nIHJlbGlnaW91cyBhYm91dCB0aGlzOgooc2V0cS1kZWZhdWx0IGlu ZGVudC10YWJzLW1vZGUgbmlsKQoKOzsgIGFzayB5IG9yIG4gaW5zdGVhZCBvZiB5ZXMgb3Ig bm8KKGZzZXQgJ3llcy1vci1uby1wICd5LW9yLW4tcCkKCjs7IGluZGVudCBhZnRlciBlbnRl cjsgSSB3YW50IHRoaXMgbW9zdCBvZiB0aGUgdGltZS4KKGdsb2JhbC1zZXQta2V5IChrYmQg IlJFVCIpICduZXdsaW5lLWFuZC1pbmRlbnQpCgo7OyB1c2UgZW1hY3Mgd2l0aCBJTUUgKGF2 b2lkICdubyBkZWFkLWFjdXRlJyBlcnJvciBtZXNzYWdlcykKKGxvYWQtbGlicmFyeSAiaXNv LXRyYW5zbCIpCgo7OyBjaGFuZ2UgbnVtYmVyIG9mIG5ld2xpbmVzIGZvciBlbXBhc2l6ZWQg YmxvY2tzCihzZXRxIG9yZy1lbXBoYXNpcy1yZWdleHAtY29tcG9uZW50cwogICAgICAnKCIg XHQoJ1wieyIgIi0gXHQuLDohPzsnXCIpfVxcIiAiIFx0XHJcbixcIiciICIuIiAxMCkpCgoo c2V0cSBvcmctZXhwb3J0LXdpdGgtdGFncyBuaWwpCgooc2V0cSBsb2FkLXBhdGggKGNvbnMg In4vLmVtYWNzLmQvb3JnLW1vZGUvbGlzcCIgbG9hZC1wYXRoKSkKKGFkZC10by1saXN0ICds b2FkLXBhdGggIn4vLmVtYWNzLmQiKQooYWRkLXRvLWxpc3QgJ2F1dG8tbW9kZS1hbGlzdCAn KCJcXC5cXChvcmdcXHxvcmdfYXJjaGl2ZVxcfHR4dFxcKSQiIC4gb3JnLW1vZGUpKQoocmVx dWlyZSAnb3JnLWxvYWRkZWZzKQoKKHNldHEgb3JnLWV4cG9ydC13aXRoLXRhZ3MgbmlsKQoK --------------010805050404020805060701 Content-Type: application/vnd.lotus-organizer; name="tag-test.org" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="tag-test.org" IytUSVRMRTogRG9jdW1lbnQgdGl0bGUKIytPUFRJT05TOiB0YWdzOm5pbAoKKiBmaXJzdCBo ZWFkaW5nCmJsYSBibGEgYmxhIGJsYQoKKiBzZWNvbmQgaGVhZGluZyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDpteXRhZzoKYmxhIGJs YSBibGEKCnBvaW50IGlzIGhlcmUKCmJsYSBibGEgYmxhIGJsYSBsb3JlbSBpcHN1bSBkb2xv ciBzaXQgYW1ldCBibGEgYmxhIGJsYQoKKiB0aGlyZCBoZWFkaW5nCkxvcmVtIGlwc3VtIGRv bG9yIHNpdCBhbWV0IGJsYSBibGEgYmxhIHh5enp5IGJsYSBibGEK --------------010805050404020805060701--