From: Qiantan Hong <qthong@stanford.edu>
To: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Change of behavior of "space" display property and face property
Date: Tue, 4 Oct 2022 04:48:25 +0000 [thread overview]
Message-ID: <299CBEC6-C2E3-4CF3-BEAC-37C739D37C6E@stanford.edu> (raw)
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
next reply other threads:[~2022-10-04 4:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 4:48 Qiantan Hong [this message]
2022-10-04 6:34 ` Change of behavior of "space" display property and face property 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
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=299CBEC6-C2E3-4CF3-BEAC-37C739D37C6E@stanford.edu \
--to=qthong@stanford.edu \
--cc=emacs-devel@gnu.org \
/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).