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: Sat, 18 Dec 2021 14:49:27 +0200 Message-ID: <83fsqqaxig.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> <83ee6actjj.fsf@gnu.org> <87o85ef8rg.fsf@wavexx.thregr.org> <83ilvmb0n3.fsf@gnu.org> <87k0g2f77n.fsf@wavexx.thregr.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16207"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 18 13:51:20 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 1myZBH-00042k-J4 for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 13:51:19 +0100 Original-Received: from localhost ([::1]:43064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myZBG-0002Ky-9G for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 07:51:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myZ9h-0001d2-F2 for emacs-devel@gnu.org; Sat, 18 Dec 2021 07:49:41 -0500 Original-Received: from [2001:470:142:3::e] (port=48840 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 1myZ9g-0000e2-Gy; Sat, 18 Dec 2021 07:49:40 -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=C+fOb/lKSDc5KUCYrXKYNuWFfGXzo+94o9lqVB+roOQ=; b=njY2be68WK4r mrf8t6oCtma3fUSpRLx19zUl7jd8Z2J1+xGB28Y4w0RGW+g19u07vrBjJ/6JRfPPP3f2xPmaQZ5Qp LPN2YHO1FL+Su2HtSAmB4cO+aiYZsL2rJapn76uqsG7D0QZ7/X4nqxq5erPC4h+mLSMQ2iJFPsC2n X/1c6xdHGVY/2+RzXvmYaHLfbwsfvLlzv90GQ+kPvCpkX3afg9YqDpx9ZAO82AHLmDfriBKjW0g2z R9NBzglFlbEb2CREQXepVMYA6uCUliwE/K2QMQSLn7ty2NvSEcaoj0DctP2WT/ttBi8oCdOhulu5n ekupQd6SpdIzBGHW21sBEw==; Original-Received: from [87.69.77.57] (port=2815 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 1myZ9g-0008Oc-7H; Sat, 18 Dec 2021 07:49:40 -0500 In-Reply-To: <87k0g2f77n.fsf@wavexx.thregr.org> (message from Yuri D'Elia on Sat, 18 Dec 2021 13:00:52 +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:282289 Archived-At: > From: Yuri D'Elia > Cc: emacs-devel@gnu.org > Date: Sat, 18 Dec 2021 13:00:52 +0100 > > On Sat, Dec 18 2021, Eli Zaretskii wrote: > >> I assumed that when setting the default font (by calling > >> set-face-attribute with FRAME set to nil) the actual face selection > >> would be effectively delayed until frame creation time. I guess this is > >> incorrect - i/e font selection is done immediately? > > > > Yes. > > Just out of curiosity, if you happen to know it, how does the "custom" > machinery does this then regarding to faces? It it also done in a frame > hook? You mean, how it makes the customization be in effect for future frames? No, it just records the change in the default faces for new frames.