www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/07/13/11:56:25

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
To: Vincent Diepeveen <diep AT xs4all DOT nl>
Cc: beastium-list AT Desk DOT nl
Subject: Re: advanced question about editting source for compilers
References: <3 DOT 0 DOT 32 DOT 19980711235950 DOT 0098ea50 AT xs4all DOT nl>
Mime-Version: 1.0 (generated by tm-edit 7.108)
From: Hannu Koivisto <azure AT iki DOT fi>
Date: 13 Jul 1998 14:48:48 +0300
In-Reply-To: Vincent Diepeveen's message of "Sat, 11 Jul 1998 23:59:52 +0100"
Message-ID: <87iul2c6ov.fsf@quasar.vvf.fi>
X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald"
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
Lines: 38

Vincent Diepeveen <diep AT xs4all DOT nl> writes:

| Now i'm editting in good old emacs, and i see my text all in the same color.
| 
| How can i see all my sources in color with linux using emacs?
| I know it's theoretically possible with emacs, but i'm not willing to learn
| emacs programming, probably one of you guys who program fulltime under linux

It's more than theoretically possible and it for sure doesn't
require any emacs programming. I understand that you don't want
to learn elisp programming, but you should at least learn to do
basic configurations to your emacs. The on-line documentation is
really good and you are going to need it eventually. If you have
a problem with the documentation, ask on some emacs newsgroup
about it or make a bugreport.

Syntax highlighting can be toggled trivially from emacs menus,
provided that you have a reasonably modern emacs or xemacs
version. You didn't mention the version, platform, and you
didn't mention whether you are using emacs in X or console
(Emacs can't do (without extensive hacking) syntax highlighting
in console, but XEmacs can). So with this information it's not
easy to give the best answer to you.

In my XEmacs 20.4 syntax highlighting can be toggled from Syntax
Highlighting sub-menu in Options menu. In my Emacs 20.2, syntax
highglighting can be toggled from Options sub-menu in Help
menu. If you can't do it this way, bad luck. Post your question
to some appropriate newsgroup (beastium-list isn't really
suitable place for Emacs questions) like comp.emacs or
gnu.emacs.help with more information. Hint: if you have older
Emacs, start putting "(global-font-lock-mode t)" to your
..emacs. 

PS. If you configure your emacs via the options/customize
mechanism, remember to save those options.

//Hannu

- Raw text -


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