help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Configuring eager (ie. less-lazy) faces in psgml?


From: John J. Lee
Subject: Re: Configuring eager (ie. less-lazy) faces in psgml?
Date: 30 Nov 2005 17:40:48 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 24.11.2005 um 14:33 schrieb John J. Lee:
> 
> > (I'm hazy about all this, but IIUC
> > psgml does not use font-lock, which explains why
> > font-lock-fontify-buffer doesn't work.)
> >
> > Can anybody suggest any ways of doing that?
> 
> I have this:
> 
> (cond ((fboundp 'global-font-lock-mode)
>     ;; Turn on font-lock in all modes that support it
>     (setq global-font-lock-mode t)
> ;   (setq jit-lock-mode t)
>     ;; Maximum colors
>     (setq font-lock-maximum-decoration t)))
> 
> The lazy mode is being discouraged AFAIR ... or was it jit-lock-mode?

I already have font-lock turned on globally, and maximum decoration turned on 
too.

Like I said, I *think* (I'm shamefully ignorant of how emacs actually
works, I just use it like black magic ;-) psgml does not use
font-lock, which would explain why that doesn't have the desired effect here.


John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]