Org-mode lags in highlighting source
- by quanticle
I'm using org-mode to maintain my programming notes. This means I have lots of source code blocks, as follows.
#+begin_src <language name>
<code>
#+end_src
One thing I've noticed is that when I write the #+end_src, emacs doesn't color the source code as such. Yet, if I quit emacs and reopen the notes file (or force a refresh with the Org-Refresh/Reload-Refresh setup current buffer menu entry) the source is colored grey if I'm using the GUI or green if I'm using emacs in the terminal. Is this an inherent limitation of emacs, or am I doing something wrong in setting up my code blocks that's preventing emacs from going back and recoloring the source code that I've entered?