← Back to team overview

nxhtml team mailing list archive

[Question #223727]: how can I make <? always trigger php-mode

 

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

when I have code now like:

<?require_once("setup.inc");  ...


<?if($a)...

<?foreach...


the sequences like "<?r" and "<?i" and "<?f" trigger a "bad mode".
I've tried a bit to mod the local .el files to make "<?f" and similar explicit triples of chars trigger php-mode, but not able to get working so far.

Is there a suggested way to do that -- or even more generally any "<?" triggers php-mode (sufficient for our setup)

thanks for any help/pointers/RTFMs!  8-)

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