unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 56808@debbugs.gnu.org
Subject: bug#56808: 29.0.50; Elusive display problem on macOS
Date: Thu, 28 Jul 2022 11:18:10 +0200	[thread overview]
Message-ID: <m28rodzjcd.fsf@Mini.fritz.box> (raw)
In-Reply-To: <83czdpacoi.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Jul 2022 11:01:17 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> If it's a font issue, "C-u C-x =" with the cursor on the space that is
> larger than normal could help by showing the font used for that space.

Alas, I managed to kill the Emacs instance yesterday with a C-c in the
terminal window instead of typing that into Emacs, so I can't check
right now.  I'm using lldb from the terminal because I don't know
dap-mode good enough yet.

I think the spaces showed the font I expected with C-u C-x =.  That's
only a string though, and XLFD which macOS certainly doesn't use, so I
don't know how far I should trust that.

>> But then again, since the display of the run of spaces should be done as
>> a string of characters in the same face, I also "conjecture" that the
>> font of the face should be wrong.  Which I find sort of strange.
>> Shouldn't then all characters have the wrong size, and things would
>> align again?
>
> If Emacs decided, for some reason, to use a different font for some
> character, it will generate a separate face for it, and that face is
> not exposed to Lisp.  (Normally, this only happens for non-ASCII
> characters, though.)

Yes, I remember the face realization and so on.  With the usual
disclaimer--in its original form.

> Btw, 'pgrow' shows the face ID as well, so it
> can tell.

Yeah, rub it in ;-).

I guess I'll take a break.  Maybe I can insert some asserts somewhere to
make the whole thing more reproducible.  One idea might be that the font
used by a font-lock face (for :type) must be the same as the font of the
default face (the face for the spaces).

Hm, I have a custom-set-faces in the init.el...

 '(default ((t (:family "Monaco" :weight light :height 120))))

Hm....

Later.





  reply	other threads:[~2022-07-28  9:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-28  5:09 bug#56808: 29.0.50; Elusive display problem on macOS Gerd Möllmann
2022-07-28  6:04 ` Eli Zaretskii
2022-07-28  7:37   ` Gerd Möllmann
2022-07-28  8:01     ` Eli Zaretskii
2022-07-28  9:18       ` Gerd Möllmann [this message]
2022-07-28 11:31         ` Gerd Möllmann
2022-07-28 12:07           ` Gerd Möllmann
2022-07-28 13:03             ` Gerd Möllmann
2022-07-28 13:37             ` Eli Zaretskii
2022-07-28 15:04               ` Gerd Möllmann
2022-07-28 15:12                 ` Eli Zaretskii
2022-07-28 17:13                   ` Gerd Möllmann
2022-07-29 12:32                     ` Gerd Möllmann
2022-07-29 13:52                       ` YAMAMOTO Mitsuharu
2022-07-29 14:32                         ` Gerd Möllmann
2022-07-30  7:49                           ` YAMAMOTO Mitsuharu
2022-07-30  7:54                             ` Gerd Möllmann
2022-07-30  8:13                             ` Eli Zaretskii
2022-07-30  8:28                               ` YAMAMOTO Mitsuharu
2022-07-29 13:17   ` Alexander Adolf
2022-07-29 14:18     ` Gerd Möllmann

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=m28rodzjcd.fsf@Mini.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=56808@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).