all messages for Emacs-related lists mirrored at yhetil.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 17:04:59 +0200	[thread overview]
Message-ID: <m2wnbxxopw.fsf@Mini.fritz.box> (raw)
In-Reply-To: <83v8rh8ikg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Jul 2022 16:37:03 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> M-? (a.k.a. xref-find-references) cannot find it?

No it doesn't.  Apparently it doesn't use the lsp backend.  Don't know
if it should.

>
>>   glyph = macfont_get_glyph_for_character (font, ' ');
>>   if (glyph != kCGFontIndexInvalid)
>>     font->space_width = macfont_glyph_extents (font, glyph, NULL, NULL, 0);
>>   else
>>     /* dirty workaround */
>>     font->space_width = pixel_size;
>> 
>> I don't think the else branch has been taken, because that wouldn't lead
>> to a value of 8.
>
> Maybe you should run with a watchpoint on font->space_width.

I suspect that it's really 8 at some point during startup, and that it
isn't overwritten.  The reason for this is that the two places above are
the only ones assigning to space_width, which I trust clangd to know.

Maybe I can verify that tomorrow.






  reply	other threads:[~2022-07-28 15:04 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=m2wnbxxopw.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 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.