all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: "Gian Uberto Lauri" <saint@eng.it>
Cc: help-gnu-emacs@gnu.org, yoyobeermam@gmail.com
Subject: Re: Is there a way to make emacs display different functions in different colors?
Date: Thu, 18 Sep 2014 09:23:58 +0200	[thread overview]
Message-ID: <874mw59ysx.fsf@thinkpad-t440p.tsdh.org> (raw)
In-Reply-To: <21529.31577.367248.530464@mail.eng.it> (Gian Uberto Lauri's message of "Wed, 17 Sep 2014 14:15:21 +0200")

"Gian Uberto Lauri" <saint@eng.it> writes:

Hi!

>  > 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).

I don't think he uses an Emacs version that's so old not to have
font-lock enabled by default.  But stock emacs doesn't come with a C#
mode, and it seems he programs in that (because he compares with
Monodevelop).  So he should install csharp-mode [1] which is also
installable using the emacs package manager from either the marmalade or
MELPA repositories.

Bye,
Tassilo

[1] https://code.google.com/p/csharpmode/



  reply	other threads:[~2014-09-18  7:23 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
2014-09-18  7:23   ` Tassilo Horn [this message]
     [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

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

  git send-email \
    --in-reply-to=874mw59ysx.fsf@thinkpad-t440p.tsdh.org \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=saint@eng.it \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.