unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Gian Uberto Lauri" <saint@eng.it>
To: yoyobeermam@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is there a way to make emacs display different functions in different colors?
Date: Wed, 17 Sep 2014 14:15:21 +0200	[thread overview]
Message-ID: <21529.31577.367248.530464@mail.eng.it> (raw)
In-Reply-To: <ab408ebe-e25c-4e27-a2b4-54d855e52a35@googlegroups.com>

yoyobeermam@gmail.com 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



  parent reply	other threads:[~2014-09-17 12:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 22:45 Is there a way to make emacs display different functions in different colors? yoyobeermam
2014-09-16 23:08 ` Emanuel Berg
2014-09-17 12:15 ` Gian Uberto Lauri [this message]
2014-09-18  7:23   ` Tassilo Horn
     [not found]   ` <mailman.9083.1411025573.1147.help-gnu-emacs@gnu.org>
2014-09-18 21:09     ` Emanuel Berg
     [not found] ` <mailman.9030.1410956159.1147.help-gnu-emacs@gnu.org>
2014-09-17 21:14   ` Emanuel Berg
2014-09-17 21:24     ` Stefan Monnier
2014-09-18  7:42       ` Gian Uberto Lauri
2014-09-18  7:40     ` Gian Uberto Lauri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21529.31577.367248.530464@mail.eng.it \
    --to=saint@eng.it \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yoyobeermam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).