bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56808: 29.0.50; Elusive display problem on macOS


From: Gerd Möllmann
Subject: bug#56808: 29.0.50; Elusive display problem on macOS
Date: Thu, 28 Jul 2022 17:04:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]