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

Re: font-lock, xemacs, latex



Johann Spies <jhspies@adept.co.za> writes:

> On Wed, Jan 03, 2001 at 10:06:49AM -0500, Giulio Morgan wrote:
> 
> > At some point during upgrades, I have lost font-locking capability
> > for LaTeX
> 
> Try the following:
> 
> Select (in Xemacs) Options, customize, apropos, font-lock
> 
> and activate font-lock-mode and font-lock-maximum-decoration
> 
> Set it and save it (Options, save options).  Your .emacs-file should
> contain something like this:
> 
> (custom-set-faces)
> (custom-set-variables
>  '(font-lock-maximum-decoration t)
>  '(font-lock-mode t nil (font-lock)))
> 
> 
> Regards.
> 
> Johann
> -- 
-- 
Thank you Johann, the options were set as you suggested, and yet there was
still no font-locking. Further investigation led me to add
  (if window-system
       (require 'font-latex))
to my .emacs, and this seems to have solved the problem. I don't know why this
was necessary, I imagine it may be from trying to run both xemacs and fsf
emacs. Thanks again,

Giulio

Giulio Morgan
mickle@panix.com



Reply to: