From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Proportional fonts in the mode line (one month test) Date: Thu, 25 Nov 2021 11:41:44 -0800 Message-ID: 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; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33998"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 25 20:49:01 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 1mqKjt-0008j9-CZ for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 20:49:01 +0100 Original-Received: from localhost ([::1]:54294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqKjs-000148-G0 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 14:49:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqKih-0008QX-Uv for emacs-devel@gnu.org; Thu, 25 Nov 2021 14:47:47 -0500 Original-Received: from [2607:f8b0:4864:20::22f] (port=43889 helo=mail-oi1-x22f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqKig-0004HH-G0 for emacs-devel@gnu.org; Thu, 25 Nov 2021 14:47:47 -0500 Original-Received: by mail-oi1-x22f.google.com with SMTP id o4so14468461oia.10 for ; Thu, 25 Nov 2021 11:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=6VcdSG8Ccd23loHGr5XgphbWEp5T4ie2jsHcuTiR6Dg=; b=YFNkaV4fCwJrXCsRbrJjs5nP9lFBSEH/L/It73mB/rosF+jszs+3gDxg8UD84hpJx8 XY59cApCVnBFuQhwJtmZqPW6uJVnC0NZscMA0NuZOP2jF8sbeuEi/v9BGDarD8PGXPqc fglFW1wbmUR6b+K1RyVfkKlWXI6NOTdrvLov8HtZ3H17gQaoqt6IdkW2uO32wZXaQh5O m/kon0UCNU4cig/N7Q8FUMYyyWw3QG9C49MUVHGRd4Wavw01gT1k6u9Zt4BUdxUtvnK2 vz2+F4ZqZIPN1P1/LSmqYz+4pJhK36lCcSO37/kOHHYFsa2vzOBQFnychFWVgs6etVLz KucA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6VcdSG8Ccd23loHGr5XgphbWEp5T4ie2jsHcuTiR6Dg=; b=KFvR32l0g1K9IZam4s7EHRhCVmbUqIGVRu1Tj9J9GQENKi7/fLWzD5BiGg5/A/5LOq fhYdEe9gj6zQYOkrZMzI+brWheCg1vHHA8P6IBTN/chFoaCSzyLBnxm4i1XpXcY3yn9V 5XoECIel5Txu3nVPYB8yVVa2UddXzzf3wCbJ9hmplapZJv0+f5ciq92y62l+JFNRrPS1 7x2JbOkXTPcK7He1xEEIzEZSn++UHB6hZYVNA8Gki4h+m44YOjR3+/mcZ98qx2Ch2noS BYxEGwuDX8SISaOO2AGD18GEdsSYgVT7ZAmN72EbiEDvXlzelWs4+BCZgn63RavW4inH T3Mw== X-Gm-Message-State: AOAM533bgVk9ElckH+1R5xVWCFfLJuXooxggn046OcXEV2hbytw6zggS Gu7s8pK5fJHveYZvjamXRSpOaocB4Wo= X-Google-Smtp-Source: ABdhPJw5wcyIsbxwdrxbnFI3lPIfxo4cL96ZbpitfufFObR3g5FFxKrGfaN1JKnlSFKie2GBlcFFew== X-Received: by 2002:a17:90a:dc15:: with SMTP id i21mr10089124pjv.183.1637869306400; Thu, 25 Nov 2021 11:41:46 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id rm10sm4119724pjb.29.2021.11.25.11.41.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Nov 2021 11:41:45 -0800 (PST) In-Reply-To: <87mtlse52y.fsf@gnus.org> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=jporterbugs@gmail.com; helo=mail-oi1-x22f.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:280179 Archived-At: On 11/25/2021 5:29 AM, Lars Ingebrigtsen wrote: > Jim Porter writes: > >> 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? There's a further problem I've noticed with using variable-width fonts here though: suppose I want to toggle the "buffer modified" state but then change my mind and want to undo it. Normally, I'd just click the second hyphen, and then click again to toggle back to "unmodified". However, with variable-width fonts, the "*" is typically wider than the "-". Depending on the font and where exactly I place my mouse cursor, it's possible for me to click on the second hyphen to set the buffer as modified, which changes the "read only" indicator to a "*" as well, shifting everything to the right slightly so that now, even though my mouse hasn't moved, it's hovering over the "read only" indicator. Thus, I can't just click again to reset to "unmodified". I'd have to move my mouse cursor slightly to the right and *then* click. Even more confusingly, if I don't move the mouse after clicking on the "buffer modified" indicator, Emacs still shows the box around *that* indicator, despite the fact that when I click, it will actually toggle the "read only" indicator. - Jim