LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-23-2004, 02:24 AM   #1
bm1
Member
 
Registered: Nov 2002
Location: NZ
Distribution: freeBSD, slack
Posts: 156

Rep: Reputation: 30
syntax highlighting for php in emacs


i think my heading is self explanatory. and i like emacs
thanks

Last edited by bm1; 01-23-2004 at 02:27 AM.
 
Old 01-23-2004, 11:32 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
from the emacs FAQ at FAQ

Quote:
5.44 How do I turn on syntax highlighting?
==========================================

`font-lock-mode' is the standard way to have Emacs perform syntax
highlighting in the current buffer. With `font-lock-mode' turned on,
different types of text will appear in different colors. For instance,
if you turn on `font-lock-mode' in a programming mode, variables will
appear in one face, keywords in a second, and comments in a third.
...
There's lots to read in that subsection...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Set mode within Emacs, still no syntax highlighting rose_bud4201 Linux - Software 4 07-19-2005 11:20 PM
Emacs, scheme, syntax highlighting, indenting jrdioko Linux - Software 0 07-16-2005 05:13 PM
Syntax Highlighting in Emacs with Lisp question 95se Programming 2 02-25-2005 10:04 PM
emacs color-syntax highlighting with perl SerfurJ Linux - Software 2 09-22-2003 09:40 AM
JSP Syntax highlighting in EMACS glalu Programming 0 05-30-2002 01:57 AM


All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration