emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ox] possible to modify org-export-document-properties OTG


From: Nicolas Goaziou
Subject: Re: [O] [ox] possible to modify org-export-document-properties OTG
Date: Sun, 22 Mar 2015 15:12:45 +0100

Rasmus <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>>
>>        (:subject "SUBJECT" nil nil parsed)
>>
>> `parsed' behavior implies `space' anyway, since we're talking about
>> secondary strings.
>
> Is that always the case?  I guess..

There are only two ways to look at it: either it can only contain
objects, or it can contain paragraphs. The latter might make sense for,
e.g., DESCRIPTION.

In this case, we need 2 symbols for that, e.g., `parse-objects' and
`parse-elements'.

>> `org-element-map' can find objects in captions, with an optional
>> argument.
>
> If turns out to be important, perhaps it would also be possible to map
> keyword objects with an non-default argument.

This is different. Captions are already in the parse tree. Keyword
objects are added mid-way. I'd rather keep keywords as is. If you want
to map over objects in, e.g., SUBJECT, you need to explicitly call
`org-element-map' on (plist-get info :subject).

Regards,



reply via email to

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