[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
buffer-face-set changes the fringe, is it a bug?
From: |
Gregory Heytings |
Subject: |
buffer-face-set changes the fringe, is it a bug? |
Date: |
Sun, 5 Jul 2020 10:56:00 +0200 (CEST) |
User-agent: |
Alpine 2.21 (NEB 202 2017-01-01) |
Hi list,
Is the following behavior expected, or is it a bug?
(set-face-attribute 'fringe nil :background "red")
(let ((o (make-overlay 0 1)) (s "_"))
(put-text-property 0 1 'display '(left-fringe question-mark) s)
(overlay-put o 'after-string s))
This puts a question mark in the left fringe. At least on Emacs 26.3
(started with emacs -Q), after:
(buffer-face-set '(:background "yellow"))
the background of the buffer *and* the question mark in the fringe become
yellow. I would have expected that the background of the question mark
would still be red.
Gregory
- buffer-face-set changes the fringe, is it a bug?,
Gregory Heytings <=
- Re: buffer-face-set changes the fringe, is it a bug?, Eli Zaretskii, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Gregory Heytings, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Eli Zaretskii, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Gregory Heytings, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Eli Zaretskii, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Gregory Heytings, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Eli Zaretskii, 2020/07/05
- Re: buffer-face-set changes the fringe, is it a bug?, Gregory Heytings, 2020/07/06
- Re: buffer-face-set changes the fringe, is it a bug?, Eli Zaretskii, 2020/07/06
- Re: buffer-face-set changes the fringe, is it a bug?, Gregory Heytings, 2020/07/06