GNU bug report logs -
#1222
overlay display inherits face properties from buffer
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Wed, 22 Oct 2008 01:10:04 UTC
Severity: minor
Tags: notabug
Found in version 23.0.60
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
This issue also affects before- and after-strings, albeit in slightly
different ways:
Example:
(let ((buff (generate-new-buffer "overlay test"))
o)
(with-current-buffer buff
(insert (propertize "text" 'face '(:background "red")))
(setq o (make-overlay (point-min) (point-max)))
(overlay-put o 'display "display")
(overlay-put o 'before-string "before-string")
(overlay-put o 'after-string "after-string")
(insert (propertize "more" 'face '(:background "green")))
(pop-to-buffer buff)))
"before-string" and "display" have a red background, "after-string"
has a green background.
Ideally, face properties should not be inherited from the buffer in
this way.
This bug report was last modified 5 years and 294 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.