unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 52905@debbugs.gnu.org
Subject: bug#52905: 29.0.50; "fixed-pitch" face doesn't respect the font in "default-frame-alist"
Date: Sat, 01 Jan 2022 11:07:50 -0800	[thread overview]
Message-ID: <87o84v9pi0.fsf@secretsauce.net> (raw)
In-Reply-To: <83a6gghqdu.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> 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

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.

Thanks.





  reply	other threads:[~2022-01-01 19:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 20:17 bug#52905: 29.0.50; "fixed-pitch" face doesn't respect the font in "default-frame-alist" Dima Kogan
2021-12-31  7:26 ` Eli Zaretskii
2021-12-31  7:34   ` Dima Kogan
2021-12-31  8:15     ` Eli Zaretskii
2021-12-31  8:24       ` Dima Kogan
2021-12-31 13:10         ` Eli Zaretskii
2022-01-01 19:07           ` Dima Kogan [this message]
2022-01-01 20:28             ` Eli Zaretskii
2022-01-01 20:32               ` Dima Kogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o84v9pi0.fsf@secretsauce.net \
    --to=dima@secretsauce.net \
    --cc=52905@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).