unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>
Cc: qthong@stanford.edu, emacs-devel@gnu.org
Subject: Re: Change of behavior of "space" display property and face property
Date: Tue, 04 Oct 2022 10:48:39 +0300	[thread overview]
Message-ID: <83edvovxk8.fsf@gnu.org> (raw)
In-Reply-To: <87lepwyu4r.fsf@yahoo.com> (message from Po Lu on Tue, 04 Oct 2022 14:34:28 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Tue, 04 Oct 2022 14:34:28 +0800
> 
> 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 cannot reproduce this here, on MS-Windows.  The recipe produces the
same display for me in both Emacs 28 and Emacs 29.  So if this is
reproducible on some system, it is most probably a bug in the
terminal-specific display backend.




  reply	other threads:[~2022-10-04  7:48 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 [this message]
2022-10-04  8:30     ` Po Lu
2022-10-04  8:35     ` Visuwesh
2022-10-04 15:37   ` Qiantan Hong
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=83edvovxk8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=qthong@stanford.edu \
    /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).