Mail Archives: pgcc/1998/07/13/11:56:25
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 -