From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.devel Subject: Re: Change of behavior of "space" display property and face property Date: Tue, 04 Oct 2022 14:05:01 +0530 Message-ID: <87edvot2a2.fsf@gmail.com> References: <299CBEC6-C2E3-4CF3-BEAC-37C739D37C6E@stanford.edu> <87lepwyu4r.fsf@yahoo.com> <83edvovxk8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4235"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Po Lu , qthong@stanford.edu, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 11:28:44 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 1ofeEG-0000ue-6n for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 11:28:44 +0200 Original-Received: from localhost ([::1]:47958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofeEF-00029M-3x for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 05:28:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofdOc-0002Er-KA for emacs-devel@gnu.org; Tue, 04 Oct 2022 04:35:22 -0400 Original-Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:52845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofdOa-0008Oy-W6; Tue, 04 Oct 2022 04:35:22 -0400 Original-Received: by mail-pj1-x1044.google.com with SMTP id l12so12111292pjh.2; Tue, 04 Oct 2022 01:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=ILo0Ur86YG7UzpH29pVL1YD6be2KiLeaEHb6s1C0iHc=; b=PTbuZJFpUN/azDqKILlh5lCdjZfiVRtzkJ6D5mgOWR7NHdKd3Mt3gs9MPe0uVqq1QE iParQOVVC2oUwn0rOavgWTE4MCeT2m2fnnHCji0twQ/mz7nVvByNdNwZ3u2EwB8oYtTK +F1gMDFRRlYeKJzUHlKdylUcXJOQdmL7Qqyu71SbbVzCqfPWNicBBEnL6ocZEu87uZFo FEjmwE8mz96nYy12uMgXSlisRl61iN1RwpNXuEZ++ZBU4DIrBPJlzwBvjpxfuHy+kQBo mvsa6OzE/nALtRYiHSoa1j+5WYSG1IyDxSEm++zUxJ188Y/0SO0LeemPHW2e0MX5ZmIg 0hvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=ILo0Ur86YG7UzpH29pVL1YD6be2KiLeaEHb6s1C0iHc=; b=yJn5yIx7lgc7eBNPVK40Kiua1CHbIXUQAN4qwG9Ld6NEw30+AEdiQcsUAiboAUqMGa l2aGBK9sJ6RKCvsth3Ha8svAqPrp0anscXzb3DW0CHIi/gIWTQOV2yi4h1q3B15R8fcL agbPuzxBuu5lwM3L8y8PKT7TwisDESptketmA+sdWqwmZBEVoD34WBBv38j9w5W3hU5I hZRHmZxCy6X1wOmLs3N25Sfoo0Ldc+oERW9aeOfkUo6lvhVUyADltqPcO6bq9ks3Yych p6KBHr5LzHVy33Sa2oikUGhqQJMNZX9o1nJ0vetIMAfa5cmsMNvDhM8Tv0qbX6y2R5k8 PkAg== X-Gm-Message-State: ACrzQf2k3bpaoudPYRaKczSxHCPpzVNac9ss0YaE55+25rtzeXMvUmnq A0jOYQqW8kx6xhhNMMbNwk8jRC+9mrU= X-Google-Smtp-Source: AMsMyM72nGvKmSEea6HKVUn4EnyOgqJcuHcb83Zv53PMpTnTbQnfBPXpiWUfP9nDyTHAMFsNynRwNQ== X-Received: by 2002:a17:902:bd88:b0:17a:b90:bde5 with SMTP id q8-20020a170902bd8800b0017a0b90bde5mr25814642pls.143.1664872518229; Tue, 04 Oct 2022 01:35:18 -0700 (PDT) Original-Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id f184-20020a6251c1000000b00537b6bfab7fsm9027418pfb.177.2022.10.04.01.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 01:35:17 -0700 (PDT) In-Reply-To: <83edvovxk8.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Oct 2022 10:48:39 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::1044; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1044.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 04 Oct 2022 05:26:32 -0400 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:296864 Archived-At: [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=85=E0=AE=95=E0=AF=8D=E0=AE=9F=E0=AF=8B=E0=AE=AA=E0=AE=B0=E0=AF=8D 04= , 2022] Eli Zaretskii wrote: >> From: Po Lu >> Cc: "emacs-devel@gnu.org" >> Date: Tue, 04 Oct 2022 14:34:28 +0800 >>=20 >> Qiantan Hong writes: >>=20 >> > Open an empty text file, M-: (insert #(" " 0 1 (face (:underline t) di= splay (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, = =E2=80=9Cspace=E2=80=9D display=20 >> > seem to disregard any face property. >> > >> > Is this intended or is this a bug? =E2=80=9Cspace=E2=80=9D display res= pecting face property is useful for >> > typesetting. For example. I use it to display a horizontal separator u= nder my header line. >> > >> > Best, >> > Qiantan >>=20 >> 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. Cannot reproduce on Emacs 29 using the Lucid backend, cairo and HarfBuzz ei= ther.