From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: Incorrect font weight selected Date: Tue, 21 Dec 2021 13:27:03 +0100 Message-ID: <87wnjyt9yd.fsf@wavexx.thregr.org> References: <87pmpv708h.fsf@wavexx.thregr.org> <83r1abcb93.fsf@gnu.org> <87y24jqahr.fsf@wavexx.thregr.org> <83ilvnc6z4.fsf@gnu.org> <875yrmyk8q.fsf@wavexx.thregr.org> <87y24grwp6.fsf@wavexx.thregr.org> <877dbzo98z.fsf@gnus.org> <83bl1b12b5.fsf@gnu.org> <837dbz112w.fsf@gnu.org> <71a9cd97-02a6-79d7-6af8-b4aef3d1baa8@yandex.ru> <83y24eyww3.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40199"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.5; emacs 29.0.50 Cc: larsi@gnus.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, Dmitry Gutov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 21 13:35:02 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 1mzeMA-000AIw-7Y for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 13:35:02 +0100 Original-Received: from localhost ([::1]:39564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzeM9-00026u-5U for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 07:35:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzeJv-00014v-Nh for emacs-devel@gnu.org; Tue, 21 Dec 2021 07:32:43 -0500 Original-Received: from [2001:41c9:1:41f::63] (port=37446 helo=erc.thregr.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzeJt-0000xp-TG; Tue, 21 Dec 2021 07:32:43 -0500 Original-Received: from [2a02:27e8:ffff:10::3] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1mzeJw-002AeP-7l (envelope-from ); Tue, 21 Dec 2021 13:32:44 +0100 In-reply-to: <83y24eyww3.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:41c9:1:41f::63 (failed) Received-SPF: pass client-ip=2001:41c9:1:41f::63; envelope-from=wavexx@thregr.org; helo=erc.thregr.org X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, 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:282578 Archived-At: On Tue, Dec 21 2021, Eli Zaretskii wrote: >> >>> And if you revert commit 1b2511f? >> >> Yes, reverting that commit brings back the bold font in the >> >> minibuffer-only frame. >> > Then, barring any insights, I will revert it soon. Dmitry will not >> > like that, but... >> >> As long as some other ("proper"?) fix is designed instead, I can wait. > > I still hope Yuri will provide more insights from his debugging, and > we will then be able to do something smarter. I'll be looking at this in a few days. Raising the weight threshold in 1b2511f to 200 makes the problem much more apparent as it selects always at least two weights. The annoying fact is that font selection is called in so many contexts it's just time consuming to drill down and/or set a good breakpoint condition.