nxhtml freezes with single quotes inside double quotes

Bug #806722 reported by Nick White
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nXhtml
New
Undecided
Unassigned

Bug Description

Using nxhtml nxhtml-2.08-100425 with GNU Emacs 23.1.1 on Ubuntu 10.04 (64 bit)

opening this file causes emacs in django-html-mumamo-mode to completely freeze and eat 100% of a cpu:
$ cat test.html
<div onclick="'">

I tried the same file as .php and whatever mumamo mode loaded that has the same problem. Loading in nxhtml-mode or django-mode or php-mode directly seems fine.

That's an unclosed single quote in double quotes. The other way around seems fine. Closing the single quote in vim and reloading the file fixes it as well. But frequently, while filling in a jquery call, the moment I type a single quote inside those double quotes, emacs freezes.

Revision history for this message
Vikrant Varma (vikrant-varma94) wrote :

I'm having the same problem in Emacs 23 with django-html-mumamo-mode. Whenever I have double quotes and I try to insert a single quote in between them, Emacs freezes, eats all the CPU and I have to kill the Emacs process manually.

Specifically, what I wrote was

<small style="color:purple; font-family:' ">

Does anyone know a fix for this?

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.