>> - <note heading> \\ >> <User note, possibly multi-line> > > This is not specific enough to be considered as syntax. The risk of > false positive is too high. This is the reason why notes were never > considered as syntactically meaningful so far.
I may miss something, but it does not look [for me] any more specific in comparison with headline format: - headline :: "^\*+ .+$" - first line of note :: "^[ \t]*-.+\\\\$" Body of the note can be extracted using existing item parser (removing the first line). >> The <note heading> is taken from `org-log-note-headings'. > > This is configurable, which is not a good idea for any new syntax. Agree. The syntax may allow arbitrary first line instead of limiting it to `org-log-note-headings'. Though `org-log-note-headings' can still be used to define special types of notes - not a part of syntax, but for org-mode functionality in Emacs. Best, Ihor Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Ihor Radchenko <yanta...@gmail.com> writes: > >> Instead of linking to the function, we can define the format used by >> `org-add-note' as a formal format for notes. Currently `org-add-note' >> uses the following format: >> >> - <note heading> \\ >> <User note, possibly multi-line> > > This is not specific enough to be considered as syntax. The risk of > false positive is too high. This is the reason why notes were never > considered as syntactically meaningful so far. > >> The <note heading> is taken from `org-log-note-headings'. > > This is configurable, which is not a good idea for any new syntax. > > Regards, > -- > Nicolas Goaziou