loading nxhtml prevents javascript-mode syntax highlighting in files with a .php extension

Bug #724858 reported by Ranko Radonić on 2011-02-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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.

Ranko Radonić (ranko-radonic) wrote :
lborgman (lennart-borgman) wrote :

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.

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
lborgman (lennart-borgman) wrote :

Hi Ranko, have you tried to reproduce it with the latest beta 2.09 of nXhtml?

Yeah, I'm still getting the problem.

I used

On 03/11/2011 10:19 PM, lborgman wrote:
> Hi Ranko, have you tried to reproduce it with the latest beta 2.09 of
> nXhtml?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments