From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= Newsgroups: gmane.emacs.devel Subject: Re: Proportional fonts in the mode line (one month test) Date: Fri, 26 Nov 2021 00:04:46 +0100 Message-ID: <87k0gvon01.fsf@gmail.com> References: <87h7c1u0cg.fsf@gnus.org> <87fsrl2ilj.fsf@yahoo.com> <87bl292hlu.fsf@yahoo.com> <87mtlse52y.fsf@gnus.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="32071"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , Lars Ingebrigtsen , emacs-devel@gnu.org To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 26 00:05:40 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 1mqNoC-0008B6-26 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 00:05:40 +0100 Original-Received: from localhost ([::1]:38188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqNoA-0001eL-T1 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 18:05:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqNnP-0000xY-B5 for emacs-devel@gnu.org; Thu, 25 Nov 2021 18:04:51 -0500 Original-Received: from [2a00:1450:4864:20::434] (port=44012 helo=mail-wr1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqNnN-0008EK-Rj for emacs-devel@gnu.org; Thu, 25 Nov 2021 18:04:51 -0500 Original-Received: by mail-wr1-x434.google.com with SMTP id v11so14617601wrw.10 for ; Thu, 25 Nov 2021 15:04:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Bg1ZiuObRDxoBgPyxd1ZGVI359f/r97dcdDux+SYXrA=; b=KsODhbmYH4SnFoTRdoqKvRWW6h6/CZvMJQAIs7t9FhIFjqqOyAUzmKDOHGaX/WQbW9 YAGZkWmAl3sqFkV9a2TFIk42EiV0LNzfLno+/R2WlgPO3E4xTpl4axVmy046PYtjw/z5 71J0Asrfhm/md9hZgYgEdOcXg23mugje0VXmG7FURsQWpUHwADXnMT5odh6/+rjWLUDO 7TD9o0kyirvewB9RhdQO5CZBQANZFZJLMCOMjykAJr2PVpl7jizUhMIWlrZFoSeNr7oX vwc6BsrVfUKXUec0Qgs0EDCDang9jVymhamt+S0j8BdFgNXzGDw6HAZ3ZcYGpesd7fgg 21RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Bg1ZiuObRDxoBgPyxd1ZGVI359f/r97dcdDux+SYXrA=; b=TgmjKgTpUQQUrcHYO/+mEqzbaZsf0pSAJEcvmhfFBDFXoSedTOn+9iANwg3R9b0Ucr VoIOjyC2tSCY3ivuDHtRpc5lsFNMFUcel40S00oOim88LGS0eN88xLNYfx0zOkpqYQ9T kE7MBszDwdc4RJN20YZh76Dl/o0ZRUgdjBi/Bdnd7ZfDNef2wOEIS8Qm0Cz5KdmGdxBm HUtcZVeNbQ/mAwwC4kQ6fvXIyXKjbBw1BrPyVzldyVsR9NdYiPHbckEZavpiy9DuAfVr gaB1ThEXxy0BMx2+oXeW9cmAHfJc9CilhSXdt1CHpfkUYBnFPBxMbJOnhMWSxecwCot0 lyDg== X-Gm-Message-State: AOAM530mc330LGgPudHy5LvopZ5ZWceBNd37IqPT1tAIiET3Mn/w6ufX fQpM6n8emUphIacq1vFic8IeF/8kxV8= X-Google-Smtp-Source: ABdhPJwUm+a8Ony7oZzOIeGHrQ1XJEJk2N/Q6/+7uzSS8LEQgEfrgt2ydSSUazdATiNcpoMBIWUjjw== X-Received: by 2002:adf:9bca:: with SMTP id e10mr10393966wrc.490.1637881487534; Thu, 25 Nov 2021 15:04:47 -0800 (PST) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id n1sm4943337wmq.6.2021.11.25.15.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 15:04:46 -0800 (PST) In-Reply-To: (Jim Porter's message of "Thu, 25 Nov 2021 11:41:44 -0800") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::434 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:280183 Archived-At: Jim Porter writes: > On 11/25/2021 5:29 AM, Lars Ingebrigtsen wrote: >> Jim Porter writes: >>=20 >>> Yeah, if nothing else, the U:--- thing (I'm sure it has an actual >>> name...) should be fixed-width. See the attached image for how tiny >>> the CR/LF toggle is now. It's highlighted with the box just after the >>> U. >> Yes, that should be fixed. Hm... We could use m-dashes instead of >> hyphens, I guess? It'd be more work to have a different definition on >> GUI and TUI, though. > > That might help, but is there also a "wide colon" character we could > use for the CR/LF indicator? I'm sure this is a silly idea, but=E2=80=A6 Would it be possible to double down on the min-width specs, i.e. set the min-width of each individual piece of "the U:---" thing to something large enough to be clickable, despite the indicator char being narrow? I'm not sure (1) this is possible (can the clickable area cover the whole width given by min-width, or can it only be as wide as the underlying char?) (2) this is desirable (this would effectively pad variable-width characters to display them at a fixed width=E2=80=A6 but at = least we wouldn't mix fonts?) (3) this is advisable (something something performance?)=E2=80=A6 (I tried messing around with e.g. mode-line-mule-info to make a POC of this, to no avail; not sure if this means it's not possible or I should get some sleep. I'll test the latter hypothesis first)