From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What is a default font? Date: Thu, 05 Dec 2019 20:51:06 +0200 Message-ID: <83v9quhahx.fsf@gnu.org> References: <4c86b07f-175d-f6cf-171a-b58474ab717a@gmx.at> <83tv6ghxxk.fsf@gnu.org> <36fc3581-f8b9-cfbb-7455-eaccf9fe3c4a@gmx.at> <83y2vqhcnp.fsf@gnu.org> <0fb8540a-5edd-53ee-a02f-51960af2821b@gmx.at> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="9992"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 05 19:54:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1icwH6-0002SJ-BR for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2019 19:54:52 +0100 Original-Received: from localhost ([::1]:59742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icwH4-0003vs-Jt for ged-emacs-devel@m.gmane.org; Thu, 05 Dec 2019 13:54:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52841) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icwDZ-0000zr-Mm for emacs-devel@gnu.org; Thu, 05 Dec 2019 13:51:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1icwDW-0003AO-7C; Thu, 05 Dec 2019 13:51:12 -0500 Original-Received: from [176.228.60.248] (port=1550 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1icwDV-0003mk-7z; Thu, 05 Dec 2019 13:51:10 -0500 In-reply-to: <0fb8540a-5edd-53ee-a02f-51960af2821b@gmx.at> (message from martin rudalics on Thu, 5 Dec 2019 19:24:23 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243166 Archived-At: > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: martin rudalics > Date: Thu, 5 Dec 2019 19:24:23 +0100 > > > Why are you bothered by that? Why not (face-font 'default) instead? > > Is that the default for a new frame? No. For a frame that was not yet created there are too many unknowns for face-font to be able to help you efficiently. The best you can do is assume the new frame will have the same faces as the selected one.