unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Qiantan Hong <qthong@stanford.edu>
To: Po Lu <luangruo@yahoo.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Change of behavior of "space" display property and face property
Date: Tue, 4 Oct 2022 15:37:46 +0000	[thread overview]
Message-ID: <B9023C13-C2CB-4C7D-8336-135CD3581A7E@stanford.edu> (raw)
In-Reply-To: <87lepwyu4r.fsf@yahoo.com>

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.


  parent reply	other threads:[~2022-10-04 15:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-04  4:48 Change of behavior of "space" display property and face property Qiantan Hong
2022-10-04  6:34 ` Po Lu
2022-10-04  7:48   ` Eli Zaretskii
2022-10-04  8:30     ` Po Lu
2022-10-04  8:35     ` Visuwesh
2022-10-04 15:37   ` Qiantan Hong [this message]
2022-10-05  0:25     ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B9023C13-C2CB-4C7D-8336-135CD3581A7E@stanford.edu \
    --to=qthong@stanford.edu \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).