Mail Archives: djgpp/1998/07/20/04:16:30
On Sun, 19 Jul 1998, Ralph Proctor wrote:
> After a second look I really like EMACS. You are right--you can do just
> about anything you want.
> I do miss colored syntax highlighting, though.
Huh? Did you try to turn on the so-called `font-lock-mode'? That's
what does the highlighting you want, and it knows about a lot of
different programming languages and special buffers (such as the
compilation buffer, where the messages from the compiler are
displayed). Try typing `M-x global-font-lock-mode RET' and see what I
mean. In case you didn't know: `M-x' means hold the ALT key, which
serves as a META key on a PC, and press `x'.
The sections ``Font Lock mode'' and ``Font Lock Support Modes'' in the
on-line manual describe the font-lock-mode and its features.
You might benefit from looking at the file _emacs.xmpl which should be
in the %DJDIR%/gnu/emacs directory. It's an example of useful
customizations I think many people would like. In particular, it
turns on syntax highlighting, but in a way that causes Emacs to
highlight only when it's idling, so that you don't have to wait for it
to highlight a large buffer.
Rename/copy _emacs.xmpl to _emacs, restart Emacs, and see if you like
the results. Then go through that file reading the comments near
every setting and change/remove those that you don't want/need.
(Btw, _emacs.xmpl is mentioned in the README.dos file which comes with
Emacs.)
- Raw text -