Hi Bastien, Bastien wrote: > Sebastien Vauban writes: > >> With recent Org, sentences such as [1]: >> >> Explanation *answers the question "why?"*: show *why* the facts make sense. >> >> Explanation *makes people /care/*, so they are more motivated about learning >> more. "Why would I want to do /that/?" >> >> are badly fontified. Tested with a minimal Emacs file. > > I vaguely remember this is a side-effect of another choice we made on > purpose, but if you can bisect and find the commit, I'd be interested.
--8<---------------cut here---------------start------------->8--- f21150f1853180f63741083e427ef4e6bec1ea52 is the first bad commit commit f21150f1853180f63741083e427ef4e6bec1ea52 Author: Bastien Guerry <b...@altern.org> Date: Fri Jan 3 11:16:14 2014 +0100 org.el (org-do-emphasis-faces): Fix false positives handling * org.el (org-do-emphasis-faces): Handle false positives by restarting the re-search one char after the beginning of the match, not one char before its ending. Before this fix, consider this buffer ** Headline - *Bold* non-bold - *Bold* non-bold The first false positive is "** Headline\n - *Bold*" Starting the search again from the last "*" will skip the "*Bold*" string. Starting again at "* Headline" will find it. --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban