Hello,
Reuben Thomas <[email protected]> writes:
> I currently have in my Emacs init:
>
> (setq org-emphasis-regexp-components ;; define before loading org
> '("[:space:]('\"{" "-[:space:].,:!?;'\")}\\[" "[:space:]\r\n" "." 1))
>
> In other words, I added [:space:] to the BORDER pattern too.
>
> It would seem reasonable to have something like this be the default. In
> particular, worg/dev/org-syntax.org already talks about “whitespace”,
> not specifically “spaces, tabs etc.”.
>
> But, I wonder, is it a problem that [:space:] contains vertical
> whitespace characters too? (I left “\r\n” in the BORDER pattern as a
> reminder that they are there on purpose, whereas PRE and POST previously
> contained only space and tab, i.e. horizontal whitespace.) On the other
> hand, since PRE and POST are anchored to the start and end of a line,
> and the number of newlines is by default limited to 1, perhaps it’s not
> a problem?
I don't think it is a problem with vertical spaces.
IIRC, that change was request by someone else some months ago, but the
request probably felt through the cracks.
Anyway, I made that change to master branch. We'll see what happens.
Thank you.
--
Nicolas Goaziou