emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Add option to fontify latex blocks [9.1.9 (release_9.1.9-65


From: Carlos Pita
Subject: Re: [O] Bug: Add option to fontify latex blocks [9.1.9 (release_9.1.9-65-g5e4542 @ /home/carlos/local/stow/emacs-26/share/emacs/26.1.50/lisp/org/)]
Date: Fri, 21 Dec 2018 21:42:17 -0300

One problem I found after uninstalling my extension function is with
#+BEGIN/END blocks. For example, enable fontification for python,
elisp or whatever and write a long block like this:

#+BEGIN_XXX python

def xxx(x):
   pass

def xxx(x):
   pass

...

#+END_XXX python

Now scroll down to the end and change python to pyton and back. Even
when the delimiter is restored fontification isn't. I see that, for
latex blocks, you have added a case for searching backwards for an
opening delimiter. But org-fontify-meta-lines-and-blocks-1 lacks a
similar logic.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]