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

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

Wrong display and hang with zero-length overlay display string


From: Ralf Angeli
Subject: Wrong display and hang with zero-length overlay display string
Date: Thu, 09 Jun 2005 00:52:54 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On MS Windows the following code will generate a buffer which displays
"aaa" and after that a lot of whitespace.  If you scroll around a bit
Emacs will hang with 100% CPU usage.  Typing `C-g' does not help.

(progn
  (pop-to-buffer (get-buffer-create "*test*"))
  (insert "aaa\nbbb\nccc\n")
  (let ((ov (make-overlay 5 8)))
    (overlay-put ov 'display "")))

On X11 the code works correctly and displays

aaa

ccc

-- 
Ralf





reply via email to

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