Steven Allen <[email protected]> writes: > I've attached 3 patches this time. to try to keep each individual change > small(ish).
Thanks! Applied, onto main, after adding declare statement to the macro definition and cleaning up commit messages to have double space between sentences. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fb9940bc4 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=55a0ea351 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=759da9046 > If the desire is to support parsing org-mode text outside of org-mode, > it probably makes sense to replace all instances of "\\S-" in regular > expressions with something more generic (e.g., "[ \t\r\n]+"). However, > that's a very large search and replace. Actually, more than that. All the rx-based regexps that make use of `space' construct should also be considered. And we cannot just go with \s because Org syntax explicitly allow arbitrary whitespace (including e.g. zero-width space that we recommend as escape character) in many scenarios. I think that the right solution will be wrapping all the parser-related staff into org-with-syntax-table. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
