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

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

Re: Display problems with overlays (on w32 only?)


From: Glenn Morris
Subject: Re: Display problems with overlays (on w32 only?)
Date: Mon, 23 Apr 2007 03:55:21 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

"Lennart Borgman (gmail)" wrote:

> In the attached images I have one overlay one character long that has a 
> red underline.
[...]
> In the second picture I have added another overlay, with a slightly blue 
> background. This overlay is 10 characters long and includes a new line. 
> The first overlay with the red underline is still just one character 
> long, but the red underline now displays in the whole range of the 
> second overlay. (The two oeverlays starts at the same character.)

Yes, but what shade of blue?

emacs -q --no-site-file

Press [RET] on "i" in "This buffer is for..."

At end of buffer, evaluate this:

(setq o1 (make-overlay 1 2))
(overlay-put o1 'face '(:underline t :foreground "red"))
(setq o2 (make-overlay 1 10))
(overlay-put o2 'face '(:background "green"))

Works as it should for me. This is on GNU/Linux.





reply via email to

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