Berkeley CSUA MOTD:Entry 25402
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2002/7/22-23 [Computer/SW/Editors/Emacs] UID:25402 Activity:moderate
7/22    o emacs masters: what command will make emacs re-calculate the
        syntax coloring for the display? e.g. I undo a block comment and
        want the uncommented code re-colored.
        \_ If you use fontlock, coloring is updated as you type.
           \_ obviously it isn't. --pld
        \_ font-lock-fontify-block/buffer if it ever gets out of sync --pld
           \_ esc-g twice will run font-lock-fontify-block
           \_ thanks. although i don't seem to see the "block" version.
              \_ Hmm, emacs 20.3.1 for NT/Solaris/Irix has
                 font-lock-fontify-block while emacs 20.7.1 on soda doesn't.
                 --- yuen
                 \_ It should, once font-lock-mode is enabled.
                    \_ Yes, that works.  --- yuen