Evaluating the following form will create two adjacent overlays and
point will be stuck at the top of the buffer (at least visually; there
still is feedback, e.g. beeping, if you hold `C-n' long enough and hit
the bottom of the buffer).
(progn
(pop-to-buffer (get-buffer-create "*foo*"))
(insert "text\ntext\ntext\ntext\n")
(goto-char (point-min))
(add-to-invisibility-spec '(outline . t))
(let ((ov (make-overlay (line-beginning-position 2)
(line-beginning-position 3))))
(overlay-put ov 'display "xxx"))
(let ((ov (make-overlay (line-beginning-position 3)
(line-end-position 3))))
(overlay-put ov 'invisible 'outline)))
Such a constellation of overlays may occur if the folding feature of
AUCTeX is used in conjunction with Outline Minor mode.
Point does not get stuck in Emacs 21.4.
--
Ralf
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug