Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-23-2004, 01:24 AM   #1
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

Last edited by bm1; 01-23-2004 at 01:27 AM.
Old 01-23-2004, 10:32 PM   #2
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

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...
Old 04-15-2017, 04:29 AM   #3
LQ Newbie
Registered: Apr 2017
Posts: 2

Rep: Reputation: Disabled
I have added the php syntax highlighting by this way.

here, i adding a link to the youtube video in which u will know how to add php syntax highlighting. Though i m now looking for jsp.


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

All times are GMT -5. The time now is 12:22 PM.

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