backward-delete-char/backward-kill-word in Genshi mode hangs Emacs

Bug #573458 reported by Jimmy Yuen Ho Wong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nXhtml
Fix Committed
Critical
Unassigned

Bug Description

Test case:

<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/">
  <head>
    <meta py:match="head/meta[@name!='Content-Type']" />
    <title>Title</title>
  </head>
  <body>
  </body>
</html>

Now move point to the ' behind Content-Type and try to backward kill word. Emacs 23 Cocoa trunk hangs.

Changed in nxhtml:
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks for the bug report Jimmy!

However I can't reproduce this. Can you reproduce this in an Emacs with just nXhtml loaded? If you are in a buffer containing a file with the above example you can do

  M-: (emacs-Q-nxhtml (buffer-file-name))

Revision history for this message
lborgman (lennart-borgman) wrote :

Now I found a way to reproduce it. It is deleting the character ' after Content-Type that makes it happen.

Revision history for this message
lborgman (lennart-borgman) wrote :

I have just uploaded a new beta 2.09 with a workaround. You can use this if you want to edit, but I will have to fix the bug in a better way later when I have time.

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi Jimmy,

I think there is a reasonable fix now. Could you please test the new beta 2.09?

Revision history for this message
lborgman (lennart-borgman) wrote :

Hi Jimmy, I am going to release version 2.09 now. Have you seen any more problems or is this gone now?

Revision history for this message
lborgman (lennart-borgman) wrote :

I am closing this since I can't reproduce it any more and have no other information.

Changed in nxhtml:
status: In Progress → Fix Committed
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.