Internal nXML mode error in nxml-after-change (Wrong type argument: number-or-marker-p, nil), degrading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Released
|
Medium
|
lborgman |
Bug Description
Hello,
I've been having difficulties with nxhtml-mode for many versions now, in mumamo-editing. If I open a standard and valid xhtml-document and insert:
<script type="text/
</script>
it all initially looks OK, and Javascript-mode is enabled for the region. However, as soon as I press TAB (ident), I get an nxml error message telling me it has switched to degraded mode, and the syntax highlighting goes all wrong.
I tried upgrading to Emacs 22.2 (normally used Emacs 22.1 from Ubuntu Hardy repo), but that did not help. I've attached the output of the nxhtml bug report function.
nXhtml version 1.42, GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-08-15 on blackelf, modified by Ubuntu
Major mode: nXML/degraded
Minor modes in effect:
moz-minor-mode: t
mlinks-mode: t
which-
show-paren-mode: t
iswitchb-mode: t
auto-
delete-
shell-
nxhtml-
nxhtml-
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-
global-
font-lock-mode: t
unify-
utf-translate
auto-
column-
line-number-mode: t
transient-
Recent messages:
Using schema /usr/share/
Loading /home/oyvind/
Loading /home/oyvind/
subst.major=
Internal nXML mode error in nxml-after-change (Wrong type argument: number-or-marker-p, nil), degrading
Auto-saving...
nXhtml mode version 1.42
Making completion list... [2 times]
Quit
Loading /home/oyvind/
Thanks for the report Öyvind. It was very good also that you attached the normal data from the nxthml-report-bug command.
Unfortunately I can not reproduce this. Can you please do the same thing as you did, starting in a fresh Emacs where only nXhtml have been loaded:
M-x emacs-Q-nxhtml
and tell me precisely which steps are needed to reproduce the problem?