Error fontifying JavaScript tag inside ASP JScript string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
New
|
Undecided
|
Unassigned |
Bug Description
I upgraded my copy of nXhtml from 2.07 to the current bzr version. I'm using nXhtml to edit ASP JScript (yeah, yeah) and I now get an error when attempting to open a file with the following contents:
<% "<script language=
(of course, the original problem happened on a much larger file :-)
The error is:
mumamo-
** In buffer broken.asp
backtrace()
mumamo-
byte-
mumamo-
font-
run-hook-
byte-
jit-lock-
jit-lock-
mumamo-
Afterwards the cursor gets stuck after the ">".
I have tested with stock Emacs (23.2 and 23.3) just running nXhtml and nothing more.
I cannot run M-x nxhtml-report-bug because I get "Symbol's function definition is void: recentf-save-list" when I run emacs-Q-nxhtml.
Thanks.
This still happens with the current nXhtml and Emacs 24.0.94.1. I found a workaround, which may not be the cleanest thing, but it seems to work OK. Patch is attached.