LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] emacs colors

[ILUG] emacs colors

Brendan Halpin brendan.halpin at ul.ie
Thu Oct 24 09:21:05 IST 2002


jimishah15 <jimishah15 at icenet.net> writes:

> My emacs editor doesn't change colors for different strings when I write C programs.
> 
> How could I configure emacs, such that it changes the colors according to the syntax ??

Set the variable global-font-lock-mode to t -- put 
        (setq global-font-lock-mode t)
in your ~/.emacs. To have it take effect immediately put the cursor
after the second parenthesis and type C-x C-e to evaluate the form.

There is an "easier" way to change settings like this through the
"customize" facility, but that's point and click so it's far more
tedious to explain. 

Brendan
-- 
Brendan Halpin, Dept of Government and Society, Limerick University, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476;  Room F2-025 x 3147
<mailto:brendan.halpin at ul.ie>        <http://wivenhoe.staff8.ul.ie/~brendan>



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell