bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16449: 24.3.50; emacs hangs while deleting comment in xml file with


From: Levin Du
Subject: bug#16449: 24.3.50; emacs hangs while deleting comment in xml file with flyspell-mode on
Date: Fri, 17 Jan 2014 17:29:39 +0800

I trace down to the while loop in nxml-forward-single-balanced-item:

(defun nxml-forward-single-balanced-item ()
  (condition-case err
      (goto-char (let ((end (nxml-token-after)))
  (save-excursion
    (while (eq xmltok-type 'space)
      (goto-char end)
      (setq end (nxml-token-after)))
    (cond ((/= (point) xmltok-start)

In my test xml file, when the last comment char is deleted, `end' will be 65, then (nxml-token-after) also returns 65  , so this is a endless loop. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]