[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of behavior of "space" display property and face property
From: |
Po Lu |
Subject: |
Re: Change of behavior of "space" display property and face property |
Date: |
Tue, 04 Oct 2022 14:34:28 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Qiantan Hong <qthong@stanford.edu> writes:
> Open an empty text file, M-: (insert #(" " 0 1 (face (:underline t) display
> (space :align-to right))))
>
> On Emacs 28, this produce a blank line with underline.
>
> On Emacs 29, this produce a blank line without underline. In general, “space”
> display
> seem to disregard any face property.
>
> Is this intended or is this a bug? “space” display respecting face property
> is useful for
> typesetting. For example. I use it to display a horizontal separator under my
> header line.
>
> Best,
> Qiantan
That is almost certainly a bug, but I cannot be certain without knowing
what toolkit and window system you built Emacs with.
I remember fixing something similar on the NS build months back.