loading nxhtml prevents javascript-mode syntax highlighting in files with a .php extension
Bug #724858 reported by
Ranko Radonić
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
In Progress
|
Medium
|
Unassigned |
Bug Description
i'm using emacs 23.2 and nxhtml from trunk, checked out on 2011-02-24.
i start emacs without nxhtml, open the file i attached with this bug report and it gets loaded in php mode because of the extension. i then switch to javascript-mode, and i get javascript syntax highlighting.
i then load nxhtml, reload the same file, and i get nxhtml mode. i then switch to javascript-mode, but no longer get javascript syntax highlighting. emacs does enter javascript mode, but the highlighting seems to be the same as fundamental-mode.
if there's any more info i can provide, let me know.
To post a comment you must log in.
Thanks for the bug report Ranko. I can't reproduce it with the current beta 2.09. Could you please do these two things:
1) Start from "emacs -Q" and try to reproduce the problem.
2) If you can reproduce it please try the latest beta 2.09 of nXhtml and see if you still can reproduce it.