[ESS] minor glitch switching from Xemacs to Gnu Emacs

Rodney Sparapani rsparapa at mcw.edu
Wed May 31 20:02:44 CEST 2006


Richard M. Heiberger wrote:
> good move!
> 
> You probably don't have font-lock mode on in the myfile.R buffer.  You can turn it
> on just this time with
>    M-x font-lock-mode
> I always want it on so I have the line
> 
>   (global-font-lock-mode 1)
> 
> in my .emacs file.
> 

Oh, that makes sense.  xemacs doesn't need that, but emacs does.  Since 
John's init.el was for xemacs, he wouldn't have included it.  Maybe we
can get him to add that so it will work for both.  Something like:
; xemacs has font-locking on by default, but not emacs
(if (not (featurep 'xemacs)) (global-font-lock-mode 1))




More information about the ESS-help mailing list