[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PHP+HTML with mmm-mode
From: |
Hadron |
Subject: |
Re: PHP+HTML with mmm-mode |
Date: |
Mon, 20 Aug 2007 14:11:09 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
ignat.skoryh@gmail.com writes:
> I'm trying to setup my emacs to edit PHP code with mmm-mode. I was
> able to make it switch to different major modes (html and php
> accordingly), but it fails to highlight embedded php code correctly,
> as you can see on the screenshot:
> http://www.javaparts.com/dst/emacs-html-php-mode.png.
> As you can see mmm-mode adds background color around php regions, but
> inside those regions keywords (e.g. if) are not highlighted. What am I
> doing wrong?
I now use nxhtml from Lennart. I still have a few issues with it,
but it works very well and Lennart is always there for support.
http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
ps Why don't you explicitly state the script? e.g
<?php ....?>