|
From: | Sébastien Miquel |
Subject: | Re: [PATCH] Bug: Fontification: Heading following a comment |
Date: | Wed, 16 Sep 2020 08:30:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Hi, Thanks for taking a look.Afaict, the only difference between blank and [ \t] are some weird unicode characters. It isn't clear to me which one should be preferable and in what situation. I couldn't find any reference to this in any documentation of Org syntax.
I've replaced all instances of blank with (any " \t") in this function (that's the only instances in org.el).
The attached patch fixes the original issue. Regards, Sébastien Miquel Nicolas Goaziou wrote:
Hello, Sebastien Miquel <sebastien.miquel91@orange.fr> writes:(rx bol (group (zero-or-more blank) "#" (group (group (or (seq "+" (one-or-more (any "a-zA-Z")) (optional ":")) - space + blankThis looks wrong, but so does the current regexp. It should not be `space' nor `blank', but [ \t] per Org syntax. Regards,
0001-org.el-org-fontify-meta-lines-and-blocks-1-Fix-meta-.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |