all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Change of behavior of "space" display property and face property
@ 2022-10-04  4:48 Qiantan Hong
  2022-10-04  6:34 ` Po Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Qiantan Hong @ 2022-10-04  4:48 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-05  0:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-10-05  0:25     ` Po Lu

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.