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.bugs Subject: bug#64799: [PATCH] Add 'project-prompt-key' face Date: Fri, 28 Jul 2023 08:51:07 +0300 Message-ID: <833518lh2s.fsf@gnu.org> References: <87zg3nqbuc.fsf@protesilaos.com> <87wmyqhhig.fsf@posteo.net> <874jluspp4.fsf@protesilaos.com> <87sf9ehgoi.fsf@posteo.net> <874jlt7t4f.fsf@protesilaos.com> <0e8dbebf-c0cb-01db-8a01-c7c7a165b826@gutov.dev> <87sf9cmr4x.fsf@posteo.net> <4e277440-3c96-549e-2daf-07ecf6ea9bee@gutov.dev> <87jzun5l9p.fsf@protesilaos.com> <83wmynnd1e.fsf@gnu.org> <11d47a2d-c068-b40f-ad86-6025201e8484@gutov.dev> <83tttpncrp.fsf@gnu.org> <467660c0-8d69-1273-3fba-5474fec546a3@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29456"; mail-complaints-to="usenet@ciao.gmane.io" Cc: info@protesilaos.com, 64799@debbugs.gnu.org, philipk@posteo.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 28 08:03:49 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qPGZo-0007LD-8L for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jul 2023 08:03:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPGNf-0005dp-I9; Fri, 28 Jul 2023 01:51:18 -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 1qPGNU-0005bn-Hw for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 01:51:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPGNS-0004PY-Fy for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 01:51:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPGNS-0005Zu-8A for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jul 2023 05:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64799-submit@debbugs.gnu.org id=B64799.169052342821403 (code B ref 64799); Fri, 28 Jul 2023 05:51:02 +0000 Original-Received: (at 64799) by debbugs.gnu.org; 28 Jul 2023 05:50:28 +0000 Original-Received: from localhost ([127.0.0.1]:43502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPGMt-0005Z8-R4 for submit@debbugs.gnu.org; Fri, 28 Jul 2023 01:50:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPGMr-0005Yv-Au for 64799@debbugs.gnu.org; Fri, 28 Jul 2023 01:50:26 -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 1qPGMk-0004CS-NV; Fri, 28 Jul 2023 01:50: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=D6AXC3jMkTPZ+EdZ5dbJ1SHkoqcCZ1eL+V+J3y4DknM=; b=sX71RV8oIkH6 4iSux49kWZ5vR84r7uJ0UYKl/eKVq5OsEgHlMGX7nozrY0b/Eu5JQOESdGrA55/0LS8PDEcCrc9YK ExS7IYj/3mLPQa1CUb2DRJMOemSWp4fOcxbujkjEUyxdQiQ0aD6U1EFy4yK4CwZ33paPWfapZE2BN fmPdQfrpthJM+XKG90/vNN9X9Of7FRpUnWqAKlFEUDTSzmV7kWEvcMxOX9SXK1WPI4Mi+pOh8jscx wQ5JTm4XkWctH5CrwnV3jpS1d5LwOPEKWN6M0ib5yMb9IDBbyZPzz2cDArfqp2brnXPCe1xZfgxgg F83Ghbuy9WVDt3SEMAcjKQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qPGMg-0005bW-F5; Fri, 28 Jul 2023 01:50:18 -0400 In-Reply-To: <467660c0-8d69-1273-3fba-5474fec546a3@gutov.dev> (message from Dmitry Gutov on Fri, 28 Jul 2023 03:56:56 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266228 Archived-At: > Date: Fri, 28 Jul 2023 03:56:56 +0300 > Cc: info@protesilaos.com, philipk@posteo.net, 64799@debbugs.gnu.org > From: Dmitry Gutov > > On 27/07/2023 08:28, Eli Zaretskii wrote: > >> Date: Thu, 27 Jul 2023 04:01:17 +0300 > >> Cc:philipk@posteo.net,64799@debbugs.gnu.org > >> From: Dmitry Gutov > >> > >> On 26/07/2023 14:10, Eli Zaretskii wrote: > >>> Beware: the 'bold' face changes the metrics of the font glyphs (wrt > >>> the 'medium' variant), and at least with some fonts could cause a > >>> small 1- or 2-pixel vertical resize of the mini-window, which is > >>> generally distracting and even annoying. > >> Only non-monospaced font, though, right? Or ones without a 'bold' variant. > > No, not only those. I'm talking about the_vertical_ metrics, so > > whether the font is monospaced is not relevant. Try marking files for > > deletion in Dired, and you will see that, at least with some fonts and > > some sizes. Here on MS-Windows the default face's font (Courier New) > > does that, for some sizes of the font. I have customized > > eldoc-highlight-function-argument to use 'underline' instead of 'bold' > > for that very reason. > > Good to know. That does sound problematic (e.g. when used with Eldoc, > contributing to extra jumpiness). > > FWIW, I haven't been able to reproduce this here on GNU/Linux with > several sizes of Courier New that I tried. It could be a bug in the fonts on my system, for all I know. AFAIK, Courier New was modified significantly in recent versions of Windows, so maybe they fixed this.