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.devel Subject: Re: Incorrect font weight selected Date: Tue, 21 Dec 2021 16:19:43 +0200 Message-ID: <83sfumyr9c.fsf@gnu.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> <87wnjyt9yd.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 21 15:21:08 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 1mzg0q-00019s-86 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 15:21:08 +0100 Original-Received: from localhost ([::1]:43790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzg0p-00011V-7H for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 09:21:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzfzU-0006vp-Ds for emacs-devel@gnu.org; Tue, 21 Dec 2021 09:19:44 -0500 Original-Received: from [2001:470:142:3::e] (port=50630 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzfzT-0008Br-Pa; Tue, 21 Dec 2021 09:19:43 -0500 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=HMTpuXL5dGtnnkZPkSZLAiBsYAlO9raAzHoe9LIc4EE=; b=ZIbDxIPD1oqz OZJW1reT0sajdHg89D1VMQpQ3OgPpM/Wm35rSGfUV/mHvHNvlPr6+Fi+fPpd7w/dAaJxp0BzN9Ldp NLL+k7u4fSDf7VlkiBufUyaJNg4WYYFDG/oMFEERysYSp1QeauGFdAuvk8VPHS2Nzvoc6PCHb4ahU I67Al2Dj9jsNpecSD86Dpe2xra0hyUDLwRTUOfgc+a6d2oIgSga8wVFAMjfii+mLV6HHR2DpWifBV 4dKokNz6AiTINbW9SoCJnwVaQGYNMyZAYbB6KRDHVtVr90ks9D2LcK20xCquu+IEr6uFkiqWtTk3c W+dqg11PZ5He8cbuUc85og==; Original-Received: from [87.69.77.57] (port=1402 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 1mzfzT-0005Ph-JR; Tue, 21 Dec 2021 09:19:43 -0500 In-Reply-To: <87wnjyt9yd.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Tue, 21 Dec 2021 13:27:03 +0100) 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:282588 Archived-At: > From: Yuri D'Elia > Cc: Dmitry Gutov , monnier@iro.umontreal.ca, > larsi@gnus.org, emacs-devel@gnu.org > Date: Tue, 21 Dec 2021 13:27:03 +0100 > > 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. I usually set a breakpoint in xfaces.c where the face attribute(s) is/are being changed, and then step into the functions it calls to select the font. It's a bit slow, since you have a lot to step through, but it makes sure it's the right calls you are tracing. HTH