Rasmus <ras...@gmx.us> writes: > Nicolas Goaziou <m...@nicolasgoaziou.fr> 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,