[H-GEN] Debian and Emacs

Clinton Roy croy at dstc.edu.au
Mon Aug 18 20:24:05 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Anthony Irwin <anthonyi at toolboxsoftware.com.au> writes:

> Thanks I didn't know there  was a php-elisp package, It installed ok but I
> still don't know how to get the php highlighting in emacs. I assume I still
> need to add lines into the .emacs file which doesn't exist on my system.
>
> Any Suggestions?
When you open up a php file in emacs, does it start using the PHP
mode? (it will appear as "PHP" in the status bar down the bottom).

If that's happening, then a call to M-x font-lock-mode is probably all
you need. 

For your .emacs file, just start with an empty file, and add:

(font-lock-mode)

which should work.

(Caveat, I'm using Xemacs, so things might be slightly different for
vanilla emacs).

hth,
-- 
Clinton Roy
Elvin Software Engineer - elvin.dstc.edu.au
Humbug Vice president   - www.humbug.org.au

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list