* [ANN] Parsed keywords no longer hard-coded
@ 2015-04-05 13:17 Nicolas Goaziou
2015-04-05 17:17 ` Rasmus
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-04-05 13:17 UTC (permalink / raw)
To: Org Mode List
Hello,
Parser used to have a hard-coded list of keywords that should be parsed,
namely "TITLE", "DATE" and "AUTHOR". This is no longer the case since
export back-ends can explicitly introduce new parsed keywords (e.g.,
"SUBJECT" in "ox-koma-letter") with a `parse' behavior (see
`org-export-options-alist').
Note that if a keyword is parsed, its associated property (with prefix
"EXPORT_") will be, too. Macros are now expanded in any of them.
As a side-effect, `org-element-context', which shouldn't depend on
back-ends loaded, cannot return objects within "TITLE", "DATE" and
"AUTHOR". This shouldn't affect `org-open-at-point', which now follows
links within all keywords.
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] Parsed keywords no longer hard-coded
2015-04-05 13:17 [ANN] Parsed keywords no longer hard-coded Nicolas Goaziou
@ 2015-04-05 17:17 ` Rasmus
2015-04-05 19:01 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-04-05 17:17 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Parser used to have a hard-coded list of keywords that should be parsed,
> namely "TITLE", "DATE" and "AUTHOR". This is no longer the case since
> export back-ends can explicitly introduce new parsed keywords (e.g.,
> "SUBJECT" in "ox-koma-letter") with a `parse' behavior (see
> `org-export-options-alist').
Thanks a lot.
I see you did not changed DESCRIPTION and KEYWORD in all backends. Unless
you plan to do it I'll look into this at the end of next week.
—Rasmus
--
Send from my Emacs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] Parsed keywords no longer hard-coded
2015-04-05 17:17 ` Rasmus
@ 2015-04-05 19:01 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2015-04-05 19:01 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
Hello,
Rasmus <rasmus@gmx.us> writes:
> I see you did not changed DESCRIPTION and KEYWORD in all backends. Unless
> you plan to do it I'll look into this at the end of next week.
I only changed them wherever they were actually parsed (using
`org-element-parse-secondary-string'). This was only the case in
"ox-latex".
Anyway, feel free to introduce new behavior in back-ends.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-05 19:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-05 13:17 [ANN] Parsed keywords no longer hard-coded Nicolas Goaziou
2015-04-05 17:17 ` Rasmus
2015-04-05 19:01 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).