From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Change of behavior of "space" display property and face property Date: Tue, 04 Oct 2022 10:48:39 +0300 Message-ID: <83edvovxk8.fsf@gnu.org> References: <299CBEC6-C2E3-4CF3-BEAC-37C739D37C6E@stanford.edu> <87lepwyu4r.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: qthong@stanford.edu, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 10:14:06 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofd41-0008WB-VL for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 10:14:06 +0200 Original-Received: from localhost ([::1]:58208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofd3z-0001aB-Rp for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 04:14:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcfZ-0005od-3z for emacs-devel@gnu.org; Tue, 04 Oct 2022 03:48:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37956) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcfY-0005Cm-D5; Tue, 04 Oct 2022 03:48:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=XAqB/VII4kKIu43v7zNqS61gDKkLQaL0BCpC3kRtVNg=; b=CWIugkKMIQygwUSmyUwV bVW8ZjWGd/Jzx22i5255sHL5/KZqQ1tai78UUWCedSuG9pRFBWwZWe2Kl3Kdg3D2jKU06yV0Jaykx XPW9BdMbUrwwKoJxCg8l3h2/vvt9CQJe+9iIFWwx8579TVaKrfLsv2l0ql1pGyIKSDw129Qvya2Nq 2M+EsrDObFjU5QkwaMKJLC0tCj2ozesBG4/7c8tCTqK9nRvGfQUXDmT+sOwy8vb2y7y96Bnxk6zST rFzMLrOo0Q0gNb4uuEZ0x6+KqR740NOs2Mp7bICIgwSB1BbGGZYIGPtTDu/eZxkHG4azvt4a0dK1U Sufm4krrN32IPw==; Original-Received: from [87.69.77.57] (port=2547 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofcfT-0005k7-JL; Tue, 04 Oct 2022 03:48:46 -0400 In-Reply-To: <87lepwyu4r.fsf@yahoo.com> (message from Po Lu on Tue, 04 Oct 2022 14:34:28 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296852 Archived-At: > From: Po Lu > Cc: "emacs-devel@gnu.org" > Date: Tue, 04 Oct 2022 14:34:28 +0800 > > Qiantan Hong 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.