LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2002, 04:55 AM   #1
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Rep: Reputation: 15
how make emacs highlight ?


Hi,all~

I heard that emacs could supply syntax highlight for some programming languages such as C++, how to customize that please ? and what languages could enjoy that ?

thanx in advance~
 
Old 09-28-2002, 08:27 PM   #2
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Unhappy

no ideas ?
 
Old 09-29-2002, 01:11 AM   #3
ptaylor
LQ Newbie
 
Registered: Sep 2002
Location: Toronto
Distribution: RHEL WS 3
Posts: 15

Rep: Reputation: 0
Black,

Put the statement

(global-font-lock-mode t)

in your .emacs file in your home directory.

cheers,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs Syntax highlight UltraSoul Linux - Software 1 07-11-2005 09:19 AM
Emacs - How do I make \section{}s big? f0rmula Linux - Software 2 01-21-2005 08:59 AM
how to make 'pdflatex' work in my emacs 'auctex-mode' HoreC Linux - Software 2 12-19-2004 02:33 PM
How to open or make a .php file in emacs?? eye Linux - Software 1 12-02-2003 12:19 AM
.emacs make-backup-files nil doesn't work eliotstock Linux - Software 0 05-02-2003 06:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration