Re: Colorizing
Peter Flynn <[email protected]>
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Silmaril Consultants |
| Message-ID | <[email protected]> |
D. D. Brierton wrote:
> On Tue, 2002-11-26 at 19:04, Artiom Neganov wrote:
>
>>Hello, psgml-user,
>>
>> In short, when colorizing will work in Emacs? :)
[...]
> I can't help agreeing that syntax highlighting could be much improved in
> PSGML. It is also a regularly requested feature. Is it hard to do?
I don't understand the problem. Syntactic fontification (colorizing)
I thought is ALREADY IN the major modes (psgml, xxml, xslide, etc).
Maybe the OP's question was really "how do I turn it on", not
"has anyone ever implemented it". In fact, looking at the wording
"when colorizing will work" (aside from the inversion) I think
the answer is actually:
Add the following to your .emacs file:
(require 'font-lock)
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(turn-on-font-lock)
I can't guarantee it will work because I don't understand Elisp,
but that's what's in my .emacs, and I get color.
///Peter
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en