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.bugs Subject: bug#52905: 29.0.50; "fixed-pitch" face doesn't respect the font in "default-frame-alist" Date: Fri, 31 Dec 2021 15:10:05 +0200 Message-ID: <83a6gghqdu.fsf@gnu.org> References: <87a6ghc0ev.fsf@secretsauce.net> <83v8z5grpn.fsf@gnu.org> <875yr5b47r.fsf@secretsauce.net> <83o84xgpg3.fsf@gnu.org> <87wnjl9nsl.fsf@secretsauce.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6887"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52905@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 31 14:34:04 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1n3I2m-0001Zv-1A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 14:34:04 +0100 Original-Received: from localhost ([::1]:46810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3I2k-0006YL-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Dec 2021 08:34:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3HgZ-0007qU-BW for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2021 08:11:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3HgU-0001zO-DP for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2021 08:11:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3HgU-0005uF-1T for bug-gnu-emacs@gnu.org; Fri, 31 Dec 2021 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Dec 2021 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52905 X-GNU-PR-Package: emacs Original-Received: via spool by 52905-submit@debbugs.gnu.org id=B52905.164095621122615 (code B ref 52905); Fri, 31 Dec 2021 13:11:01 +0000 Original-Received: (at 52905) by debbugs.gnu.org; 31 Dec 2021 13:10:11 +0000 Original-Received: from localhost ([127.0.0.1]:55398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3Hfb-0005sY-PR for submit@debbugs.gnu.org; Fri, 31 Dec 2021 08:10:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3HfZ-0005rs-Mf for 52905@debbugs.gnu.org; Fri, 31 Dec 2021 08:10:06 -0500 Original-Received: from [2001:470:142:3::e] (port=40874 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 1n3HfU-0001BT-3u; Fri, 31 Dec 2021 08:10:00 -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=2ePta67pnjXouRxrPaNP2wPGTKjJQu/nVDbXwRasZuc=; b=M/LITEA0AsZE ifowMZKwqwCstWVhl4aWCRNzo8EUJ2BecM4IBK4XQX5HpFYfjaY1GY2JxgJ9EhESwYuoK7tX3ZUoW x2z2or1OSytEdL8RGN2Mw/r1oMi/vTxVaG/sHVt9t/R9Mdy3v/5CSD52Lgf/6ljhy9OIcy1TtBvwD DVd30C7PN/HHAp2NBzN+dZ/IeDtd8uavyg2EK2l3mve45Vfvuo0IuqkV/z10fHcXvVdGX5g3Dy+Cy FglK+yHs1kf++G4UvK7/AqxiWH+v2AuMX+UZsgo77DN63YZZHwP2UN6ZqZ2z5/G/wzo9Gd7fY2ts9 AkdkTCYyi4/QSs2zeoBVgw==; Original-Received: from [87.69.77.57] (port=2158 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 1n3HfS-0001wh-TS; Fri, 31 Dec 2021 08:10:00 -0500 In-Reply-To: <87wnjl9nsl.fsf@secretsauce.net> (message from Dima Kogan on Fri, 31 Dec 2021 00:24:53 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223474 Archived-At: > From: Dima Kogan > Cc: 52905@debbugs.gnu.org > Date: Fri, 31 Dec 2021 00:24:53 -0800 > > Eli Zaretskii writes: > > > Thanks, but I don't think we should fix this. I see no problem to > > fix. The fixed-pitch face is designed to have a distinct font. > > OK. Can we then at least update the docs? This page: > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Fonts.html > > That page tells the user how to change the font, but don't say anything > about when that setting will be respected. You mean, to say explicitly that "the default font" in that node means "the font of the default face"? > The current behavior of emacs > completely ignoring this setting when picking the "fixed-pitch" and > "variable-pitch" fonts feels like it should be noted on that page. That behavior is not specific to these faces, it happens with any face which specifies a font. > Is using the default-frame-alist to set the default font still our > recommended best practice? Is that what you do? Yes and yes. It's just that you seem to interpret "the default font" differently from what it was supposed to mean. It means the font of the default face. Any face that doesn't specify a font or some font attribute will use the same font, but faces that do specify those attributes can (and usually do) select other fonts. To affect the font of the faces which specify font attributes, you need to customize those faces separately from the default face and default-frame-alist.