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

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

Re: Is there a way to make emacs display different functions in differen


From: Gian Uberto Lauri
Subject: Re: Is there a way to make emacs display different functions in different colors?
Date: Wed, 17 Sep 2014 14:15:21 +0200

address@hidden writes:
 > For example, in Monodevelop, when you make a comment in your script like this
 > 
 > //This text is only a filler
 > 
 > it will turn it green.

Try putting

(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)

in the .emacs file in your home directory (create a new .emacs file if
it does not exist).

If it does what you need type ESC-x and list-faces-display at the
prompt. The faces whose name starts by font-lock can be customized
for color an weight (move the cursor on the face and hit return).

For a color list, type ESC-x and list-colors-display at the prompt.

I hope this helps.

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     giĆ  sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO



reply via email to

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