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: min-width display property, but with padding at the start Date: Tue, 20 Aug 2024 21:23:15 +0300 Message-ID: <86y14ruk8c.fsf@gnu.org> References: <86ikvvwgjs.fsf@gnu.org> <867ccbwcgf.fsf@gnu.org> <877ccbcmuu.fsf@localhost> <861q2jw9r1.fsf@gnu.org> <874j7fclfw.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3996"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 20 20:24:10 2024 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 1sgTWc-0000rh-H6 for ged-emacs-devel@m.gmane-mx.org; Tue, 20 Aug 2024 20:24:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgTVp-0003Ma-Ok; Tue, 20 Aug 2024 14:23:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgTVo-0003MR-Fm for emacs-devel@gnu.org; Tue, 20 Aug 2024 14:23:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgTVn-0000iC-8E; Tue, 20 Aug 2024 14:23:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1/W7YRcvB2eIC7wTCik4/RXWBDBzl1fr48I0iN2FEzM=; b=WCcHv9qheu5x 9xjoiXGX38ncRahdpT/Ozjo4Ml9NZ8NQjwRtWf3SzwQdFHrvhGg5HNd3rvPnR+6iDHVaPJwW6UFLj 7Ak5TmDaQuGjGNoOOXTTpRAxGaxn4boerVKLYfukKEWuUIimWuHmBShO6Q+vyd1JS2VSxwoQkoYeF dVfLPkpLYxvEQVERHz6u2+I5ft3/LU9LIXgDvFBYkEdl+iZtmaOZesxGMHtMmJVGl5erHt9AzpPmA zunxMOUCcmMBDr1Q7un4L+ZBRoUl5mwUwg3mc9UVx4P4+ZH8TsvugOjDC9GTzLbicv1d9lXsxQEtK dl9HNYh/ZmEY9MbtXPDvOg==; In-Reply-To: <874j7fclfw.fsf@localhost> (message from Ihor Radchenko on Tue, 20 Aug 2024 14:34:27 +0000) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322976 Archived-At: > From: Ihor Radchenko > Cc: sbaugh@janestreet.com, emacs-devel@gnu.org > Date: Tue, 20 Aug 2024 14:34:27 +0000 > > Eli Zaretskii writes: > > >> > Are there many people who use variable-pitch fonts on the mode line? > >> > >> I think that it is fairly common to use various Unicode symbols or > >> emojis that may come from different fonts that may or may not have the > >> same symbol width (even if each single font is monospaced). > > > > Spencer's problem was not with such symbols. > > Yes, of course. But the topic is more broad. No, it isn't, not AFAIU. Spencer wanted to pad dynamically-generated strings, so fixed symbols are not very relevant. > I do not think that the proposed min-width property is something that is > inherently limited to using on numbers. Numbers are usually padded on the left, unlike strings.