[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change of behavior of "space" display property and face property
From: |
Qiantan Hong |
Subject: |
Re: Change of behavior of "space" display property and face property |
Date: |
Tue, 4 Oct 2022 15:37:46 +0000 |
I’m on NS. I just git pull’ed and the problem persist.
Emacs version:
GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.5.0, NS appkit-2113.50
Version 12.4 (Build 21F79))
of 2022-10-04
System version: macOS 12.4 (21F79)
Best,
Qiantan
> On Oct 3, 2022, at 11:34 PM, Po Lu <luangruo@yahoo.com> wrote:
>
> 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.