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

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

Re: question about emacs coloration


From: Steve Duran
Subject: Re: question about emacs coloration
Date: Wed, 21 Aug 2002 08:24:45 -0600

"Reuven M. Lerner" wrote:

> >>>>> You wrote:
>
>     Steve> How can I get Emacs to colorize the text of xml files, the
>     Steve> same way it does for java and perl?
>
> Emacs colorizes buffers via font-lock-mode, which is a minor mode.  To
> turn on font-lock-mode in a particular buffer, you type
>
>     M-x font-lock-mode RET

  Where do I type this at?

>     (global-font-lock-mode 1)

  I set this in the .emacs file, and selected the menu option
"Byte-Compile and Load" but it had no effect.  Does Emacs require a data
file that tells it how to colorize xml files?

  This is GNU Emacs 20.7.1

  Thanks,

  Steve






reply via email to

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