New question #75032 on nXhtml:
https://answers.launchpad.net/nxhtml/+question/75032

I actually mentioned in passing that I had problems with nXhtml on a comment in 
the TextMate blog and got prompted to explain it more detail, but I figured I 
should do it here rather than commandeer somebody else's blog entry for it. :)

The basic problem is (probably) pretty simple -- I need to get files with 
extension ".ctp" to be recognized as mixed PHP/HTML. They're CakePHP template 
files, but there is no real Cake template language -- they're just PHP files 
using the PHP 'short tag' syntax. I've made quasi-educated guesses on what 
settings to change -- php-file-patterns? mumamo-noweb2-mode-from-ext? Neither 
one seems to work; setting the former puts Emacs only in PHP mode without 
nXhtml coming along for the ride, while setting the latter apparently does 
nothing.

To be honest, I'm not sure which version of nXhtml I have installed, as it came 
with the "Emacs Starter Kit" 
(http://github.com/technomancy/emacs-starter-kit/tree/master), but it seems to 
be a version from December 2008. For the moment I haven't tried to upgrade 
anything in the starter kit because I'm not particularly confident in my 
ability to go mucking about with it.


You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.

_______________________________________________
Mailing list: https://launchpad.net/~nxhtml
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nxhtml
More help   : https://help.launchpad.net/ListHelp

Reply via email to