all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dima Kogan <dima@secretsauce.net>
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 22:28:34 +0200	[thread overview]
Message-ID: <83y23zdwul.fsf@gnu.org> (raw)
In-Reply-To: <87o84v9pi0.fsf@secretsauce.net> (message from Dima Kogan on Sat,  01 Jan 2022 11:07:50 -0800)

> From: Dima Kogan <dima@secretsauce.net>
> Cc: 52905@debbugs.gnu.org
> Date: Sat, 01 Jan 2022 11:07:50 -0800
> 
> 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

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.





  reply	other threads:[~2022-01-01 20:28 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
2022-01-01 20:28             ` Eli Zaretskii [this message]
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

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

  git send-email \
    --in-reply-to=83y23zdwul.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52905@debbugs.gnu.org \
    --cc=dima@secretsauce.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.