From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 84bf954 2/2: Use a proportional font for the mode line Date: Thu, 25 Nov 2021 18:58:41 +0100 Message-ID: <8735nk5d7y.fsf@gmail.com> References: <20211124134823.8483.27841@vcs0.savannah.gnu.org> <20211124134825.75B422094B@vcs0.savannah.gnu.org> <87ilwg5fbq.fsf@gmail.com> <87fsrkb0cn.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="38238"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 18:59:59 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 1mqJ2N-0009k0-0q for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 18:59:59 +0100 Original-Received: from localhost ([::1]:55784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqJ2L-0005Jr-Ux for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Nov 2021 12:59:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqJ1G-00040L-ON for emacs-devel@gnu.org; Thu, 25 Nov 2021 12:58:50 -0500 Original-Received: from [2a00:1450:4864:20::432] (port=43699 helo=mail-wr1-x432.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqJ1F-0003dy-Cr for emacs-devel@gnu.org; Thu, 25 Nov 2021 12:58:50 -0500 Original-Received: by mail-wr1-x432.google.com with SMTP id v11so13308930wrw.10 for ; Thu, 25 Nov 2021 09:58:44 -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 :mime-version:content-transfer-encoding; bh=CQ5P2zPcY+msOo1rZHQoKYqD9sgu7jFxl3c3taG3Py8=; b=FsbGmCSy960ROav7RJifF2STM/4QHzzqGhZcWE+ov7qJNrHohBrxc/fNgCO/rnfvFd Ynyf9LF8O+cKbG7LuK365Et4N3Y1bH3iOpOespMiY05EB0pYjTCoHoS2EOCzc2ORzIEo O/wU1/MnhpJ/palCHi1YXVsLxQabTxaGFHE8r47/0FNF0D4j7yGLM7NLPgLaY2lNaGN3 6MEi6LNHiJALbU2mmPKSYnwse8t+yR4MA33MDv+57GCrULKuDvwAAq6IdjFE0Z8RUCxn GQUR78WbJa+F4KLFmlwuTApz6D7lxg3YPAloH4AJuGdoYfycT49HpEjHlD6iZC5DcrZ7 vxVw== 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:mime-version:content-transfer-encoding; bh=CQ5P2zPcY+msOo1rZHQoKYqD9sgu7jFxl3c3taG3Py8=; b=7IT/DkoDsJ8UNohKNM+O9PfYXywAhNjfT6Moi9H8VMeZtpGkNLbRtni5rxl00rXTZC 4PuZrpoixIEWVqG4ZGun/ij2rHy68YhmWCnq60O1e04954hYBlcwKJfymNHJR0LpLW0k 3tCe4fLX771YBN/eNtmb/e37qLFOlZx1bal7DVfgWPBfg7dsHdNPK5bDqF7wE4ac5xzC Vn/Ulz5qX52olivQCOYmRdi/O5XkPGm5ESHwV/C6mAH4lFNV6krcgQ0YcYJEFRkhrp8L VZbrjwXi+ZOZutWhXSyPKgecdo5U4NNX+EKhYajcM1KUfPlclYSiGf0lMgtTlp3n1SPB L/Ag== X-Gm-Message-State: AOAM531a7W/L4pTvoNGXFn8JfJ4wdFuPR0FPXM+toHBJFLRzztogRzG6 R5OK9sUqALW6/i/PVl0Sx3cfWaLZi7k= X-Google-Smtp-Source: ABdhPJw2qO5x1qRnlvhWAK81pfGfY0ELmbWLauHBfMHlVuwyEhqos2k2a8+VfJ6JZ7eewwqhf9UvnQ== X-Received: by 2002:adf:cc8d:: with SMTP id p13mr8670554wrj.274.1637863123347; Thu, 25 Nov 2021 09:58:43 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:e24a:add5:5ee1:31a8]) by smtp.gmail.com with ESMTPSA id p12sm3412192wro.33.2021.11.25.09.58.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Nov 2021 09:58:41 -0800 (PST) In-Reply-To: <87fsrkb0cn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 25 Nov 2021 18:40:08 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::432 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.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:280162 Archived-At: >>>>> On Thu, 25 Nov 2021 18:40:08 +0100, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> now shows only the lisp expression for the mode-line face. I=CA=BCve= fixed >> this one, but the default face has the same issue, so I=CA=BCm going= to >> assume you changed something there too :-) Lars> Nope; haven't touched the default face. Oh yes you have. The following patch fixes it, otherwise the :weight shows up as "regular", which I guess customize doesn=CA=BCt like. diff --git a/src/font.c b/src/font.c index d423fd46b7..0cedb230c8 100644 --- a/src/font.c +++ b/src/font.c @@ -70,7 +70,7 @@ #define DEFAULT_ENCODING Qiso8859_1 { 40, { "ultra-light", "ultralight", "extra-light", "extralight" }}, { 50, { "light" }}, { 55, { "semi-light", "semilight", "demilight" }}, - { 80, { "regular", "normal", "unspecified", "book" }}, + { 80, { "normal", "regular", "unspecified", "book" }}, { 100, { "medium" }}, { 180, { "semi-bold", "semibold", "demibold", "demi-bold", "demi" }}, { 200, { "bold" }},