[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] ox.el: Define subtitle macro
From: |
Jens Lechtenboerger |
Subject: |
Re: [O] [PATCH] ox.el: Define subtitle macro |
Date: |
Sun, 19 Nov 2017 13:27:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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