php-mode-only when there is no closing ?>
Bug #610470 reported by
nurikabe
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
This is actually a feature request.
It would be nice if nxhtml was smart enough to know that a file with an opening "<?php" tag and no corresponding closing "?>" tag was a "pure" PHP file. nxhtml could then layout the page using php-mode exclusively.
Not sure if this would be applicable to other languages.
To post a comment you must log in.
Hi nurikabe,
Yes, maybe it would be nice, but it is not easy since the user may type a ?> later and in that case a multi major mode will be needed. That can not be detected using only php-mode.
However what benefit would it be if only php-mode would be used? Maybe something should be changed in mumamo to take care of it.