www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/20/04:16:30

Date: Mon, 20 Jul 1998 11:15:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Ralph Proctor <ralphgpr AT shadow DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Conv. mem with BASH shell
In-Reply-To: <3.0.1.16.19980719143717.1c3fdb86@shadow.net>
Message-ID: <Pine.SUN.3.91.980720111440.3059D-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019