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

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

bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is ins


From: E Sabof
Subject: bug#14582: 24.3.50.1; Strange overlay behavior, when window-start is inside an overlay.
Date: Sun, 9 Jun 2013 10:13:09 +0100

Evaluate in emacs -Q

(let (pt pt2 ws ov)
  (insert "Lorem ipsum dolor sit amet.")
  (setq pt (point))
  (insert "Consectetuer adipiscing elit." "\n")
  (setq ws (point))
  (insert "Phasellus lacus." "\n")
  (insert "Cum sociis natoque penatibus et magnis dis.")
  (setq pt2 (point))
  (insert "\n")
  (insert "Parturient montes, nascetur ridiculus mus." "\n")
  (insert "Nullam eu ante vel est convallis dignissim." "\n")
  (set-window-start nil ws)
  (setq ov (make-overlay pt pt2))
  (overlay-put ov 'display "..."))

It will appear as though the overlay is at the beginning of the line, even though it's not.

Evgeni

reply via email to

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