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

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

bug#61514: 30.0.50; sadistically long xml line hangs emacs


From: Gregory Heytings
Subject: bug#61514: 30.0.50; sadistically long xml line hangs emacs
Date: Mon, 20 Feb 2023 17:34:45 +0000



I simplified it down to:

(with-current-buffer (get-buffer-create "*bug*")
 (erase-buffer)
 (insert (make-string 266666 ?n))
 (goto-char (point-min))
 (looking-at "[[:alpha:]]*=*"))

This fails with 266666, and succeeds with 266665.


Even shorter:

(with-current-buffer (get-buffer-create "*bug*")
  (erase-buffer)
  (insert (make-string 266666 ?x))
  (goto-char (point-min))
  (looking-at "x*=*"))

Again this fails with 266666, and succeeds with 266665.

Likewise:

(with-current-buffer (get-buffer-create "*bug*")
  (erase-buffer)
  (insert (make-string 266666 ?x))
  (insert "=")
  (goto-char (point-min))
  (looking-at "x*=*"))

fails with 266666 and succeeds with 266665.






reply via email to

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