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: prettify-symbols-mode, derived modes, and compose-region Date: Fri, 05 Mar 2021 09:25:23 +0200 Message-ID: <837dmmysd8.fsf@gnu.org> References: <83k0qmzit9.fsf@gnu.org> <587ee071-985b-450a-2df7-0b4bb0f97b48@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4182"; mail-complaints-to="usenet@ciao.gmane.io" Cc: d.williams@posteo.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 05 08:26:35 2021 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 1lI4r5-0000z9-Cm for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Mar 2021 08:26:35 +0100 Original-Received: from localhost ([::1]:60228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lI4r4-0002RN-G9 for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Mar 2021 02:26:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lI4qC-0001yZ-9C for emacs-devel@gnu.org; Fri, 05 Mar 2021 02:25:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53014) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lI4qB-0007gQ-Cm; Fri, 05 Mar 2021 02:25:39 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lI4qA-0008W3-FO; Fri, 05 Mar 2021 02:25:39 -0500 In-Reply-To: (message from Stefan Kangas on Thu, 4 Mar 2021 19:20:22 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:266013 Archived-At: > From: Stefan Kangas > Date: Thu, 4 Mar 2021 19:20:22 -0800 > Cc: Eli Zaretskii , emacs-devel@gnu.org > > Stefan Monnier writes: > > > You should definitely try, but I suspect it's not going to work > > well: [...] > > Another thing to be aware of is that the :align-to doesn't adjust when > you change the font size with `text-scale-adjust'. I think it should adjust if you specify the value in columns, not in pixels. You can also specify the width of the whitespace stretch in 'width' units, which stands for the canonical width of the current face (assuming that the current face is itself affected by text-scale-adjust).