Org-mode lags in highlighting source
        Posted  
        
            by 
                quanticle
            
        on Super User
        
        See other posts from Super User
        
            or by quanticle
        
        
        
        Published on 2011-11-18T16:35:29Z
        Indexed on 
            2011/11/18
            17:54 UTC
        
        
        Read the original article
        Hit count: 393
        
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?
© Super User or respective owner