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: Sat, 01 Jan 2022 22:28:34 +0200 Message-ID: <83y23zdwul.fsf@gnu.org> References: <87a6ghc0ev.fsf@secretsauce.net> <83v8z5grpn.fsf@gnu.org> <875yr5b47r.fsf@secretsauce.net> <83o84xgpg3.fsf@gnu.org> <87wnjl9nsl.fsf@secretsauce.net> <83a6gghqdu.fsf@gnu.org> <87o84v9pi0.fsf@secretsauce.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15376"; 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 Sat Jan 01 21:29:27 2022 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 1n3l0I-0003nN-Jb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jan 2022 21:29:26 +0100 Original-Received: from localhost ([::1]:52004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n3l0H-0003QU-ER for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jan 2022 15:29:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n3kzu-0003QK-4D for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2022 15:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n3kzt-00008n-Qy for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2022 15:29:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n3kzt-0002r3-NF for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2022 15:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jan 2022 20:29: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.164106892310943 (code B ref 52905); Sat, 01 Jan 2022 20:29:01 +0000 Original-Received: (at 52905) by debbugs.gnu.org; 1 Jan 2022 20:28:43 +0000 Original-Received: from localhost ([127.0.0.1]:59426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3kzb-0002qR-Ct for submit@debbugs.gnu.org; Sat, 01 Jan 2022 15:28:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3kzZ-0002qD-NM for 52905@debbugs.gnu.org; Sat, 01 Jan 2022 15:28:42 -0500 Original-Received: from [2001:470:142:3::e] (port=38634 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 1n3kzU-00007R-8f; Sat, 01 Jan 2022 15:28:36 -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=doQXSqTvXiD2hZQcAyJKa8EjuL+Ak87PAlEQ/r/0Ne0=; b=FYnDe3G7LKj0 hSe8U5e0JY/0YYSaCNVaoYMK6av6n8yuFPbUuIP8Y3ywFwJq6g8iXDSPVk7bomIgTvQRF/O6jqB34 BlvKwQC+PkVipS0LFmJ+sUNVbS3gLqiddqWUF0kDBNELb0+owI5qb6abf1Eio7+PZqb+Sy5C8Zo1w CwAYZhHYSw9KLmy1RTc42JRxei5iTy0dEJkRXQFWVqOZSgL0l8WjZELTL9oE9Ng1yiM38x7jvKG3f KiSxOqrdweU4NxfNFjDohBFYwZ9fsFBpVQ/cL4N9h9KO+sw1cz8hSchvSVEuRSXXx2zGHnxrwJush vM/3zMf3MNczOhYHiME6Ig==; Original-Received: from [87.69.77.57] (port=3033 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 1n3kzS-0005I4-Aw; Sat, 01 Jan 2022 15:28:36 -0500 In-Reply-To: <87o84v9pi0.fsf@secretsauce.net> (message from Dima Kogan on Sat, 01 Jan 2022 11:07:50 -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:223522 Archived-At: > From: Dima Kogan > Cc: 52905@debbugs.gnu.org > Date: Sat, 01 Jan 2022 11:07:50 -0800 > > Eli Zaretskii writes: > > >> 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. > > Hi. Let's talk about this part first. Clearly the manual says what you > describe, and I clearly see how it came to be this way. It makes perfect > sense from the viewpoint of the dev that wrote the logic and the docs. > > As a user, this doesn't feel right to me, though. Can we talk about > that? Then we can agree on what, if anything, needs fixing. > > Do you use org? Are you seeing a different fonts in the body of the > document compared to the #+begin_... lines? If so, does this bug you? > The org devs said > > #+begin_... lines should be rendered with the fixed-pitch face font > > I suspect that what they MEANT was > > #+begin_... lines should be rendered with a fixed pitch font No, I think they meant what they said. > I suspect this because that's what I would have meant if I wrote it. IF > this is what was intended and IF the default font had a fixed pitch, > then I think it makes sense for emacs to use the default font here. > > If you're seeing the two different fonts, and you think that's fine, > then I'll just fix this in my .emacs, and we can be done. Yes, I think it is fine to see 2 different fonts in this case. Once again, the reason is that the fixed-pitch face specifies its own font.