|
From: | Lennart Borgman (gmail) |
Subject: | Re: Display problems with overlays (on w32 only?) |
Date: | Mon, 23 Apr 2007 19:00:17 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 |
Chong Yidong wrote:
"Lennart Borgman (gmail)" <address@hidden> writes:In the attached images I have one overlay one character long that has a red underline.In the code you provide, the overlay is two characters long, not one. If you make the overlay span 3 to 4, everything works fine.
Ah, yes, but that was just to show that it is not necessary that it is one character long. (When I reported it first that was all I knew. I thought it was best to do it as quickly as possible.)
Sorry for beeing unclear.
(defun test-me() (interactive) (let ((buf (get-buffer-create "*OVERLAY Error*"))) (switch-to-buffer-other-window buf) (with-current-buffer buf (erase-buffer) (insert "123\n\n 890") (if o1 (move-overlay o1 3 5) (setq o1 (make-overlay 3 5))) (overlay-put o1 'face '(:underline "red")) (if o2 (move-overlay o2 3 9) (setq o2 (make-overlay 4 9))) (overlay-put o2 'face '(:background "#ffff77")) (other-window -1) )))_______________________________________________ emacs-pretest-bug mailing list address@hidden http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
[Prev in Thread] | Current Thread | [Next in Thread] |