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
Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):
Package: emacs
Version: 23.0.60
Severity: minor
This bug is extracted from #1176, which contained several issues.
The display property of an overlay inherits face properties from the
following buffer text. The workaround is to fully specify the face
properties of the display text.
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 'display (propertize "display" 'face 'default))
(pop-to-buffer buff)))
"display" has a red background. The commented out part shows the
workaround.
This bug report was last modified 5 years and 238 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.