[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37774: 27.0.50; new :extend attribute broke visuals of all themes an
From: |
Jonas Bernoulli |
Subject: |
bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages |
Date: |
Wed, 06 Nov 2019 17:26:12 +0100 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
Eli Zaretskii <eliz@gnu.org> writes:
> Is there an easier way of reproducing this than installing Magit and
> actually using it? Could you perhaps come up with a much simpler
> recipe that just defines a face like Magit does?
Sorry for the delay. I have finally reproduced some of the unexpected
behavior without using Magit.
Yank the following in some buffer like *scratch*.
------
(defface testing '((t (:background "LightYellow"))) "DOC")
(overlay-put (make-overlay (point-min) (point-max) nil t)
'face ; or 'font-lock-face
'testing)
(remove-overlays (point-min) (point-max))
(put-text-property (point-min) (point-max) 'font-lock-face 'testing)
------
Evaluate just the first two forms and notice that the `testing' face is
used beyond eol. At that point I assummed I had narrowed down the issue
to overlays, but then I evaluated the next two forms and that resulted
in the same issue (the comment and strings used different faces, but
that is due to font-lock using two fontification phases I believe).
I have not yet looked into why Magit's diff faces extend beyond eol even
though I didn't tell them too, but the above is so surprising to me that
I will wait to hear back from you about that first before investigating
any further.
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages,
Jonas Bernoulli <=
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, martin rudalics, 2019/11/06
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Eli Zaretskii, 2019/11/07
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Ergus, 2019/11/07
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, martin rudalics, 2019/11/07
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Ergus, 2019/11/07
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, martin rudalics, 2019/11/08
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Eli Zaretskii, 2019/11/08
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, martin rudalics, 2019/11/08
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Eli Zaretskii, 2019/11/08
- bug#37774: 27.0.50; new :extend attribute broke visuals of all themes and other packages, Ergus, 2019/11/08