LinuxQuestions.org
Visit Jeremy's Blog.
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, 01: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 01:27 AM.
 
Old 01-23-2004, 10: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...
 
Old 04-15-2017, 04:29 AM   #3
suraj.4dec
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.

https://www.youtube.com/watch?v=YtU-YnUscpU
 
  


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

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

All times are GMT -5. The time now is 12:28 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