Hello Nicolas,
Nicolas Goaziou wrote:
> "Sebastien Vauban" writes:
>
>> Since updating to latest Org this morning, I couldn't open anymore my file
>> ~/org/work.org.
>>
>> Symptom? Org-mode gets loaded, but buffer remains blank, and Emacs is
>> (apparently) inflooping, with letting me stop it (with C-g).
>>
>> Solution? Kill Emacs through the task manager, and bisect:
>>
>> ╭────
>> │ 5f095f59099e77eda5cf7cae64119f9f246c4c70 is the first bad commit
>> │ commit 5f095f59099e77eda5cf7cae64119f9f246c4c70
>> │ Author: Nicolas Goaziou
>> <[email protected]>
>> │ Date: Sun Feb 10 00:07:48 2013 +0100
>> │
>> │ Fontify latex, entities and sub/superscript again
>> ╰────
>>
>> Now, having my Git tip on commit 3f95d81, everything's OK. I can work again,
>> but the most difficult problem is that I don't see how to debug further the
>> above problem.
>>
>> Any idea why this fails?
>
> Probably an infloop, as you suggest. It would be great if you could
> provide an ECM (even not "M") for that problem. You can send it through
> private mail if you want.
>
> Also, what's your value for `org-highlight-latex-and-related'?
You've directly put me on the right track: some (untested) code I added just
before leaving on vacation...
--8<---------------cut here---------------start------------->8---
;; highlight LaTeX and related syntax
(setq org-highlight-latex-and-related
'('latex
'script
'entities))
--8<---------------cut here---------------end--------------->8---
This is obviously wrong (shame on me!), but has the interesting effect of
causing an infloop on opening Org files...
Thanks!
Best regards,
Seb
--
Sebastien Vauban