From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Lechtenboerger Subject: Re: [PATCH] ox.el: Define subtitle macro Date: Sun, 19 Nov 2017 13:27:11 +0100 Message-ID: <87r2supi74.fsf@wi.uni-muenster.de> References: <87tvxub9jj.fsf@wi.uni-muenster.de> <87375dsspo.fsf@gmx.us> <87375ds50i.fsf@wi.uni-muenster.de> <87lgj4tte2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGOhU-0006EC-KJ for emacs-orgmode@gnu.org; Sun, 19 Nov 2017 07:27:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGOhR-0007ok-HJ for emacs-orgmode@gnu.org; Sun, 19 Nov 2017 07:27:52 -0500 Received: from zivm-wwu3-1.uni-muenster.de ([128.176.192.17]:48192 helo=zivm-wwu3.uni-muenster.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eGOhR-0007mN-5R for emacs-orgmode@gnu.org; Sun, 19 Nov 2017 07:27:49 -0500 In-Reply-To: <87lgj4tte2.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 17 Nov 2017 23:47:17 +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" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Rasmus On 2017-11-17, Nicolas Goaziou wrote: > SUBTITLE keyword may not be supported in every back-end. As > a consequence, supporting a global {{{subtitle}}} macro sounds > presumptuous. > > Anyway, it begs for generalisation. The same problem is going to arise > for CREATOR, KEYWORDS, and WHATNOT. Instead of {{{subtitle}}}, we could > implement {{{option(KWD)}}}. Basically, > > {{{option(SUBTITLE)}}} => (org-element-interpret-data (plist-get > info :subtitle)) > > Options with a `split' behaviour would need a special treatment, > however. > > WDYT? Do you want to have a stab at it? Thanks for your reply. That would be great but goes way beyond my current understanding of org internals. I've never heard of `split' behaviour. Currently I don't have time to investigate this. I'll stick with a local change for now. Best wishes Jens