Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 16:55:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 12:55:22 2025 Received: from localhost ([127.0.0.1]:52278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twObX-0000Z7-Hq for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:55:21 -0400 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]:59722) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1twObV-0000Xx-0c for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:55:18 -0400 Received: by mail-vk1-xa2b.google.com with SMTP id 71dfb90a1353d-523ed8ac2a3so1622065e0c.3 for <77039 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 09:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742748911; x=1743353711; darn=debbugs.gnu.org; h=subject:message-id:date:cc:to:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0rIXCYGJcyFYrkpzeHBUtQMkX7EkcrRBCNHzppXy9SE=; b=eB/i4ZPYE+KW72mQp1r/QIuXX45zgNSWi6fDPOFxKrMadXrX/CuSPJZSKxhs0qYL96 bdxGcImd21UzRardAx5mJkdjVsuTSxzm8HQeI6bGaojzGzK0A4MZXirchR5q5M4Edo2/ f5Rh4dvAavP5tF3KW8eMZUohl2oV5D8y/S6znxoiAENUtNKGhg4uzemjASnqWRs9uMp5 YSF7y0gOJ+kMTceBXaqpLmpu70JjMnCIQO/Mfj5w1IXKJachAkemC02vVbZH2eGJX24E C9dVezpk+9LtbGZ00bWjSO7K+Dajgw5GLNqgTCJ7rjo2wDx4k/pW0WRtprZHCr5v7fNx Xpeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742748911; x=1743353711; h=subject:message-id:date:cc:to:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0rIXCYGJcyFYrkpzeHBUtQMkX7EkcrRBCNHzppXy9SE=; b=sURmc0rQAqUsB3BSwv450h4pD/V6xbfupjqwXqLgVjsLpFeUzfsI6HcW3vUhRg9v81 Gxz7U5mDsB9WwcF6mmX0/JNG8BnhtYpU2RP8IDmofGbqcTGgcYVx1SVZoGtyV0bHTZYQ 8ppsDlt1v6LLZ9I6nbbVI5ZLSVU9ooAyHtqrREOVmEm5TvHyFt9pIBnRhmqRkz4saX0+ KCda6vDGXJ8EX7+7+GVeL1XqS0wcTHZ7xiUzHOoyGStrGd1L9RuFeKW1T5ZJddzxBcgI M1v7j7l/c4m/6H0ETpX3eZ0hXSbL9SiTHJlZ0Wt2YP80PN2SnO5wH/wlr/Bl5su0/tli WeLg== X-Forwarded-Encrypted: i=1; AJvYcCX17jXHczy+dgmjUQRA5EATz8dQ/f6KyTLTs9Ti7ghA+GMaa2pB56H79ZgbgpeOF2rpUo/6Nw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwLZJH3ZcK1pxvLz2yrgWX8GZ2l7t7lad0BDPDZ+j889mFWjZW9 ivobILLgLA6xgkIfvsyNsI86a7I7Oika4i8IshYmsL+ez24iIkVWIPWTug== X-Gm-Gg: ASbGnctmHOG+y+FHFh+2IrpozKLI3JukFdk5NrnQ/B0t6c6wG5H+FhgwErCWtb2z7ZN QVnYGDZYWEDIqY4NLwPb5w+ee4gHyjYZuKfoTccLVIedcrVAyUMZhQc8cIqEjadci56wVA1okGF sRwodI6zIkJ7RT2kkTi7lX3vazOC4LNqZPlA02xvMMmahlDGDuKzese3itaqT+RlLpngykdZS5/ 9fZcXFCiGroRG6up3U9QgyIKIB4pvwWgh3UE+Nv8x3wAr1BH43tXw4ghFLlwHo8QaYSpKZH6A+K SMpoo4koe9S1NenNUe8DslzYrzn1xlyAQxuKih6RKiJU9Iz+YB861twd3sYja1JKyOw70oN8drT A+Ag= X-Google-Smtp-Source: AGHT+IEtVpuDfvWdVb1dDbBkVTQ/xilsfGZTfkeF4+1anNIKVLijclO59nK0fbFMbnoogtCqlE92Pg== X-Received: by 2002:a05:6122:4784:b0:520:652b:ce18 with SMTP id 71dfb90a1353d-525a80d63c2mr6697753e0c.0.1742748910872; Sun, 23 Mar 2025 09:55:10 -0700 (PDT) Received: from localhost (0.92.231.35.bc.googleusercontent.com. [35.231.92.0]) by smtp.gmail.com with UTF8SMTPSA id 71dfb90a1353d-525a73dcfe5sm1096431e0c.24.2025.03.23.09.55.08 for <77039 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Mar 2025 09:55:09 -0700 (PDT) Mime-Version: 1.0 X-Superhuman-Draft-ID: draft00114e89241958cd In-Reply-To: <86iknzg0rb.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> <867c4ggimh.fsf@HIDDEN> <865xk0ghi2.fsf@HIDDEN> <m8ltt0l6.2106518a-a140-4350-9e8b-b78494dbe5b9@HIDDEN> <86iknzg0rb.fsf@HIDDEN> From: "Aaron Jensen" <aaronjensen@HIDDEN> To: "Eli Zaretskii" <eliz@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-21T20:16:33Z) X-Superhuman-ID: m8lvorsq.ae90315e-ce5f-45f4-8c40-fca755716825 Date: Sun, 23 Mar 2025 16:55:02 +0000 Message-ID: <m8lvms9p.0884cf38-343b-44d8-b196-1dfdafbd1fa5@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS Content-Type: multipart/alternative; boundary=3c9d9fb861c02bb979161f15838db18030b66387e39fc2b5e65b48348be7 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --3c9d9fb861c02bb979161f15838db18030b66387e39fc2b5e65b48348be7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun, Mar 23, 2025 at 9:39 AM, Eli Zaretskii < eliz@HIDDEN > wrote: >=20 >=20 >>=20 >>=20 >> Date: Sun , 23 Mar 2025 16:03:17 +0000 >> Cc: gerd. moellmann@ gmail. com ( gerd.moellmann@HIDDEN ) , alan@ idi= ocy. >> org ( alan@HIDDEN ) , 77039@ debbugs. gnu. org ( 77039@HIDDEN= rg >> ) From: "Aaron Jensen" < aaronjensen@ gmail. com ( aaronjensen@HIDDEN= ) >> > >>=20 >>=20 >>=20 >> On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii < eliz@ gnu. org ( >> eliz@HIDDEN ) > wrote: >>=20 >>=20 >>=20 >>=20 >> Cc: gerd. moellmann@ gmail. com ( gerd.moellmann@HIDDEN ) , alan@ idi= ocy. >> org ( alan@HIDDEN ) , 77039@ debbugs. gnu. org ( 77039@HIDDEN= rg >> ) Date: Sun , 23 Mar 2025 12:13:10 +0200 >> From: Eli Zaretskii < eliz@ gnu. org ( eliz@HIDDEN ) > >>=20 >>=20 >>=20 >> So in summary, I don't see anything abnormal here. If we want to keep th= e >> only-current-line-changed optimization in redisplay_internal, someone wi= ll >> have to come up with a smarter test for when line numbers are shown. I >> think the underlying problem is that when the line number of the current >> line becomes large enough to require more columns for line-number displa= y, >> we must redraw the entire window to avoid the problem with shifting or >> line number described in https:/ / debbugs. gnu. org/ cgi/ bugreport. cg= i?bug=3D54091#5 >> ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54091#5 ). >>=20 >>=20 >>=20 >>=20 >> To clarify: this should not cause any flickering, AFAIU, because the >> comparison of glyphs in subroutines of update_frame is supposed to find >> that everything on the glass is already up-to-date and there's no need t= o >> draw anything. So flickering, which happens because portions of the wind= ow >> are actually redrawn on the glass, should not happen in this case. >>=20 >>=20 >>=20 >>=20 >> Right, I don't observe any flickering. >>=20 >>=20 >>=20 >=20 >=20 >=20 > OK, so I think we are good. >=20 >=20 >=20 >>=20 >>=20 >> Am I correct that it is only comparing the glyphs on the current line? >>=20 >>=20 >>=20 >=20 >=20 >=20 > No, I think in the case we were analyzing it compares the glyphs of the > entire window, or its large parts. >=20 >=20 >=20 >>=20 >>=20 >> If >> so, that doesn't seem like a huge problem, even though it is (in most >> cases?) technically extra work. >>=20 >>=20 >=20 >=20 >=20 > For this extra work to be spared, someone has to devise a method of > examining the buffer and the window before actually redrawing it, and > deciding that no update is needed, and do it cheaply enough to yield net > savings. >=20 >=20 >=20 >=20 > You should keep in mind the basic problem redisplay needs to solve. It > doesn't react to each and every change in the buffers and other structure= s > that affect display. Instead, it is called when Emacs thinks it's good > time to maybe redisplay, and it needs to decide, just by looking at the > buffers as they are at that time, what has changed since last redisplay > and how those changes might affect the windows on display. When the first > phase of redisplay cannot safely exclude the need for redrawing a window > or some of its parts, it produces the > "desired" glyph matrices for those parts, which describe how those parts > _should_ look, and leaves it to the second phase to decide what, if > anything, should actually be redrawn on the glass, by comparing the > desired matrix with the current matrix (which describes what _is_ on the > glass). Thus, this second phase, which is where the comparison of the > glyphs happens, is the "last line of defense" against unnecessary > redrawing, which would otherwise cause flickering and is relatively > expensive. >=20 >=20 >=20 > It is in many cases impossible to know whether a particular change in > buffer text will require large portions of a window to be redrawn, withou= t > actually doing the layout work that produces the desired matrix. That's > because the layout of glyphs is a complex process with many tricky rules, > which all but preclude fast and cheap decisions like that except in very > simple cases. For example, insertion of a single character in a middle of > bidirectional text can completely change the way characters are laid out > on the glass. So the simple cases are detected and handled by "redisplay > optimizations" of the first phase of redisplay, and the rest is left to > the second phase, which prevents unnecessary redraws based on glyph > comparison. >=20 >=20 >=20 >=20 Thank you for the detailed response. Unless I'm missing something, it sound= s like we can close this. I don't know if the FIXME comment is worth removi= ng (or perhaps replaced with an explanation, rather than an expressed inten= t to correct). Aside from that, with the flicker gone, I'm happy. Thank you all. Aaron --3c9d9fb861c02bb979161f15838db18030b66387e39fc2b5e65b48348be7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color: rgba(0, 0, 0, 0); = color: rgba(0, 0, 0, 0.6);">On Sun, Mar 23, 2025 at 9:39 AM, Eli Zaretskii = </span><span dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" tar= get=3D"_blank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"backgro= und-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0.6);"> wrote:</span></di= v></div></div><div class=3D"sh-quoted-content"><div class=3D""><div class= =3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra">= <div class=3D"gmail_quote"><blockquote class=3D""><p class=3D""> Date: <span class=3D"sh-date" data-date-isostring=3D"2025-03-30">Sun</span>= , <span class=3D"sh-date" data-date-isostring=3D"2025-03-23">23 Mar 2025</s= pan> 16:03:17 +0000 <br/> Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:gerd.mo= ellmann@HIDDEN" class=3D"">gerd.<wbr/>moellmann@<wbr/>gmail.<wbr/>com</a= >, <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:alan@idi= ocy.org" class=3D"">alan@<wbr/>idiocy.<wbr/>org</a>, <a target=3D"_blank" r= el=3D"noopener noreferrer" href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D""= >77039@<wbr/>debbugs.<wbr/>gnu.<wbr/>org</a> From: "Aaron Jensen" <<a target=3D"_blank" rel=3D"noopener noref= errer" href=3D"mailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr/>g= mail.<wbr/>com</a>> </p><p class=3D""> On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii <<a target=3D"_blank" rel= =3D"noopener noreferrer" href=3D"mailto:eliz@HIDDEN" class=3D"">eliz@<wbr/= >gnu.<wbr/>org</a>> wrote: <br/></p><p class=3D""> Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:gerd.mo= ellmann@HIDDEN" class=3D"">gerd.<wbr/>moellmann@<wbr/>gmail.<wbr/>com</a= >, <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:alan@idi= ocy.org" class=3D"">alan@<wbr/>idiocy.<wbr/>org</a>, <a target=3D"_blank" r= el=3D"noopener noreferrer" href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D""= >77039@<wbr/>debbugs.<wbr/>gnu.<wbr/>org</a> Date: <span class=3D"sh-date" = data-date-isostring=3D"2025-03-30">Sun</span>, <span class=3D"sh-date" data= -date-isostring=3D"2025-03-23">23 Mar 2025</span> 12:13:10 +0200=20 <br/> From: Eli Zaretskii <<a target=3D"_blank" rel=3D"noopener noreferrer" hr= ef=3D"mailto:eliz@HIDDEN" class=3D"">eliz@<wbr/>gnu.<wbr/>org</a>>=20 </p><p class=3D""> So in summary, I don't see anything abnormal here. If we want to keep t= he only-current-line-changed optimization in redisplay_internal, someone will = have to come up with a smarter test for when line numbers are shown. I think the underlying proble= m is that when the line number of the current line becomes large enough to require more columns for= line-number display, we must redraw the entire window to avoid the problem with shiftin= g or line number described in <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"https= ://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54091#5" class=3D"">https:/<wbr/= >/<wbr/>debbugs.<wbr/>gnu.<wbr/>org/<wbr/>cgi/<wbr/>bugreport.<wbr/>cgi?bug= =3D54091#5</a> .=20 <br/></p><p class=3D""> To clarify: this should not cause any flickering, AFAIU, because the compar= ison of glyphs in subroutines of update_frame is supposed to find that everything on the glas= s is already up-to-date and there's no need to draw anything. So flickering, which happens because = portions of the window are actually redrawn on the glass, should not happen in this case. <br/></p><p class=3D""> Right, I don't observe any flickering. <br/></p></blockquote><p class=3D""> OK, so I think we are good. <br/></p><blockquote class=3D""><p class=3D""> Am I correct that it is only comparing the glyphs on the current line? <br/></p></blockquote><p class=3D""> No, I think in the case we were analyzing it compares the glyphs of the entire window, or its large parts. <br/></p><blockquote class=3D""><p class=3D""> If <br/> so, that doesn't seem like a huge problem, even though it is (in most c= ases?) technically extra work. </p></blockquote><p class=3D""> For this extra work to be spared, someone has to devise a method of examining the buffer and the window before actually redrawing it, and deciding that no update is needed, and do it cheaply enough to yield net savings. <br/></p><p class=3D""> You should keep in mind the basic problem redisplay needs to solve. It doesn't react to each and every change in the buffers and other structures that affect display. Instead, it is called when Emacs thinks it's good time to maybe redisplay, and it needs to decide, just by looking at the buffers as they are at that time, what has changed since last redisplay and how those changes might affect the windows on display. When the first phase of redisplay cannot safely exclude the need for redrawing a window or some of its parts, it produces the <br/> "desired" glyph matrices for those parts, which describe how those parts _should_ look, and leaves it to the second phase to decide what, if anything, should actually be redrawn on the glass, by comparing the desired matrix with the current matrix (which describes what _is_ on the glass). Thus, this second phase, which is where the comparison of the glyphs happens, is the "last line of defense" against unnecessa= ry redrawing, which would otherwise cause flickering and is relatively expensive. </p><p class=3D""> It is in many cases impossible to know whether a particular change in buffer text will require large portions of a window to be redrawn, without actually doing the layout work that produces the desired matrix. That's because the layout of glyphs is a complex process with many tricky rules, which all but preclude fast and cheap decisions like that except in very simple cases. For example, insertion of a single character in a middle of bidirectional text can completely change the way characters are laid out on the glass. So the simple cases are detected and handled by "redisplay optimizations" of the first phase of redisplay, and the rest is left to the second phase, which prevents unnecessary redraws based on glyph comparison.<br/></p></div= ></div></blockquote></div></div></div></div><div><div><br/></div><div>Thank= you for the detailed response. Unless I'm missing something, it sounds= like we can close this. I don't know if the FIXME comment is worth rem= oving (or perhaps replaced with an explanation, rather than an expressed in= tent to correct).<br/></div><div><br/></div><div>Aside from that, with the = flicker gone, I'm happy. Thank you all.</div><div><br/></div><div>Aaron= </div></div></div><div><div style=3D"display: none; border: 0px; width: 0px= ; height: 0px; overflow: hidden; visibility: hidden;"><img src=3D"https://r= .superhuman.com/xzOi_QuBmpQBzn8U14S6NCh08Wq9_7ck1vPoV3VvHopKlI0tjRj9iP1WqVS= UkcqwXd5T4M5B_sipBHhC4I90cA2tbFI-Hart5liDkpX1zyzaz_7DlAXaDyCvHZmiJzSMxNElNV= gFyBblmxp7vKdFmDy-QtWUelfN22RmuaWthIX8x1r1Kl--Wj8.gif" alt=3D" " width=3D"1= " height=3D"0" style=3D"display: none; border: 0px; width: 0px; height: 0px= ; overflow: hidden; visibility: hidden;"/><!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --></div></div></div></body></html> --3c9d9fb861c02bb979161f15838db18030b66387e39fc2b5e65b48348be7--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 16:39:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 12:39:35 2025 Received: from localhost ([127.0.0.1]:52232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twOMH-0007UQ-8X for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:39:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52824) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twOM7-0007TT-8f for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:39:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twOM0-0004VC-Hz; Sun, 23 Mar 2025 12:39:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=37Nqp+Rvh1dtOXTv5jxKW3eWLpgOV8gdFPaQ5gFQ7A8=; b=U78zwWXRVYUC 2wCD0T1mveoWeMSbk9INBZ0izKeFUQ63YbAQqmHFCokuZ7XvQHSOumBR5lSJ5O5wolSeWuyywx9mL ce0CEiZ5wg5uR06Id5QKewMXOviUAZQFPz6yTbQFVwpxwqwrb6IW749iZilCu8qJYvj85JuzTsoA3 j5vwRTlkz3Ea4FVeYJIvUy1C36jm9Xi4+3IajOIK9bucxP46o/tImwM5FL7Wm2WciDrGpWpOlS0GP klnOkpTKs8X24gz6VSVBbCfPUfBY277sQuDjJQAgvJOpq9z/FEO2Ur6ENumbIwzRby/ZpQVLU2TUW gSZdEiE+ZihOL9n6H+64MA==; Date: Sun, 23 Mar 2025 18:39:04 +0200 Message-Id: <86iknzg0rb.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: "Aaron Jensen" <aaronjensen@HIDDEN> In-Reply-To: <m8ltt0l6.2106518a-a140-4350-9e8b-b78494dbe5b9@HIDDEN> (aaronjensen@HIDDEN) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> <867c4ggimh.fsf@HIDDEN> <865xk0ghi2.fsf@HIDDEN> <m8ltt0l6.2106518a-a140-4350-9e8b-b78494dbe5b9@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sun, 23 Mar 2025 16:03:17 +0000 > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > From: "Aaron Jensen" <aaronjensen@HIDDEN> > > On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org Date: Sun, 23 Mar 2025 > 12:13:10 +0200 > From: Eli Zaretskii <eliz@HIDDEN> > > So in summary, I don't see anything abnormal here. If we want to keep the > only-current-line-changed optimization in redisplay_internal, someone will have to come up with a > smarter test for when line numbers are shown. I think the underlying problem is that when the line > number of the current line becomes large enough to require more columns for line-number > display, we must redraw the entire window to avoid the problem with shifting or line number > described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54091#5 . > > To clarify: this should not cause any flickering, AFAIU, because the comparison of glyphs in > subroutines of update_frame is supposed to find that everything on the glass is already up-to-date and > there's no need to draw anything. So flickering, which happens because portions of the window are > actually redrawn on the glass, should not happen in this case. > > Right, I don't observe any flickering. OK, so I think we are good. > Am I correct that it is only comparing the glyphs on the current > line? No, I think in the case we were analyzing it compares the glyphs of the entire window, or its large parts. > If > so, that doesn't seem like a huge problem, even though it is (in most cases?) technically extra work. For this extra work to be spared, someone has to devise a method of examining the buffer and the window before actually redrawing it, and deciding that no update is needed, and do it cheaply enough to yield net savings. You should keep in mind the basic problem redisplay needs to solve. It doesn't react to each and every change in the buffers and other structures that affect display. Instead, it is called when Emacs thinks it's good time to maybe redisplay, and it needs to decide, just by looking at the buffers as they are at that time, what has changed since last redisplay and how those changes might affect the windows on display. When the first phase of redisplay cannot safely exclude the need for redrawing a window or some of its parts, it produces the "desired" glyph matrices for those parts, which describe how those parts _should_ look, and leaves it to the second phase to decide what, if anything, should actually be redrawn on the glass, by comparing the desired matrix with the current matrix (which describes what _is_ on the glass). Thus, this second phase, which is where the comparison of the glyphs happens, is the "last line of defense" against unnecessary redrawing, which would otherwise cause flickering and is relatively expensive. It is in many cases impossible to know whether a particular change in buffer text will require large portions of a window to be redrawn, without actually doing the layout work that produces the desired matrix. That's because the layout of glyphs is a complex process with many tricky rules, which all but preclude fast and cheap decisions like that except in very simple cases. For example, insertion of a single character in a middle of bidirectional text can completely change the way characters are laid out on the glass. So the simple cases are detected and handled by "redisplay optimizations" of the first phase of redisplay, and the rest is left to the second phase, which prevents unnecessary redraws based on glyph comparison.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 16:03:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 12:03:34 2025 Received: from localhost ([127.0.0.1]:52176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twNnR-0003kM-Oa for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:03:34 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:56322) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1twNnP-0003jL-EM for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 12:03:32 -0400 Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-86929964ed3so3433897241.0 for <77039 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 09:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742745805; x=1743350605; darn=debbugs.gnu.org; h=cc:in-reply-to:from:references:to:subject:message-id:date :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=BkHYLxnMTwUs7QbVV8bN6OwgVmhxiJqsAang1h5UMDA=; b=Rt4c3jE8ZoBf6lGUQ0OnOg2Bm/ooAqcrutg4U6IsUwHU9xU9QQmiAi+uirpFtGm+me vJNMqyV5O/CV50dQ5DCexXWGgxJ/eurb1lOQL+/+WsbxfFu5F+N5G08iaHehuyllzuKr 0Q/4C0fYt3+FYMuyyNXmIzQ6d6IFolfIuNWbGxq9DqMDbs0ojqgWAiGY4a75b+QZQOax emffOf95/K+qa/l8qKBj7XMEGd/3En/zJm55ZYZBrw/MzpVt8ZWnbBP+wVe0oRRBc+Fw qr7Yn/3pzcMomlUcNXv55YyZ2rvD0irhzdFL0F4GtjxuaQGMghRcRPJMUaDPDy2yTtUY qjaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742745805; x=1743350605; h=cc:in-reply-to:from:references:to:subject:message-id:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BkHYLxnMTwUs7QbVV8bN6OwgVmhxiJqsAang1h5UMDA=; b=FNKj0xqsepFLOsOF/lquJlfweRt9f2/uOprwp2SMOKqFxNKwb8qJWiQIK8+BE/8ARI JHraRybTvs1Y0KA+x3hJUcJkqlb3IUR8VNCJdspEsP5lP/G18xaOExDKQQkunoAfueL/ y3NTN0IH3sd1nERpxUqgnMCk5FDFDfXJcqg2t2Yfffy3tmZDtU3vuG7MOsAmJpz4YrTr ZzxwW7Qqlh0Zly+C6CdC1yFpS2z3Pk63/0x5kTkcFqALwzUUdFtuIuHmqBM98puBG5z1 VEybIiNFVoP+MCjWabju2LIDEc8kjvRfDItqCIqvxyTAYT2LGLirdjuhCYfHMj70BRRM OvSQ== X-Forwarded-Encrypted: i=1; AJvYcCXTGJkYqyOFHL09AJV5sEsxSfVj/bfYs5iymTTx1BezkXm3wY7PUOvj0VYkNTeH4EbT92wrvA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzEl3dyG8cckWLrzhUmXCp43YaBSYoIQcZTbvpJd8ipRaCm65l7 uEdmr1bds/5lgmFa/aZHeICOQS81Fklakn93dbfgBkvEY1Wa6HIT0N2M/w== X-Gm-Gg: ASbGncuGbXGBt8eeqixAeehu8tRcCMQs0+nH8v+FZi+mf4upjouYSxrZtFpiNld7Gjj ftByDZMQK4A33YIiZFMeOV+S+Wlya3N3ymR4hF1wT97B/q9XTSn1tPRfDI5gKnzunVa/ngYx1ze j2VxA9jmFkWiQStK/3KFIQ0RueVVlPxKQ2VoVXSWH/aPIbKukigZ3wi0I8imZftvPvYD4k2Ivra BrjY1JRUC8z8a82Dn6bCZ1MLU3JeQS11fhMkOikVPZG8IdZqzt5sJr5yF1MeVWLqDMziE2V0LaL DJbFzS9Whrzk+NaSKVhWtNxr+4ZVeoegHyeu7oT/TxZmO95K2xunseBdqD286LLuKUs+xYK2glR g6Ao= X-Google-Smtp-Source: AGHT+IHp67fdz/IqpTuxA6XBTYPs76QelQLr7GfCEEOLIjcxed0zGSCX7NAIyLG1HPvR2WrgNR8jzg== X-Received: by 2002:a05:6102:194c:b0:4c3:6544:c250 with SMTP id ada2fe7eead31-4c50d623ce1mr6103091137.23.1742745804256; Sun, 23 Mar 2025 09:03:24 -0700 (PDT) Received: from localhost (0.92.231.35.bc.googleusercontent.com. [35.231.92.0]) by smtp.gmail.com with UTF8SMTPSA id a1e0cc1a2514c-86f9f3a390csm1200937241.13.2025.03.23.09.03.22 for <77039 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Mar 2025 09:03:23 -0700 (PDT) Mime-Version: 1.0 Date: Sun, 23 Mar 2025 16:03:17 +0000 Message-ID: <m8ltt0l6.2106518a-a140-4350-9e8b-b78494dbe5b9@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: "Eli Zaretskii" <eliz@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-21T20:16:33Z) X-Superhuman-Draft-ID: draft004135bcfbb69dff References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> <867c4ggimh.fsf@HIDDEN> <865xk0ghi2.fsf@HIDDEN> From: "Aaron Jensen" <aaronjensen@HIDDEN> X-Superhuman-ID: m8ltu6zy.4ab6457a-8211-4ad2-bd86-9b19e6376269 In-Reply-To: <865xk0ghi2.fsf@HIDDEN> Content-Type: multipart/alternative; boundary=b0edb5ce973d2cf5a034e424170f035c6250d17cf21efb6bd5b4f5a59258 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --b0edb5ce973d2cf5a034e424170f035c6250d17cf21efb6bd5b4f5a59258 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii < eliz@HIDDEN > wrote: >=20 >=20 >>=20 >>=20 >> Cc: gerd. moellmann@ gmail. com ( gerd.moellmann@HIDDEN ) , alan@ idi= ocy. >> org ( alan@HIDDEN ) , 77039@ debbugs. gnu. org ( 77039@HIDDEN= rg >> ) Date: Sun , 23 Mar 2025 12:13:10 +0200 >> From: Eli Zaretskii < eliz@ gnu. org ( eliz@HIDDEN ) > >>=20 >>=20 >>=20 >> So in summary, I don't see anything abnormal here. If we want to keep th= e >> only-current-line-changed optimization in redisplay_internal, someone wi= ll >> have to come up with a smarter test for when line numbers are shown. I >> think the underlying problem is that when the line number of the current >> line becomes large enough to require more columns for line-number displa= y, >> we must redraw the entire window to avoid the problem with shifting or >> line number described in https:/ / debbugs. gnu. org/ cgi/ bugreport. cg= i?bug=3D54091#5 >> ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54091#5 ). >>=20 >>=20 >>=20 >=20 >=20 >=20 > To clarify: this should not cause any flickering, AFAIU, because the > comparison of glyphs in subroutines of update_frame is supposed to find > that everything on the glass is already up-to-date and there's no need to > draw anything. So flickering, which happens because portions of the windo= w > are actually redrawn on the glass, should not happen in this case. >=20 >=20 >=20 >=20 Right, I don't observe any flickering. Am I correct that it is only compari= ng the glyphs on the current line? If so, that doesn't seem like a huge pro= blem, even though it is (in most cases?) technically extra work. Aaron --b0edb5ce973d2cf5a034e424170f035c6250d17cf21efb6bd5b4f5a59258 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color: rgba(0, 0, 0, 0); = color: rgba(0, 0, 0, 0.6);">On Sun, Mar 23, 2025 at 3:37 AM, Eli Zaretskii = </span><span dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" tar= get=3D"_blank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"backgro= und-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0.6);"> wrote:</span></di= v></div></div><div class=3D"sh-quoted-content"><div class=3D""><div class= =3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra">= <div class=3D"gmail_quote"><blockquote class=3D""><p class=3D""> Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:gerd.mo= ellmann@HIDDEN" class=3D"">gerd.<wbr/>moellmann@<wbr/>gmail.<wbr/>com</a= >, <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:alan@idi= ocy.org" class=3D"">alan@<wbr/>idiocy.<wbr/>org</a>, <a target=3D"_blank" r= el=3D"noopener noreferrer" href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D""= >77039@<wbr/>debbugs.<wbr/>gnu.<wbr/>org</a> Date: <span class=3D"sh-date" data-date-isostring=3D"2025-03-30">Sun</span>= , <span class=3D"sh-date" data-date-isostring=3D"2025-03-23">23 Mar 2025</s= pan> 12:13:10 +0200 <br/> From: Eli Zaretskii <<a target=3D"_blank" rel=3D"noopener noreferrer" hr= ef=3D"mailto:eliz@HIDDEN" class=3D"">eliz@<wbr/>gnu.<wbr/>org</a>> </p><p class=3D""> So in summary, I don't see anything abnormal here. If we want to keep the only-current-line-changed optimization in redisplay_internal, someone will have to come up with a smarter test for when line numbers are shown. I think the underlying problem is that when the line number of the current line becomes large enough to require more columns for line-number display, we must redraw the entire window to avoid the problem with shifting or line number described in <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"https://debbugs.gn= u.org/cgi/bugreport.cgi?bug=3D54091#5" class=3D"">https:/<wbr/>/<wbr/>debbu= gs.<wbr/>gnu.<wbr/>org/<wbr/>cgi/<wbr/>bugreport.<wbr/>cgi?bug=3D54091#5</a= > . <br/></p></blockquote><p class=3D""> To clarify: this should not cause any flickering, AFAIU, because the comparison of glyphs in subroutines of update_frame is supposed to find that everything on the glass is already up-to-date and there's no need to draw anything. So flickering, which happens because portions of the window are actually redrawn on the glass, should not happen in this case.<br/></p></div></div></blockquote></div></div></div></div><div><d= iv><br/></div><div>Right, I don't observe any flickering. Am I correct = that it is only comparing the glyphs on the current line? If so, that doesn= 't seem like a huge problem, even though it is (in most cases?) technic= ally extra work.<br/></div><div><br/></div><div>Aaron<br/></div></div></div= ><div><div style=3D"display: none; border: 0px; width: 0px; height: 0px; ov= erflow: hidden; visibility: hidden;"><img src=3D"https://r.superhuman.com/J= M_lAGw36ShlYK3J7cv5aX4JM8faTxC2hBUihgjV65HABKhGa276pHDpX0NwRZA8VzQ8z4gLTnYo= JmZXjU5x5XptOoFjfoh6e91q4bBLxVbsgDo6L6I3WYbTef7iLqeBRr69ddT_MYln9SoPDKpYXFv= geI1ZD7DlIkBnV7Dtml4uBuH_yLlx3So.gif" alt=3D" " width=3D"1" height=3D"0" st= yle=3D"display: none; border: 0px; width: 0px; height: 0px; overflow: hidde= n; visibility: hidden;"/><!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --></div></div></div></body></html> --b0edb5ce973d2cf5a034e424170f035c6250d17cf21efb6bd5b4f5a59258--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 10:37:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 06:37:41 2025 Received: from localhost ([127.0.0.1]:47888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twIi4-0002OF-1a for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 06:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50662) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twIi1-0002Mc-Fy for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 06:37:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twIhv-0005zD-AT; Sun, 23 Mar 2025 06:37:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WmeH2VbvOxNYvCgTVKuaE59vVn0i/0g1lCUb4GW11iE=; b=Opw69HEooqrS bYHFtOPnBPQxspR8mu8/KZt/XezI8/1zK6Lp7JsbnaPKjfGMz80XJFgFGOGfb8/bfAJ7R9LiuU9wn 9+U+OM9BVLFo1q5yE57QGAIHd2cMd0it+NusCos9qGE1XpNtykCpd8AvkwCzGZWyfQVf4vZcqVH3q 7CW8AWJ9BE3fnGwOd6eknjPrkVXKPi0jIHEz1I1LEo/2dfu56LuarVRKj/JmURMNtH/WpTk/n3qDQ MjBiKCe812UxQOJfvPvmuUNbGhxyRwaZXsFm8G+nSf1Tjn3BPGyCwT5GKuFoD/++bxvHj46F00G9E uf80Fu00Gd3ySMpncMPhyQ==; Date: Sun, 23 Mar 2025 12:37:25 +0200 Message-Id: <865xk0ghi2.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: aaronjensen@HIDDEN, gerd.moellmann@HIDDEN In-Reply-To: <867c4ggimh.fsf@HIDDEN> (message from Eli Zaretskii on Sun, 23 Mar 2025 12:13:10 +0200) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> <867c4ggimh.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Sun, 23 Mar 2025 12:13:10 +0200 > From: Eli Zaretskii <eliz@HIDDEN> > > So in summary, I don't see anything abnormal here. If we want to keep > the only-current-line-changed optimization in redisplay_internal, > someone will have to come up with a smarter test for when line numbers > are shown. I think the underlying problem is that when the line > number of the current line becomes large enough to require more > columns for line-number display, we must redraw the entire window to > avoid the problem with shifting or line number described in > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54091#5 . To clarify: this should not cause any flickering, AFAIU, because the comparison of glyphs in subroutines of update_frame is supposed to find that everything on the glass is already up-to-date and there's no need to draw anything. So flickering, which happens because portions of the window are actually redrawn on the glass, should not happen in this case.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 10:13:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 06:13:31 2025 Received: from localhost ([127.0.0.1]:47742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twIKf-0003zd-NF for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 06:13:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58460) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twIKa-0003yR-Rl for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 06:13:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twIKR-0001fH-Be; Sun, 23 Mar 2025 06:13:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wrBO23cP1p7y4lBneLugC/z/aFzhEL7AIZqe6pHVsSA=; b=YFNPjM49VKK7 +1WaAIgB0yNi7gO++oZRTmybCwsiYm8BBXP7HrL2TpQ32yeK5PnTiHz5qfsVZvOuXZiHREfHfAcUO 6dvgdkN0JjE7RNRls9MBCXrYwsG3WzBsRmEMgMzRJFktQZn99yhmbyn3Z/RobXxoxyWolPiLDwu0t SixzgOghXi1MWc+8rlb0NL8tv1JfmT7vezTCHa9cTkrt6L8MJycdFQgI/lZhvQ4bA15551NTu36nO 9P91JGEAoybVgaV++RVnwWIgWCfJfK7dXsY7ZmMSdTLUMZpXojEKfSy7y4249xlS9POihf+aNyLmR HCLwRrUON2PQn9H9yGV0WQ==; Date: Sun, 23 Mar 2025 12:13:10 +0200 Message-Id: <867c4ggimh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: "Aaron Jensen" <aaronjensen@HIDDEN> In-Reply-To: <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> (aaronjensen@HIDDEN) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > From: "Aaron Jensen" <aaronjensen@HIDDEN> > Date: Sun, 23 Mar 2025 08:16:18 +0000 > > > On Sun, Mar 23, 2025 at 12:59 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 17:38:01 -0400 > Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > It's global-display-line-numbers-mode. > > Repro from emacs -Q: > > (defun foo () > (Interactive) > (global-display-line-numbers-mode) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > If you set display-line-numbers-mode to 'visual globally, does the problem go away? > > No, nor does disabling blink cursor mode or commenting out the lines you referenced. > > I'm using this, please double check I'm not doing something wrong. > > (defun foo () > (interactive) > (blink-cursor-mode -1) > (global-display-line-numbers-mode) > (setq-default display-line-numbers-mode 'visual) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) My testing indicates that setting display-line-numbers-mode to 'visual' does stop redisplay of the selected window. I did that with a simple "M-x set-variable", not with the globalized mode. And I did misinterpret the code in redisplay_internal: when display-line-numbers-mode is not nil and not 'visual', we currently go ahead with calling redisplay_window, and there I think we use the method marked with "1" here: /* Try to redisplay starting at same place as before. If point has not moved off frame, accept the results. */ if (!current_matrix_up_to_date_p /* Don't use try_window_reusing_current_matrix in this case because a window scroll function can have changed the buffer. */ || !NILP (Vwindow_scroll_functions) || MINI_WINDOW_P (w) || !(used_current_matrix_p = try_window_reusing_current_matrix (w))) { IF_DEBUG (debug_method_add (w, "1")); <<<<<<<<<<<<<<<<<<< clear_glyph_matrix (w->desired_matrix); if (try_window (window, startp, TRY_WINDOW_CHECK_MARGINS) < 0) /* -1 means we need to scroll. 0 means we need new matrices, but fonts_changed is set in that case, so we will detect it below. */ goto try_to_scroll; } because try_window_reusing_current_matrix also gives up when line-numbers are shown. So in summary, I don't see anything abnormal here. If we want to keep the only-current-line-changed optimization in redisplay_internal, someone will have to come up with a smarter test for when line numbers are shown. I think the underlying problem is that when the line number of the current line becomes large enough to require more columns for line-number display, we must redraw the entire window to avoid the problem with shifting or line number described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54091#5 .
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 09:44:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 05:44:47 2025 Received: from localhost ([127.0.0.1]:47687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twHss-0008UR-Hx for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:44:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36758) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twHsq-0008Tj-0k for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:44:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twHsj-0005Ov-19; Sun, 23 Mar 2025 05:44:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=0MfARZpwV9DEOE6gpzc4SXW4Go4cdEP2QV/JR/rbYaM=; b=oXCK4Qw9mMrNbPshNApU qO8uM94z7JieE317MD4wBxFBi3Vb8V43VWwGIMRFvIkn9hfHzWxDkUexKzy66ZWYTLFoy5faDoBxd pIloHBEwGDFkGVQldzlsdNQ1N3KGakSbmtZSp4UsvnnH36FWeJJ+1CU9f7FGYQFMnLyGvta4I1tAU wSQRmgaXhNSw4tcFHW7tZOPZmxfauxefzheZn/7kqxXMPEycPZfWCilc7+S+Ow1MYhPnWiCsIcq8y vOYNOEwk6H0jvmeZuji3GVyw8gjgwoTKeDyJxTfaPj7JgJstDhHtcWLTyq2vhOM2gqtbu6oajCAhx CtViEH+OOijcdw==; Date: Sun, 23 Mar 2025 11:44:35 +0200 Message-Id: <86a59cgjy4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m234f4149e.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 23 Mar 2025 10:32:29 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> <86iko0gouu.fsf@HIDDEN> <m234f4149e.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: aaronjensen@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Sun, 23 Mar 2025 10:32:29 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> redisplay_internal has this (line numbers may differ): > >> > >> xdisp.c: > >> 17368 && (NILP (Vdisplay_line_numbers) > >> 17369 || EQ (Vdisplay_line_numbers, Qvisual)) > >> > >> This means that certain redisplay optimizations that make redisplay > >> particularly "cheap" are not tried, depending on line number display. > > > > See bug#54091. > > Thanks, but it's still an enigma for me :-). I've never used > hs-minor-mode and don't know how it is implemented. Is it the old > selective display, and something the OP did that changed it that way? No, it uses an overlay with 'invisible' property. See hs-make-overlay in hideshow.el.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 09:32:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 05:32:41 2025 Received: from localhost ([127.0.0.1]:47661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twHhA-0006jf-0P for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:32:41 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:61858) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1twHh7-0006iD-J8 for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:32:39 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-43cf0d787eeso37841195e9.3 for <77039 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 02:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742722351; x=1743327151; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=md/eC3PwZ/qUhMKPNViWBLWW/ZN15UGrlR7tw6rIdgA=; b=acz2972Svmq+RVxwOipumi+dzm8DSco6/P6BNLKtIiRW6ieldUuu595H02WWMqYT/g TVySgnECCl8xOMvs2NBqEB7rU9+8laEsKaY/I1eQAS6pCW+QFn1pYn5EqDA+fZHTdeTD k7rlcmOtEJADip+gQeFpdMhd71PTf16hv85S0F6augbjIxvQq5Xc2iOhJBFtBcJ/VJ7x P1E+tnzlizyA9mBdij8dTH92hCeqLrFv+gW6+kOS8P5gCcKdS0gqF+uCG9i59diuzPgf 4WbU9bVOSoU8kSRYTBdeOUVUf4IzrNr74evgkZXOr2XRgh3TDEw1YXRUMAPBXZ3sMTGb SSLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742722351; x=1743327151; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=md/eC3PwZ/qUhMKPNViWBLWW/ZN15UGrlR7tw6rIdgA=; b=HZbSXGoYO9Ywq7WHJ9Nm6oLb7SB0tYXVOninfE/nw3XpsjK3uSfepdrAziOm8lx3YO TuXQbqXOv11QJ3J4f/1vChRHCYXeA8ltlVD8Sv5of4YQg6b7gS1/7bI637ZLh9jLdTCF 9GLwpyYNNfo5azDTdU1+95EJyOr9zRecBwpB4gWX2OVC3CNEa5BrmkmzqGfNVAI/53zj v98DwxOlC4idbnwdiSroQPCY0bngTO8Wp3loggfwRDaKXN4UGdX2EbPrJmzy8UyYFYFU 6VxjNnH65j3+loKUr/a/ctaw8i1ExLA7zjJLfxpCqDBCAKDDvEjIu8xhVCRSQFjZOneu dTyQ== X-Forwarded-Encrypted: i=1; AJvYcCWBiAiVaQJSP9BPCl3pYn/kz5yjePo+yHhdNXH5S+c8U5Yeo23hzM90qPBfXj2KajSFznOY/g==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwTwlnboRkA+bT1hubI4GXsl/dohS6N8hFgHEZ3t1VdiQScEco+ wSI5P6G2q9vOldGjmeFOlTjw7YBvMxf+UQFf+qFtqNb4Q0AYiaBGGjH6rQ== X-Gm-Gg: ASbGncvgyHUY+41OFWEv/Wp8ORykHyMAUk5Tep0Vb3mSmZsLZpNtHwxik7VysKsHDAU gfx/N3AIpTQWAzl/l1qb//fsThCFe5OeABCihwEYRgIR1YjriDoiEV1O4n3a635ogCdUbTYtjAM dkf3dyYnaCcgnHNsbN/oIbI7MeSE/IJHNCar1zA2+R8h+UEONMgNo3Myn1od11Yzc6MwKm+59hO 0a93SaZePwEWlv5203Ov8mRYnCQA3BVlxNs9hys3Wsspiirab+gBj4fkat6xmwZYc/zFs1gFV0A KdhdRdGHC7ssbELOdGwRNN0tEh0+ir7tZR1pTZNpYdr3+lnIXXk3H+ksOnrwKP5MLozDLVubGqu /5YuiQviH2HblgzMPYTUgFYGuAoTXQU37+mgLlj63mVHPP5wc X-Google-Smtp-Source: AGHT+IGZ3oviNadeuoI5LPMgNgQ055w/LW2QXJEVklz1WO0j0hj8H5j2olPypNi+O7naev6hTQlD6A== X-Received: by 2002:a05:600c:510f:b0:43d:b32:40aa with SMTP id 5b1f17b1804b1-43d509e3363mr77812285e9.3.1742722350648; Sun, 23 Mar 2025 02:32:30 -0700 (PDT) Received: from pro2 (p200300e0b74246003905926930245d32.dip0.t-ipconnect.de. [2003:e0:b742:4600:3905:9269:3024:5d32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fdb03e9sm80655375e9.33.2025.03.23.02.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Mar 2025 02:32:30 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <86iko0gouu.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> <86iko0gouu.fsf@HIDDEN> Date: Sun, 23 Mar 2025 10:32:29 +0100 Message-ID: <m234f4149e.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039@HIDDEN= rg >> Date: Sun, 23 Mar 2025 05:56:41 +0100 >>=20 >> > Repro from emacs -Q: >> > >> > (defun foo () >> > (Interactive) >> > (global-display-line-numbers-mode) >> > (term "/usr/bin/yes") >> > (switch-to-buffer "*scratch*")) >> > >> > Aaron >>=20 >> Thanks! I think I see now what's going on. >>=20 >> redisplay_internal has this (line numbers may differ): >>=20 >> xdisp.c: >> 17368 && (NILP (Vdisplay_line_numbers) >> 17369 || EQ (Vdisplay_line_numbers, Qvisual)) >>=20 >> This means that certain redisplay optimizations that make redisplay >> particularly "cheap" are not tried, depending on line number display. > > See bug#54091. Thanks, but it's still an enigma for me :-). I've never used hs-minor-mode and don't know how it is implemented. Is it the old selective display, and something the OP did that changed it that way?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 09:25:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 05:25:47 2025 Received: from localhost ([127.0.0.1]:47654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twHaU-0005fI-IL for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:25:47 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:55392) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1twHaR-0005du-CJ for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:25:44 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-43cf257158fso22798585e9.2 for <77039 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 02:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742721936; x=1743326736; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=koHCeXy5yHmQJpPZZZS5y2X6zaXxt10k5DGXeYLOToQ=; b=eHzTaMwDd6dT/M1W7XDORIZK1A5ZLv5QVBNnugrp2THc3kRVRz1IRxbIFx1d4fGHB9 XM9S330DOmWxTf2w/njpc9j8E2kYqXF8tW9GnpPmnYHzcbUAe7LJHz2+Dib85Do52a93 t3texnrkHQQplNb4RIe4hhKLfEvqZx6JgyvvBomW1mt4e6sQJ2Kya3ScuZD2hxTMeHxb ETWvqN5QNT5fDRWEBOcgmyxIjLBLLPNQ1s2ORn0CKbHtrZVi2aYA8PrIWVaNIgIM700V 1cSwAcEDLe93FmlzM2yiGdAjz97YhH9GPtdorExtxHh19YT5w+CgojHDc6qAiucx5M9I WjXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742721936; x=1743326736; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=koHCeXy5yHmQJpPZZZS5y2X6zaXxt10k5DGXeYLOToQ=; b=Wyaleh1VSfEzlzI/wCRHBhpAGchBpUdwAMMZADNJPTNt/tBuFm7NWakaFUEKfdYm13 l5If9YmhlDSOqU4/lP0++e7CLkbOezaI1vffNJ+aThfqbZJnQOZrRijvUGNeJGrWTT6d 6XVSm2v5TCGWp/cGEjQUbxV7f2wHDjchMBI89wavc8zQZFmlufVv3R8vWkwp5+jmHrY+ qeYt7ugzmETiV5I3iPEyp0cJrlGFwBKIN0n72P6l4WoWXn+g8fpatehK/3V1XZprFncj FnFyIKIuvFsOKmqa6HP3u+SzqOWN9FVWGEDlIuKsvOMLyN/YL0FDRYWeuwdgiIDDgCpB N4BQ== X-Forwarded-Encrypted: i=1; AJvYcCUPPMKB6+DCpdKnJWGwYVDGa18fqDHlMrIT2DhZbTTD2VAcbVdZvdSZQjyzsdh+DoWFxQNEpw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzcOCusASbNjZHchQ+DIXyGuGNSIAzkH83Eof+74ZMd4ChO68r1 w/tGkOo/lBYVYevJ3JEIM2dDxAfCppSL5jL0fjMWDyhq7AHvZ7gq7ZaARw== X-Gm-Gg: ASbGncsZDhHi7qXzIM1n5cKhELteKnE8mOB53mNpu5l0zTLU3UqnLO5YscZAqwqY4nM rtrvEVfB81/8SXnn0Imjha9KndzGeJVlHou4uc2w7ey/f7tRG5c2WUK+8ItyR0fx0YIU00b9Jv9 VOHoyII8s4osATyZ0nKFO7Xb5D7/8kBCYkV/0/uw/HTfcO4kU43lajqcS89gtbRSBg53Ujhc0Jp 2N6zLll9PAFafQW9xmwwkJCIoB+LrkzOJUcvDgbehQOnm8WRftMml2ZTuQJHLxF++cT3RB/U/IG fKDtC9JuVECqFswTlu3JKfQgmCv2QZXHNcNiGH+cwvJOyY2dT4B2hNBP01u85wKeouyuyPZoYT5 LtTI4P/rF8Drb2xv15yMtu0PhbBb0GvPhQcK8I9LlxxecEBjjTphi/A== X-Google-Smtp-Source: AGHT+IEVRATnOSkHAr5h0INuL2Uke6JLm2tCeu1fGb9AnpjhL9caQaqe+8nn0YDFRW/yjYi6EAsVmQ== X-Received: by 2002:a05:600c:4e12:b0:43d:26e3:f2f6 with SMTP id 5b1f17b1804b1-43d509e654fmr89657705e9.5.1742721936026; Sun, 23 Mar 2025 02:25:36 -0700 (PDT) Received: from pro2 (p200300e0b74246003905926930245d32.dip0.t-ipconnect.de. [2003:e0:b742:4600:3905:9269:3024:5d32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fceae03sm83490145e9.8.2025.03.23.02.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Mar 2025 02:25:35 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: "Aaron Jensen" <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> Date: Sun, 23 Mar 2025 10:25:34 +0100 Message-ID: <m27c4g14kx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Aaron Jensen" <aaronjensen@HIDDEN> writes: > On Sun, Mar 23, 2025 at 12:59 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 17:38:01 -0400 > Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > It's global-display-line-numbers-mode. > > Repro from emacs -Q: > > (defun foo () > (Interactive) > (global-display-line-numbers-mode) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > If you set display-line-numbers-mode to 'visual globally, does the problem go away? > > No, nor does disabling blink cursor mode or commenting out the lines you referenced. > > I'm using this, please double check I'm not doing something wrong. > > (defun foo () > (interactive) > (blink-cursor-mode -1) > (global-display-line-numbers-mode) > (setq-default display-line-numbers-mode 'visual) ^^^^^ Vdisplay_line_numbers = display-line-numbers. Also, I would set it before activating the mode because setq-default doesn't change existing buffer-local bindings.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 09:13:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 05:13:34 2025 Received: from localhost ([127.0.0.1]:47637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twHOf-0003ZI-Ic for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:13:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38324) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twHOb-0003Xs-VM for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 05:13:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twHOT-0000zQ-0Q; Sun, 23 Mar 2025 05:13:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2UgP3uRWO0d5jKKpJsTP3m1xYuUyk0KK5VhUm9Uewro=; b=ZHWL0JGhGHfH swJ58hGirGPld8HatbROjIvJ+VUjH/36GO9cdfVY8W25W5DXJDKE5wczG1TGOuUzMLcuuUgbix7Cv N+4k1jdkwE39v0QEEhSZSFPwdSaGbuKleVDnIUDuKoe5Z3qtTx7ot5G6F10oMj1WEDF4df4T6RJz9 5y5yBcKCN1uqO8sGTThw9kFJdZzBKjyRTCyHLwizl2BQmzCD8VkQ2mMU+vafdoyH4m17FSih8nRQ1 fkqpL3+eRgrsyCMwRDh5imoEJodn71V6wqgq6GOgVn3vzBLPsHstfaxLa0/mKti/BTSSyJVlaBPwS 7ZZkSVa9KCeZ4Dd2OSsTvQ==; Date: Sun, 23 Mar 2025 11:13:18 +0200 Message-Id: <86cye8gle9.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: "Aaron Jensen" <aaronjensen@HIDDEN> In-Reply-To: <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> (aaronjensen@HIDDEN) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > From: "Aaron Jensen" <aaronjensen@HIDDEN> > Date: Sun, 23 Mar 2025 08:16:18 +0000 > > (defun foo () > (Interactive) > (global-display-line-numbers-mode) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > If you set display-line-numbers-mode to 'visual globally, does the problem go away? > > No, nor does disabling blink cursor mode or commenting out the lines you referenced. > > I'm using this, please double check I'm not doing something wrong. > > (defun foo () > (interactive) > (blink-cursor-mode -1) > (global-display-line-numbers-mode) > (setq-default display-line-numbers-mode 'visual) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) Then the conditions mention by Gerd are not the ones at play here. Or maybe I'm missing something else.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 08:16:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 04:16:38 2025 Received: from localhost ([127.0.0.1]:47557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twGVZ-0002yV-1i for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 04:16:38 -0400 Received: from mail-vk1-xa2d.google.com ([2607:f8b0:4864:20::a2d]:58575) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1twGVV-0002xK-B2 for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 04:16:34 -0400 Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-5240317b3e0so1219881e0c.0 for <77039 <at> debbugs.gnu.org>; Sun, 23 Mar 2025 01:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742717787; x=1743322587; darn=debbugs.gnu.org; h=cc:to:subject:date:from:message-id:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lmLgMzRfZgjygnuFHp6h6WrfESJX1XSQhEyyJE/Hh8Y=; b=UNVPtTfwFQKiL/2VB2hZSk0VOJf+2ZFclIkwq/auCljqO9/cANDIbXaVs4AeK9YNH9 gv+jt2P0/EizN8xgXEYyFGjIIZFfsLxRu8mFvU3ho0IDV3z1KvN7RpVOhDr0XhE+3R3X bQW0r+WOTxsTmhwlTHElgwbIEJGZfMB2OPH85CH/nV0fU906/cy5kMcuET6O1CK7MeME MtUGZFeFlYbSZ/GWRIUwIUsj6mrAXTHoHLw/z1JLDjonuCrI5xMavOxNLbNWDsT7MmFV BsL4Z4GgW3MG3UUpDHztNcQr+P7J/oUdv+lWk8fFGTWb8VQDZkJXZd6PsFyDgFannjdM YSRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742717787; x=1743322587; h=cc:to:subject:date:from:message-id:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lmLgMzRfZgjygnuFHp6h6WrfESJX1XSQhEyyJE/Hh8Y=; b=Pd5Af1V/KTDqieULIyi/5lf72/CczczqDxPnUDVt0m7kzJasDQKWVouZzmESQ1fkjA WN8/kPTeFPXOpPy1kWo3waujj4NwGh8Hc+pLsJ3CQRWHa/Q7GJNxVJY8OxWVpg525+Tj eF9WyjDKHUqhnreJQHmy+vLdLQdrpj3vhqNWahqgrJZS7mPX/nKwtY9+7X7n1z8ej496 o0vGy+pE+FMWU1KsG4T4B6/QeGEJtDR4e4wo3RrXQ0LdZui+g75XxBE4CuPclSnlYMeg Vx7ITfPawqb6jFnJjtGdNewu+CGD2FZ2RU9F38npAl1tYyex/EJFjUlYJwnizfBTqZfD 5LeQ== X-Forwarded-Encrypted: i=1; AJvYcCUNBaUbbYvsv7MhQgMOI4UCc+B4t0WGJQLSQzfW7jDMRK0KzpgsZaUncDavFGuGK1EyNdNZgA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxNQBzqNOLisJHFqaLHp8wiYtHK0oFfs7J9iOCqUe7KlcQwAqYw 7rB6E4Ybps42bd97q6lfXi5XsUi7wW62Hho+wtEbrZDi2LnPhazC5BSCBA== X-Gm-Gg: ASbGncujKsRhulC0RkIUzySMwAIa0Ff5Ob418wT5iRUt8QNqZBmkk1gbkSv0SC/hGyj VD0zPSvY76TFVU2V2PLq0tzcct+cnx+p81fsR5/V72yx6nmJCPWy9onpnNHJYKRhaqqaVGCX1Mp H2h9ATG6r22bAloPLgdeggoBlAwHXlBw4Az4qqXQUjfMICDVn6gW9SE6AoexmGFqauRSOwLuTDa VqwQCBKk+Ro71Xg0B4/umy4TvKVLIU/4VbVtm8ssgYBxRD+kx1BcgqEanIUOX5E/19XTttTrNM1 2XIto4fZfvjwXvEj4P9v4pt9JoxxgyyytlJiVsDxACQrHND6QEKcc+yVNiGNoF6OQPLx1uZEBbY f+n+9aeJq3M6C7g== X-Google-Smtp-Source: AGHT+IGXviEQEKNwsSyQWodEGm08p0IopKLhxBCfRHVWlqbZTVeiBKNopZOLxlHXfCDyehdIId8YTQ== X-Received: by 2002:a67:c494:0:b0:4c5:1c2e:79f5 with SMTP id ada2fe7eead31-4c51c2e7ab1mr2189191137.16.1742717786778; Sun, 23 Mar 2025 01:16:26 -0700 (PDT) Received: from localhost (0.92.231.35.bc.googleusercontent.com. [35.231.92.0]) by smtp.gmail.com with UTF8SMTPSA id a1e0cc1a2514c-86f9f3a2189sm1155635241.8.2025.03.23.01.16.24 for <77039 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Mar 2025 01:16:25 -0700 (PDT) Mime-Version: 1.0 X-Superhuman-ID: m8ld5ohl.541bc8ed-5fda-4fbb-b103-5d830073bff3 In-Reply-To: <86h63kgosu.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <86h63kgosu.fsf@HIDDEN> Message-ID: <m8ld3dcb.8b537957-ea8c-495c-b453-e455877fc66f@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-19T19:15:29Z) From: "Aaron Jensen" <aaronjensen@HIDDEN> Date: Sun, 23 Mar 2025 08:16:18 +0000 Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: "Eli Zaretskii" <eliz@HIDDEN> X-Superhuman-Draft-ID: draft007d534006b795e0 Content-Type: multipart/alternative; boundary=a2f394b7d253ca471594accb8a2227a436a8fd48102c9f515f33e48a0171 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --a2f394b7d253ca471594accb8a2227a436a8fd48102c9f515f33e48a0171 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun, Mar 23, 2025 at 12:59 AM, Eli Zaretskii < eliz@HIDDEN > wrote: >=20 >=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> From: Aaron Jensen < aaronjensen@ gmail. com ( aaronjensen@HIDDEN ) > >>=20 >> Date: Sat , 22 Mar 2025 17:38:01 -0400 >>=20 >> Cc: Eli Zaretskii < eliz@ gnu. org ( eliz@HIDDEN ) >, alan@ idiocy. org= ( >> alan@HIDDEN ) , 77039@ debbugs. gnu. org ( 77039 <at> debbugs.gnu.org ) >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> It's global-display-line-numbers-mode. >>=20 >>=20 >>=20 >>=20 >> Repro from emacs -Q: >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> (defun foo () >>=20 >> (Interactive) >>=20 >> (global-display-line-numbers-mode) >>=20 >> (term "/usr/bin/yes") >>=20 >> (switch-to-buffer "*scratch*")) >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >=20 >=20 >=20 > If you set display-line-numbers-mode to 'visual globally, does the proble= m > go away? >=20 >=20 >=20 >=20 No, nor does disabling blink cursor mode or commenting out the lines you re= ferenced. I'm using this, please double check I'm not doing something wrong. (defun foo () (interactive) (blink-cursor-mode -1) (global-display-line-numbers-mode) (setq-default display-line-numbers-mode 'visual) (term "/usr/bin/yes") (switch-to-buffer "*scratch*")) --a2f394b7d253ca471594accb8a2227a436a8fd48102c9f515f33e48a0171 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color: rgba(0, 0, 0, 0);"= >On Sun, Mar 23, 2025 at 12:59 AM, Eli Zaretskii </span><span dir=3D"ltr" c= lass=3D""><<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank" class=3D"">= eliz@HIDDEN</a>></span><span style=3D"background-color: rgba(0, 0, 0, 0= );"> wrote:</span><br/></div></div></div><div class=3D"sh-quoted-content"><= div class=3D""><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"= style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d= iv class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote class=3D"">= <p class=3D""><br/></p><div class=3D"">From: Aaron Jensen <<a target=3D"= _blank" rel=3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN" c= lass=3D"">aaronjensen@<wbr/>gmail.<wbr/>com</a>> <br/></div><div class= =3D""> Date: <span class=3D"sh-date" data-date-isostring=3D"2025-03-29">Sat= </span>, <span class=3D"sh-date" data-date-isostring=3D"2025-03-22">22 Mar = 2025</span> 17:38:01 -0400 <br/></div><div class=3D""> Cc: Eli Zaretskii &l= t;<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:eliz@gnu.= org" class=3D"">eliz@<wbr/>gnu.<wbr/>org</a>>, <a target=3D"_blank" rel= =3D"noopener noreferrer" href=3D"mailto:alan@HIDDEN" class=3D"">alan@<w= br/>idiocy.<wbr/>org</a>, <a target=3D"_blank" rel=3D"noopener noreferrer" = href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D"">77039@<wbr/>debbugs.<wbr/>= gnu.<wbr/>org</a><br/></div><p><br/></p><p class=3D"">It's global-displ= ay-line-numbers-mode. <br/></p><p class=3D"">Repro from emacs -Q: <br/></p>= <p class=3D""><br/></p><div class=3D"">(defun foo () <br/></div><div class= =3D""> (Interactive) <br/></div><div class=3D""> (global-display-line-numbe= rs-mode) <br/></div><div class=3D""> (term "/usr/bin/yes") <br/></d= iv><div class=3D""> (switch-to-buffer "*scratch*"))<br/></div><p><b= r/></p></blockquote><p class=3D"">If you set display-line-numbers-mode to &= #39;visual globally, does the problem go away?<br/></p></div></div></blockquote></div></div></div></div><= div><div><br/></div><div>No, nor does disabling blink cursor mode or commen= ting out the lines you referenced.<br/></div><div><br/></div><div>I'm u= sing this, please double check I'm not doing something wrong.</div><div= ><br/></div></div><div>(defun foo ()<br/></div><div>=C2=A0 (interactive)<br= /></div><div>=C2=A0 (blink-cursor-mode -1)<br/></div><div>=C2=A0 (global-di= splay-line-numbers-mode)<br/></div><div>=C2=A0 (setq-default display-line-n= umbers-mode 'visual)<br/></div><div>=C2=A0(term "/usr/bin/yes")= <br/></div><div>(switch-to-buffer "*scratch*"))<br/></div><div><div= ><br/></div></div><div><br/></div></div><div><div style=3D"display: none; b= order: 0px; width: 0px; height: 0px; overflow: hidden; visibility: hidden;"= ><img src=3D"https://r.superhuman.com/1ez-yn8D7_zNBBKdcQoa3XGmNSeq0dNzN6HmO= VE_MyefRLvXeRbrEMMqr5gKsnz0-bAk7UlsGN9q6FzJBh_uFi_5lKQ348jU1BegurVZjPHg1MHS= GXW7pniXneKa6MUG_0_kSn6CQAT8pElvcEqB338tPMU9DKUazKOD3se6wZ1V8fdZe1NDyH4.gif= " alt=3D" " width=3D"1" height=3D"0" style=3D"display: none; border: 0px; w= idth: 0px; height: 0px; overflow: hidden; visibility: hidden;"/><!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --></div></div></div></body></ht= ml> --a2f394b7d253ca471594accb8a2227a436a8fd48102c9f515f33e48a0171--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 08:04:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 04:04:19 2025 Received: from localhost ([127.0.0.1]:47517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twGJe-0001Aq-4a for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 04:04:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44586) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twGJb-00019X-3v for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 04:04:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twGJU-0006SB-Oq; Sun, 23 Mar 2025 04:04:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Oq4ItLWGuWfCbPYxojg1Nm8SeHPSCBscwhLTOrx7BFc=; b=nVHw3jXLy7T7627TjYG5 6GqzdB73qG5peu9XMO4bjl5cKl3ZT1EkccAcBEmH8pwrpfzvNYMUUL/dBoSDISd25PV8SJwS/CkRY 1aMD+f58rMZ8jA688ULID10G+LpJt+hZ/FJaWYFHE0h0JreKlqxxdYSrKQbvkXQh+RhUZDreiOD2X z2c0D03qRJso1q9S5fVN7vl3qBvKk4NZTc3C3EohhGVZmjbV2pCD+5M2qJ8E+818fIQXV82YVwot1 wQI2a2m3q/D55VsFrgVfA6IywFX3IfcIs6VmqR++1j8Gh+v6vpFxaU9J1HleWhQFTA99FfJKBgE7T C8AGS+3lJL4+Bg==; Date: Sun, 23 Mar 2025 10:04:04 +0200 Message-Id: <86frj4goln.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2cye85mo9.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 23 Mar 2025 06:41:10 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> <m8l6cwfn.3eb66048-f864-4d4d-a193-7be2e1b84a0e@HIDDEN> <m2cye85mo9.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: "Eli Zaretskii" <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Sun, 23 Mar 2025 06:41:10 +0100 > > "Aaron Jensen" <aaronjensen@HIDDEN> writes: > > > Thanks! I think I see now what's going on. > > > > redisplay_internal has this (line numbers may differ): > > > > xdisp.c: > > 17368 && (NILP (Vdisplay_line_numbers) 17369 || EQ (Vdisplay_line_numbers, Qvisual)) > > > > This means that certain redisplay optimizations that make redisplay particularly "cheap" are not > > tried, depending on line number display. > > > > Instead the more expensive redisplay methods are used that consider whole windows or parts of them > > and so on. Or, in other words, line number display can make redisplay less of a nop. > > > > So, with line numbers, hidden buffer with process -> wait_reading_process_output -> > > redisplay_internal -> update_window (or similar) -> ... -> row_equal_p -> the equal macros > > > > My vterm buffers do not have line numbers, so it sounds like it's > > considering the line number status of the currently visible window, > > does that sound right? > > Yes, it's the value in current_buffer. Don't see ATM where that is set, > but it's normally the buffer of the selected window. Maybe that's > implicitly the case if consider_all_windows is false. Of course, it's from the current buffer. But we forgot the effect of blink-cursor-mode, which forces a (minor) redisplay cycle every 0.5 sec, and requires to at least redraw the character under the cursor. So turning off blink-cursor-mode should perhaps prevent the problem. Does it? > > And it looks like there's a FIXME comment right above it: > > > > ``` > > /* FIXME: The following condition is only needed when > > significant parts of the buffer are hidden (e.g., under > > hs-minor-mode), but there doesn't seem to be a simple way of > > detecting that, so we always disable the one-line redisplay > > optimizations whenever display-line-numbers-mode is turned on > > in the buffer. */ > > Yeah, I've seen that, but I couldn't figure out what circumstance > prevents using the optimizations in this case, specifically when line > numbers are displayed. An enigma :-). Not an enigma: "git annotate" points to a certain bug which was the trigger for the addition of this condition.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 07:59:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 03:59:56 2025 Received: from localhost ([127.0.0.1]:47506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twGFQ-0000Ve-2a for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 03:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53632) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twGFN-0000V9-LS for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 03:59:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twGFH-0005a4-DI; Sun, 23 Mar 2025 03:59:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=z7med0wUM5ln3iWfYSEwB8z0ou6zQoUv1UjVqv7ICY4=; b=SqtD3Xh4XOFs I+d0ZYyRd3rx4DPdIQb4Fwhw60upi8UHbbs5SuJuAzKwlCVSslSZm+eyAMFZLaZ4PZ5y/ojfOE10w hvfXDJr8teqAtaZnNIFWFSEx9qrAqEVHyXQHf5ODZWPolE8hstk0Q80VWA23wd3kF8JnbnhahhTdE NznixNbwM01RBhsGRp33DSa4IeUJ6uiGCpWfJ9etG/hX+4Gce/j8a1Ox23p9JTHYDUccbqZ7nooiM vpkmgTB/SHNkUWoCt2tW8XijRAhSgMjveTHAZzIFlSJaEtqa+vUp3mwEhcZCZxFqjZsqlhGwoIUk+ He5gTILT2A6Ja1Q4obOKwQ==; Date: Sun, 23 Mar 2025 09:59:45 +0200 Message-Id: <86h63kgosu.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> (message from Aaron Jensen on Sat, 22 Mar 2025 17:38:01 -0400) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 17:38:01 -0400 > Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > It's global-display-line-numbers-mode. > > Repro from emacs -Q: > > (defun foo () > (Interactive) > (global-display-line-numbers-mode) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) If you set display-line-numbers-mode to 'visual globally, does the problem go away?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 07:58:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 03:58:49 2025 Received: from localhost ([127.0.0.1]:47498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twGEJ-0000Me-DH for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 03:58:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47654) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1twGEG-0000L8-4L for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 03:58:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1twGE8-0005Qk-L4; Sun, 23 Mar 2025 03:58:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1e/Ox+wGFxDDp6ulJfjdajN+iFUYd+eaFUyqdNOUgSQ=; b=Ka1Ld3cKEiC2sm5WmFGR bO01fqIvhJ//G1pteCy86adFLbSM6KU4XwtnppU5y2xS1hLbmMWkRsWDWFnN7JFIiNIKKHgrlIsmg Em1JlyWyG3zlUYeaIskSxc3pwixHlG1zuzK0niLttq7KDAPa2xs5xtxqsq4bK5NOBbvmE5aiWs4Br UnMb68GuLLGgYoSOEaCq4AEB0+GI9e9+ulb4wx5rk997BoEBK1HGaBLUCYQweKw4F5W8kh/FGGc0D qT0MqG0qsTK+hUndV3mguWMOaCRPbJ5l1OePhYy7MIz6KE6/GHBKH79QM/Pvcebzbm9ulwlUZORtE NPKMHnTYrbXvJg==; Date: Sun, 23 Mar 2025 09:58:33 +0200 Message-Id: <86iko0gouu.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2ldsw5oqe.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 23 Mar 2025 05:56:41 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Sun, 23 Mar 2025 05:56:41 +0100 > > > Repro from emacs -Q: > > > > (defun foo () > > (Interactive) > > (global-display-line-numbers-mode) > > (term "/usr/bin/yes") > > (switch-to-buffer "*scratch*")) > > > > Aaron > > Thanks! I think I see now what's going on. > > redisplay_internal has this (line numbers may differ): > > xdisp.c: > 17368 && (NILP (Vdisplay_line_numbers) > 17369 || EQ (Vdisplay_line_numbers, Qvisual)) > > This means that certain redisplay optimizations that make redisplay > particularly "cheap" are not tried, depending on line number display. See bug#54091. > Instead the more expensive redisplay methods are used that consider > whole windows or parts of them and so on. Or, in other words, line > number display can make redisplay less of a nop. Yes, and there's little wonder it's so: certain changes in the buffer and point position could potentially have effect on line numbers of lines that are not involved in the change, so more thorough redisplay is needed.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 05:41:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 01:41:23 2025 Received: from localhost ([127.0.0.1]:46982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twE5K-0003L2-MC for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 01:41:22 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:58720) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1twE5H-0003K0-66 for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 01:41:21 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43ce71582e9so21861535e9.1 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 22:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742708472; x=1743313272; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=tgYdPZPypRZ9ZkaLEGQGBWUw1ZKND8ImBNo6s54LlF4=; b=jvHS3b2IyK4DX34cBvZOqes1SyHmqJfSOoC8o6+CLy9rP75CipP1eFezxTWeZPdNch rQTJltdiLCpQ4F7dKqimtaQkvGaHp65IcKkcPH3enGn/Bxa9cUPAs87cU6ccI8DGUxuF hQFSRuOC+XlXmRjALNUbYOq1Yw00mXRSV/xfJU3DJearHj5QJkeLmwI9Zjcxlzz6W+om PVRnnzQIB18becqM39PfcWh98KHAJKUcC7BKlw6OwFBdIbpSzF+G9wB7gdv8eBn1M2BB mvgMLF90CGz8p52Qdhy1KQHRHuFUtex3zvEUpmXVOvhC3dt+z15p4dWnlN56N3OqrXOc P0Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742708472; x=1743313272; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=tgYdPZPypRZ9ZkaLEGQGBWUw1ZKND8ImBNo6s54LlF4=; b=pyz3nZ8V6Gjx1TpPWhOI8WLkgmyQBhDc135nnAJxBdDaBrzO+pq7D8ovWZSFxnM7K4 t6tz2KlphvcN93NPltkKS4YmdwOADpBYr8MR2xRB8LFX/GsBenDQcc3FhmpApRxN4Dsm HQLzKAAdFbswx8ljswc9QZDOADqxArD32HSnvV5MeFxyoDmDRRubrHOPrJAj8BPOAJjW HN6FUlCOTbKINlohy2RVTGKpkpxwdBcFJ8MHAdMVQuG3TFECIiyx/EHgTZZMzRv5MeV2 BG6wn7bP9TGNVEeVL+PtLMdQhEeG6DhGzd2SVbGz6cS/1CAot1M/Tdb5ll3l3EvF7EES Lv1g== X-Forwarded-Encrypted: i=1; AJvYcCVsM6UrrpY5H8ZS38uuhnA0LIS/osAjsBCFiwQ5KuMdEgN77gV6Z22wGVsKlWet+zlLzs96Sg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyo9TY3vU74swIH8W7rQPeEZSHqECrlVGwey5oEy+349Uo2/yLV Tr6zlhdIZ9BTR5F/fDJ6XdgZXaLvLKXTUoDJsX+EGavc2c44nzfXdgFI7g== X-Gm-Gg: ASbGnctDwq0WukjrASFGI6s6/8x6WrI8Rap/gaSetr8YE4ku6CWfAqos3ENAzkoKJqV GTCWHWwCPz7I+1W1HtO5zIj+z5F4z2XTIpYpcylu4bbem35kbXJPp2wAhxGHsP/aBl0onbMDRAd kO/gVLtgrdP6CNX+ggkWByQSeqkc7tGE9WeY65GTGesBh+zbXW2dzD6eE5Hs1v26832BT1GG7Ek rQ0UIDtqgKxvCy5QxMMRm1naP13yG4/6lyazO15y3SmbquOrxXhLtN1pw/MxKpqZR2iXDqR4u9X kd0LC+Ho/lUJmu9NpTrcQ1QJStpWdsMH+GVFyVs9eBeo4D2SF9xuovIPyVGUmqDEStOH6j4UBHh QOrQLjGPPfV2DYXA0uMMLWSOcxpAgzNTuTqwpXwz/sros/F6bNbw86Q== X-Google-Smtp-Source: AGHT+IH6AId4FHoiTYibbgbcY7YgBEvlvUviHegLM1e3w4wa9OdES9Ohr5B5cuw6YfiLBwjnE9Imiw== X-Received: by 2002:a05:600c:1e0f:b0:43c:f050:fed3 with SMTP id 5b1f17b1804b1-43d509eec2fmr90376925e9.11.1742708472459; Sat, 22 Mar 2025 22:41:12 -0700 (PDT) Received: from pro2 (p200300e0b74246003905926930245d32.dip0.t-ipconnect.de. [2003:e0:b742:4600:3905:9269:3024:5d32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fd18505sm75578015e9.11.2025.03.22.22.41.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 22:41:12 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: "Aaron Jensen" <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <m8l6cwfn.3eb66048-f864-4d4d-a193-7be2e1b84a0e@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> <m8l6cwfn.3eb66048-f864-4d4d-a193-7be2e1b84a0e@HIDDEN> Date: Sun, 23 Mar 2025 06:41:10 +0100 Message-ID: <m2cye85mo9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) "Aaron Jensen" <aaronjensen@HIDDEN> writes: > Thanks! I think I see now what's going on. > > redisplay_internal has this (line numbers may differ): > > xdisp.c: > 17368 && (NILP (Vdisplay_line_numbers) 17369 || EQ (Vdisplay_line_numbers, Qvisual)) > > This means that certain redisplay optimizations that make redisplay particularly "cheap" are not > tried, depending on line number display. > > Instead the more expensive redisplay methods are used that consider whole windows or parts of them > and so on. Or, in other words, line number display can make redisplay less of a nop. > > So, with line numbers, hidden buffer with process -> wait_reading_process_output -> > redisplay_internal -> update_window (or similar) -> ... -> row_equal_p -> the equal macros > > My vterm buffers do not have line numbers, so it sounds like it's > considering the line number status of the currently visible window, > does that sound right? Yes, it's the value in current_buffer. Don't see ATM where that is set, but it's normally the buffer of the selected window. Maybe that's implicitly the case if consider_all_windows is false. > > And it looks like there's a FIXME comment right above it: > > ``` > /* FIXME: The following condition is only needed when > significant parts of the buffer are hidden (e.g., under > hs-minor-mode), but there doesn't seem to be a simple way of > detecting that, so we always disable the one-line redisplay > optimizations whenever display-line-numbers-mode is turned on > in the buffer. */ Yeah, I've seen that, but I couldn't figure out what circumstance prevents using the optimizations in this case, specifically when line numbers are displayed. An enigma :-).
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 05:10:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 01:10:40 2025 Received: from localhost ([127.0.0.1]:46914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twDbb-0007As-5F for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 01:10:40 -0400 Received: from mail-ua1-x92b.google.com ([2607:f8b0:4864:20::92b]:43265) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1twDbY-00079a-FO for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 01:10:37 -0400 Received: by mail-ua1-x92b.google.com with SMTP id a1e0cc1a2514c-86d6fd581f4so3891341241.1 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 22:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742706630; x=1743311430; darn=debbugs.gnu.org; h=message-id:date:from:references:in-reply-to:to:subject:cc :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yDN/0h1RczKj786w4oDXLpIYjE5UoKwXGWQsJdLstoM=; b=ZI7YJDQTk5+9akMyMMZYca2HbO/z8jCJXmZeh238ODH/Lag19c4Qrt8bkhz1+IuTSf /SfxS+gPmMhYjsv9M6D4sY/QBTNeOTSdhoTv8i+Rr8VwtKAVmuRk3KjbSHfCm3jxteup 65+hiNzubqCAyXMdSy8vmvG3PBU22pymdkdZH/m7BTH+wDAktwNKnXOXPK9OCByjcvat 7sgzDDs0MVuNb9Scql4zYK9/PGxYTBo99oMfIQ3t8v9neHemEEFAc4cAi0zFDicGr967 12hJ5cXZjgtErTBfiE5/hnwbxqdE0NRqDjtT9kX2XpTeEoUzzZIaYfGTwypPjD5WAZ0e QEug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742706630; x=1743311430; h=message-id:date:from:references:in-reply-to:to:subject:cc :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yDN/0h1RczKj786w4oDXLpIYjE5UoKwXGWQsJdLstoM=; b=mbAlqNZjabxlB0HeBDS7yrt7tttqyxUyfHT8R+AipSb8P2SQqLy2yiRrUgArQT8+sf 6J6fLQMK1l3aHqme3mOTkg8mm+muPMtQNKEibMD8AqfjcqLHjZXKl/j2QfIQC4yKYVPV yJIkBudh/sWXJ3q/LfCbGFFCs5LHojjLinyWjV7RQpB/bcY24FW1PyhQvC36MklYRSIe rlio33j0liRezec3PZ4BjDJgIt5e4aOB14nJ+anci+pX/SA5htR8sFBm6IsPEvcBHC1/ ps1ZZtxp43dFGcTstOvRsGSAbIgU6frRJ3jUe2GTMDNog43oD2H8qzohQCgLMflLJYxd B9zA== X-Forwarded-Encrypted: i=1; AJvYcCUau7si2+HErPBZwhBGjg6vjsqk92gqJEFFepNNpsSYNb8Tbn02Ss+1kKvjR0tT7xC0OBW+DA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzkmZ25R1YfNXWwldWDeYP6sP3vbS2k0bqJZVah0HpNagBhA0Ku cjh3/O+BsaT36/stA7WLw9jLBb/x4w1Ld+RenxMy9GQH3YT+E5riVfljKQ== X-Gm-Gg: ASbGncuCcLuDld8B32AeEkJIP9znCxpg+McgFx3X6INAJvDj0La7B9gC+h6ijidxLr4 pvbeJX3Ngrn3UqwM71kyWdi/mh2J0DaXW2MImfTqc/uOo8KOZMSGBqc/siuhIGCyBKoWcrSeUfa 2T0xqw1jRWDtHCLyr2L0vbT2nwJSw90N+7EkrwlNarOL2VpJgIe7Ye/7WbtrwEed6iggM6sYUq9 hIjOpHjLWCLjRhPUwYnVIAQw1ejkl3Z+pV90UOfs1La0z0FJj+9rFR6m/30ZTYA9VVEQu5NFTOp cQzJqUFvEYhWcTcugNeFnXjhXPAbX6swaDIuglgTARoeu+aUeJEIHT/dC/JcKLmO22iY4RCLYSx f0Nw= X-Google-Smtp-Source: AGHT+IHaZVg/G51b/qhiV90ZjlB9FkLtvDQuagQxCa69moEpLo2+wk2vnmXp6+X1hhqTsjlyfEpN3A== X-Received: by 2002:a05:6102:4a07:b0:4c0:435b:5dd2 with SMTP id ada2fe7eead31-4c4fbf73224mr7797093137.1.1742706630044; Sat, 22 Mar 2025 22:10:30 -0700 (PDT) Received: from localhost (0.92.231.35.bc.googleusercontent.com. [35.231.92.0]) by smtp.gmail.com with UTF8SMTPSA id ada2fe7eead31-4c50bd7598asm1086363137.24.2025.03.22.22.10.28 for <77039 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Mar 2025 22:10:29 -0700 (PDT) Mime-Version: 1.0 X-Mailer: Superhuman Desktop (2025-03-19T19:15:29Z) X-Superhuman-ID: m8l6ik42.fa06af7e-14eb-4356-87e5-77350d06bd60 X-Superhuman-Draft-ID: draft00b8a16bef547447 Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2ldsw5oqe.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> <m2ldsw5oqe.fsf@HIDDEN> From: "Aaron Jensen" <aaronjensen@HIDDEN> Date: Sun, 23 Mar 2025 05:10:22 +0000 Message-ID: <m8l6cwfn.3eb66048-f864-4d4d-a193-7be2e1b84a0e@HIDDEN> Content-Type: multipart/alternative; boundary=f93b6979c84482a2b342c6985170c1939f6a863419507da5b75bee70cd33 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --f93b6979c84482a2b342c6985170c1939f6a863419507da5b75bee70cd33 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sat, Mar 22 , 2025 at 9:56=E2=80=AFPM, Gerd M=C3=B6llmann < gerd.moellma= nn@HIDDEN > wrote: >=20 >=20 >=20 >=20 >=20 > Aaron Jensen < aaronjensen@HIDDEN > writes: >=20 >=20 >=20 >>=20 >>=20 >> Right, and I agree. I'm trying to find a way to explain the difference >> that Aaron sees with and >> without his config. Otherwise I have no idea how to proceed with this. >>=20 >>=20 >=20 >=20 >=20 > > >=20 >=20 >=20 >>=20 >>=20 >> It's global-display-line-numbers-mode. >>=20 >>=20 >>=20 >=20 >=20 >=20 > > >=20 >=20 >=20 >>=20 >>=20 >> Repro from emacs -Q: >>=20 >>=20 >>=20 >=20 >=20 >=20 > > >=20 >=20 >=20 >>=20 >>=20 >> (defun foo () >> (Interactive) >> (global-display-line-numbers-mode) >> (term "/usr/bin/yes") >> (switch-to-buffer "*scratch*")) >>=20 >>=20 >=20 >=20 >=20 > > >=20 >=20 >=20 >>=20 >>=20 >> Aaron >>=20 >>=20 >>=20 >=20 >=20 >=20 > Thanks! I think I see now what's going on. >=20 >=20 >=20 >=20 > redisplay_internal has this (line numbers may differ): >=20 >=20 >=20 >=20 > xdisp.c: > 17368 && (NILP (Vdisplay_line_numbers) 17369 || EQ (Vdisplay_line_numbers= , > Qvisual)) >=20 >=20 >=20 > This means that certain redisplay optimizations that make redisplay > particularly "cheap" are not tried, depending on line number display. >=20 >=20 >=20 >=20 > Instead the more expensive redisplay methods are used that consider whole > windows or parts of them and so on. Or, in other words, line number > display can make redisplay less of a nop. >=20 >=20 >=20 >=20 > So, with line numbers, hidden buffer with process -> > wait_reading_process_output -> redisplay_internal -> update_window (or > similar) -> ... -> row_equal_p -> the equal macros >=20 >=20 >=20 >=20 My vterm=C2=A0buffers do not have line numbers, so it sounds like it's cons= idering the line number status of the currently visible window, does that s= ound right? And it looks like there's a FIXME comment right above it: ``` /* FIXME: The following condition is only needed when significant parts of the buffer are hidden (e.g., under hs-minor-mode), but there doesn't seem to be a simple way of detecting that, so we always disable the one-line redisplay optimizations whenever display-line-numbers-mode is turned on in the buffer.=C2=A0 */ Thanks, Aaron --f93b6979c84482a2b342c6985170c1939f6a863419507da5b75bee70cd33 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span class=3D"sh-date" style=3D"color: rgba(0, 0, = 0, 0.6);">On Sat, Mar 22</span><span style=3D"background-color: rgba(0, 0, = 0, 0); color: rgba(0, 0, 0, 0.6);">, 2025 at 9:56=E2=80=AFPM, Gerd M=C3=B6l= lmann <</span><a href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_b= lank" class=3D"" style=3D"background-color: rgba(0, 0, 0, 0);">gerd.moellma= nn@HIDDEN</a><span style=3D"background-color: rgba(0, 0, 0, 0); color: r= gba(0, 0, 0, 0.6);">> wrote:</span><br/></div></div></div><div class=3D"sh-quoted-content= "><div class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote"><di= v> <br/></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0.= 8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div> <br/></div><div class=3D""><div class=3D""><p class=3D"">Aaron Jens= en <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:aaro= njensen@HIDDEN">aaronjensen@HIDDEN</a>> writes: <br/></p><blockquote class=3D""><p class=3D""> Right, and I agree. I'm trying to find a way to explain the difference= that Aaron sees with and <br/> without his config. Otherwise I have no idea how to proceed with this. </p></blockquote><p class=3D""> > <br/></p><blockquote class=3D""><p class=3D""> It's global-display-line-numbers-mode. <br/></p></blockquote><p class=3D""> > <br/></p><blockquote class=3D""><p class=3D""> Repro from emacs -Q: <br/></p></blockquote><p class=3D""> > <br/></p><blockquote class=3D""><p class=3D""> (defun foo () <br/> (Interactive) <br/> (global-display-line-numbers-mode) <br/> (term "/usr/bin/yes") <br/> (switch-to-buffer "*scratch*")) </p></blockquote><p class=3D""> > <br/></p><blockquote class=3D""><p class=3D""> Aaron <br/></p></blockquote><p class=3D""> Thanks! I think I see now what's going on. <br/></p><p class=3D""> redisplay_internal has this (line numbers may differ): <br/></p><p class=3D""> xdisp.c: <br/> 17368 && (NILP (Vdisplay_line_numbers) 17369 || EQ (Vdisplay_line_numbers, Qvisual)) </p><p class=3D""> This means that certain redisplay optimizations that make redisplay particularly "cheap" are not tried, depending on line number displa= y. <br/></p><p class=3D""> Instead the more expensive redisplay methods are used that consider whole windows or parts of them and so on. Or, in other words, line number display can make redisplay less of a nop. <br/></p><p class=3D""> So, with line numbers, hidden buffer with process -> wait_reading_process_output -> redisplay_internal -> update_window (o= r similar) -> ... -> row_equal_p -> the equal macros<br/></p></div><= /div></blockquote></div></div></div></div></div><div><div><br/></div><div>M= y vterm=C2=A0buffers do not have line numbers, so it sounds like it's c= onsidering the line number status of the currently visible window, does tha= t sound right?<br/></div><div><br/></div><div>And it looks like there's= a FIXME comment right above it:<br/></div><div><br/></div></div><div>```<b= r/></div><div>=C2=A0=C2=A0 /* FIXME: The following condition is only needed= when<br/></div><div>significant parts of the buffer are hidden (e.g., unde= r<br/></div><div>hs-minor-mode), but there doesn't seem to be a simple = way of<br/></div><div>detecting that, so we always disable the one-line red= isplay<br/></div><div>optimizations whenever display-line-numbers-mode is t= urned on<br/></div><div>in the buffer.=C2=A0 */<br/></div><div><br/></div><= div><div>Thanks,<br/></div></div><div><br/></div><div>Aaron</div></div><div= ><div style=3D"display: none; border: 0px; width: 0px; height: 0px; overflo= w: hidden; visibility: hidden;"><img src=3D"https://r.superhuman.com/EPgor1= akLEJImqcg14uvBsPK5Mdy1gdK0rqxwJuBwA4P_Esefr4fn-HbtfrzAraSOOGu9eF7Pq73a6ME5= m28d3NkTg-hT6zGacpx-ysHxlSnsfGf3IS-1ygWvUzPM-HBUmxJmV6HHoz1fHu6DWvrBHrFmTX0= lR_t0wdRRGOCyHiY3q6nLLTuBB4.gif" alt=3D" " width=3D"1" height=3D"0" style= =3D"display: none; border: 0px; width: 0px; height: 0px; overflow: hidden; = visibility: hidden;"/><!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --></div></div></div></body></html> --f93b6979c84482a2b342c6985170c1939f6a863419507da5b75bee70cd33--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 23 Mar 2025 04:56:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 00:56:53 2025 Received: from localhost ([127.0.0.1]:46880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twDOG-0004vq-L5 for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 00:56:52 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:58510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1twDOD-0004ui-JC for 77039 <at> debbugs.gnu.org; Sun, 23 Mar 2025 00:56:50 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3913fdd0120so1799795f8f.0 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 21:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742705803; x=1743310603; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=nRYL2T35RJ8BSEPVuona9GbRmmTNJqpmo85WFPg9ptM=; b=Ic9aCLP+LYHmXVnObIb8XTLYUonDwdLrdL0OpQdkPAiJRLDS76og99jUsFno6iT6UF 2+JDmuB3wOiCYAE/9mhUq2yMXjW/4pTEcSSRpbw9XLoPCWMSpQU4U5bu/q2uGiYBhcgK zOQPMpAfBbYXQ7zL6W1N43eLPXIjkgrQQGvUXkWm2lDT3CqA2UHI1ht8/IdNJGvCpCpN yeGxeuZEYj8lcLV0cMmuQtji/EHoXzzqOzaOxUOcJ5uH6eBxOwf4Iiryjh5ZUFYHtrd6 bUD/gKF4ukZGjJYh0eMun8VviLczBzZIHgXK3Ta4avcPKJltdjJH9Fc3YT/09HwV97vj EbFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742705803; x=1743310603; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nRYL2T35RJ8BSEPVuona9GbRmmTNJqpmo85WFPg9ptM=; b=mFWVOpsCcjSbadTLIi4XR2/zYS/YNd0Oid+s1iAyrCqBgdOn+SLqgbG+kuFCXRIePb mCDn9TtA7nVAyMgZZM5es+O1iEe/gEYS1FcDFo64LFdmWFYBUwbWGjKhwYFXlNcWX0zw 4cbEb/C413IfSZArIO7Qry7to3rvOZslwkm3Pbvypns8RQeEpQQ7x6ZQKDd/qDw6BZ5v xC0Wgq3ujeP4TSfp3s4aW0OJoogsl8y014eO2/7FZML6jozAMnx2shuEJJcL573wXziE io5Kdfxisfzn+jo0YUAZC7+QMsy0GOhmphYdUNPpKyt1ZHolBELyD/CDCq0Xgt4pQon4 70eA== X-Forwarded-Encrypted: i=1; AJvYcCUgtgcaP1GtOtIVxPKvsBopFlxjQyQzxFlUPTwoqx7nKXAc7VuGTLCQ/ciLeOuHhd6iyUyU2Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxEW9uxK0UzltW9a6ocnvAfovlGfTzevxf5rK03SGMBBU1lh34l w6k53cqblAFHXoUxkRH4Fty0DUCgWxHXcKNkg7M+MgvCJmpmbIFOZJQZTw== X-Gm-Gg: ASbGncuGGls1P0ufcSK7Nq8LxTn/1r+ZTs3NMnU5rnezJXJxiV1VKyRh4Z2o1kyppdc 9KsiTlz3sjvkg0w5vmaEaOuW6LuOuhf7e25T6vG0hTskGem5JCX8atEjFa/8zi6d9eRawzkV9zC PMr6G0mLT1KSpDsbUf8gse1ukMudCSliX+HqqkSWx0C+EI3KXeG1AuwzK5xcAmVNTr1NNq1HP3+ b22ji9KVah88nOWZW4cwMOBoRC47xiTBO/+0c0s/DchRHTvmBxqee3q4ZtnO935hS2rLXMM6hvY LyUTcK9n7n/LYNthVqh4LlP3GChZOoAFhxSuKZ51pzztCyF/AKuXvgQ4Hh9/2R+WRusaVWANl4a F/OrRaw6iSeQg9n/YHWzgD6XM+9jVS/u9KxOe1exCEI4GbqFUVvsbsw== X-Google-Smtp-Source: AGHT+IFBa1zd4TcISe/UpJ6qFL5jgto/Qyfsf4PCebZrabvsqv/TDeB0iN2TMhNzLNpHFtgrMP5CjA== X-Received: by 2002:a5d:59ab:0:b0:391:78a:33de with SMTP id ffacd0b85a97d-3997f8fde42mr7074687f8f.12.1742705802852; Sat, 22 Mar 2025 21:56:42 -0700 (PDT) Received: from pro2 (p200300e0b74246003905926930245d32.dip0.t-ipconnect.de. [2003:e0:b742:4600:3905:9269:3024:5d32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3997f9e6445sm6813984f8f.71.2025.03.22.21.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 21:56:42 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> Date: Sun, 23 Mar 2025 05:56:41 +0100 Message-ID: <m2ldsw5oqe.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Right, and I agree. I'm trying to find a way to explain the difference that Aaron sees with and > without his config. Otherwise I have no idea how to proceed with this. > > It's global-display-line-numbers-mode. > > Repro from emacs -Q: > > (defun foo () > (Interactive) > (global-display-line-numbers-mode) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > Aaron Thanks! I think I see now what's going on. redisplay_internal has this (line numbers may differ): xdisp.c: 17368 && (NILP (Vdisplay_line_numbers) 17369 || EQ (Vdisplay_line_numbers, Qvisual)) This means that certain redisplay optimizations that make redisplay particularly "cheap" are not tried, depending on line number display. Instead the more expensive redisplay methods are used that consider whole windows or parts of them and so on. Or, in other words, line number display can make redisplay less of a nop. So, with line numbers, hidden buffer with process -> wait_reading_process_output -> redisplay_internal -> update_window (or similar) -> ... -> row_equal_p -> the equal macros
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 21:38:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 17:38:13 2025 Received: from localhost ([127.0.0.1]:46019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw6Xk-0006vR-HX for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 17:38:12 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:49247) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tw6Xh-0006uU-Pb for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 17:38:10 -0400 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-3061513d353so34828841fa.2 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 14:38:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742679483; x=1743284283; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uDjUq5N7y+b3YY6e/owWbgDGpx0adtKgjgXbUg5juwk=; b=RLmRdtWi7FBt1IcnY954ultZUuDHKW0Memt7QNKaWZrcRVXlqjhzqTcF4bSLvloDv+ nCcGgkqLFn45ajkUSCyxZJpB9h1jQw1nibTWAJjUUo9Jp/W+tijz1Z950O74VijprziK 7hkTNjI2fuN2wHGqTLVFzRw4OCNhGdyGz6IbPPt0AVGLbGlxvskJFVJR52hGwtJz146G 8KkkNtFpizrYJ+MHhqGn4PYE81ZeZVy1uP9Qe4JG2WzBtlCi32ImwZWD8/w1uxk6EaWe XvSa/odXYripjJpK85OENQLPuYStDFIW/91oYwi6Fpo/W8ryvlMiRmU4OMcY/3/vo7X2 S+aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742679483; x=1743284283; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uDjUq5N7y+b3YY6e/owWbgDGpx0adtKgjgXbUg5juwk=; b=NfukTXswPzO4CQCO8r9degQ8X2EbVjBzZKEKQ4KqZSdkPYh2rWlGiwwwTF9islcolb otXzYycW0GFSVpQm8uiK0W7QiMYoFZ6z4Enxd9lnq4LXP8BDPu8YkPKXkM3o/VoYEAjE OGBa/TDnmqoCFPeMZwGeP98X54wMgCRBzrgD5EEr33R3qwAbeOfmb5Ief2SWG9dhfkdV IkjDLEWpE5YdnjEqHxwgDp9H4sUDOk4+tnhetJ8itYkqJXn9AxnB5YtNIkqH6DiIYDGB fi+yUezlkx+5qJlzV21fsz8SBWy/3EWtnX2Y8ME0psUoR2XbCcWyHTW5ZGEVeu8Slh0z E4Hg== X-Forwarded-Encrypted: i=1; AJvYcCWgJCjxZ6nXE7kPBcfW4RZ2wiaHMn/HMv6DSqO2HMVJcq7mhNA5SJEKr4EJdrPDcfPZ5aVsZA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwRcyaMRfLeyMGYEaCeWdCcFRAOxboIFRTjPXKRFphYvL4G2m6z hxvT5J2NfHC5cY89cBoDBoQvheIN3/1HzmuGFYCVsDEI5Q87q6PyTGemN3Lb7yuanVkTejZbAt5 4juAxW8AcNZTRS96zDQLubO0m9TE= X-Gm-Gg: ASbGncv7+5WWQDVMHYWwA81bmr/E6kgIp0kjSQTFR6dBzsqoisLQCttCdI+K2GVc0V8 x7QL4sjiy8NoX6zMEShMY+oxTVKU9Ji6KOq6LACSV7iKE2LyjKONxvEmlqRnqrBKAJPW+a25o1M /jWJ0KlaLhdgHHRPDuSRHqcQpy+HoAx+kwoREoXbRpV+Jr4jm6PA== X-Google-Smtp-Source: AGHT+IFp2k+lqcxQinpB73zka+/VcyBd3GvHA74WYwFSUt1P+65tUODYHIiqU/GGTZDQG1NQ65vXqyP2kYDMrn0IGHg= X-Received: by 2002:a05:651c:2204:b0:308:df1e:24c4 with SMTP id 38308e7fff4ca-30d7e3141fbmr27982831fa.29.1742679482504; Sat, 22 Mar 2025 14:38:02 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 17:38:01 -0400 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 17:38:01 -0400 Mime-Version: 1.0 X-Mailer: Superhuman Desktop (2025-03-19T19:15:29Z) X-Superhuman-ID: m8kqct9e.5770f08a-7eca-4cd9-8766-8a9f5e078646 X-Superhuman-Draft-ID: draft00c102024bbd25c9 In-Reply-To: <m2pli86bpq.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> <m2pli86bpq.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 22 Mar 2025 17:38:01 -0400 X-Gm-Features: AQ5f1JqM0aARyCLyjbk1sCFfoorMlfSHWi5jp60WmjdU0HyGok2uv8vmebjbXrs Message-ID: <CAHyO48zQJ245W=K9F8L=yxXD2b+tQA3uA-Ksc=2UbArVpQ4Eng@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000831f010630f52f85" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000831f010630f52f85 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 22, 2025 at 1:40 PM, Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN= om> wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > > From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> Cc: aaronjensen@gmail= .com, > alan@HIDDEN, 77039 <at> debbugs.gnu.org Date: Sat, 22 Mar 2025 21:20:09 > +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > I'd also look for something doing things to mode-line-format first, maybe= . > But I also have no real idea what that is. > > Given that the glyph rows in question have their mode_line_p flag reset, > is that still a possibility? > > Hm, probably not. > > But could this make a difference? > > dispnew.c: > 5261 static int > 5262 scrolling_window (struct window *w, int tab_line_p) > > Why would scrolling_window be called at all if we never call update_windo= w > for buffers that are not shown in any window? > > AFAIU, the scenario is that the sub-process is inserting text into a > buffer that isn't shown in any window on display. In this case, redisplay > is supposed to conclude that no window needs to be redrawn, and if so, > update_window will not be called for any window. Right? > > Right, and I agree. I'm trying to find a way to explain the difference > that Aaron sees with and without his config. Otherwise I have no idea how > to proceed with this. > It's global-display-line-numbers-mode. Repro from emacs -Q: (defun foo () (Interactive) (global-display-line-numbers-mode) (term "/usr/bin/yes") (switch-to-buffer "*scratch*")) Aaron --000000000000831f010630f52f85 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sat, Mar 22, 2025 at 1:40 PM, Gerd M=C3=B6llmann </spa= n><span dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellmann@HIDDEN= om" target=3D"_blank" class=3D"">gerd.moellmann@HIDDEN</a>></span><sp= an style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</= span></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><di= v class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_= extra"><div class=3D"gmail_quote"><p class=3D"">Eli Zaretskii <<a target= =3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:eliz@HIDDEN" class= =3D"">eliz@<wbr>gnu.<wbr>org</a>> writes: <br></p><blockquote class=3D""><blockquote class=3D""><p class=3D""> From: Gerd M=C3=B6llmann <<a target=3D"_blank" rel=3D"noopener noreferre= r" href=3D"mailto:gerd.moellmann@HIDDEN" class=3D"">gerd.<wbr>moellmann@= <wbr>gmail.<wbr>com</a>> Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:aaronje= nsen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>, <a target= =3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:alan@HIDDEN" cla= ss=3D"">alan@<wbr>idiocy.<wbr>org</a>, <a target=3D"_blank" rel=3D"noopene= r noreferrer" href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D"">77039@<wbr>d= ebbugs.<wbr>gnu.<wbr>org</a> Date: <span class=3D"sh-date">Sat</span>, <span class=3D"sh-date">22 Mar 20= 25</span> 21:20:09 +0100 <br></p><p class=3D""> Eli Zaretskii <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"= mailto:eliz@HIDDEN" class=3D"">eliz@<wbr>gnu.<wbr>org</a>> writes: <br></p><blockquote class=3D""><blockquote class=3D""><p class=3D""> I'd also look for something doing things to mode-line-format first, maybe. But I also have no real idea what that is. <br></p></blockquote><p class=3D""> Given that the glyph rows in question have their mode_line_p flag reset, is that still a possibility? <br></p></blockquote><p class=3D""> Hm, probably not. <br></p><p class=3D""> But could this make a difference? <br></p><p class=3D""> dispnew.c: <br> 5261 static int <br> 5262 scrolling_window (struct window *w, int tab_line_p) </p></blockquote><p class=3D""> Why would scrolling_window be called at all if we never call update_window for buffers that are not shown in any window? <br></p><p class=3D""> AFAIU, the scenario is that the sub-process is inserting text into a buffer that isn't shown in any window on display. In this case, redisplay is supposed to conclude that no window needs to be redrawn, and if so, update_window will not be called for any window. Right? <br></p></blockquote><p class=3D""> Right, and I agree. I'm trying to find a way to explain the difference that Aaron sees with and without his config. Otherwise I have no idea how to proceed with this.<br></p></div></div></blockquote></div></div></div= ></div><div class=3D""><div class=3D""><br></div></div><div class=3D""><div= class=3D""><div class=3D""><div class=3D""><div class=3D""><div class=3D""= >It's global-display-line-numbers-mode.<br></div><div class=3D""><div c= lass=3D""><br></div></div><div class=3D"">Repro from emacs -Q:<br></div><di= v class=3D""><div class=3D""><br></div></div><div class=3D""><span class=3D= "" style=3D"font-weight:400;text-decoration-style:initial;text-decoration-c= olor:initial">(defun foo ()</span><br></div><div class=3D""><span class=3D"= " style=3D"font-weight:400;text-decoration-style:initial;text-decoration-co= lor:initial">(Interactive)</span><br></div><div class=3D"">(<span class=3D"= ">global</span>-display-line-numbers-mode)<br></div><div class=3D""><span c= lass=3D"" style=3D"font-weight:400;text-decoration-style:initial;text-decor= ation-color:initial">(term "/usr/bin/yes")</span><br></div><div c= lass=3D""><span class=3D"" style=3D"font-weight:400;text-decoration-style:i= nitial;text-decoration-color:initial">(switch-to-buffer "*scratch*&quo= t;))</span><br></div><div class=3D""><div class=3D""><br></div></div><div c= lass=3D""><span class=3D"">Aaron</span><br></div></div></div></div></div><d= iv><br></div></div></div><div></div></div></body></html> --000000000000831f010630f52f85--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 20:40:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 16:40:28 2025 Received: from localhost ([127.0.0.1]:45883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw5dr-00017J-Q4 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:40:28 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:61743) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tw5dp-00016Y-7T for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:40:25 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-43cf0d787eeso34383185e9.3 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 13:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742676019; x=1743280819; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QdFdVodJx0iVBKee3j+lOkeHE0rrcsqz1BLVp6cXGsM=; b=K03tHgUhHa9WBLny6xmQj9K3xWtqGJuJGf6ERHgl3hlnU3AAO804nzEtJkrXBA6nuc FEWFACnCOyjWKfY3/VroYu5Kxbl6Q3S9/H9j4Miq/xfRp01z7qfNUqcpmsr8XLams7eV sWIqVquqzGdT/mJzraiQeo3WF8OE2F1cxaA69/1H6Ma4jFXUzi5FpPspff0sVna1NIHT 0mVpo8CESuOIfRCvrm6kvdcxr+wPZAtomcqMxuITFXsLa+PDR+xdDT993tucqn6vSSwz INRxTECW2g5XwtzSU+6r9lGqHDBXcyM0vOCljY9rS5buhlvpnaxevAOW4lLMWz/lyJJV 109A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742676019; x=1743280819; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QdFdVodJx0iVBKee3j+lOkeHE0rrcsqz1BLVp6cXGsM=; b=BnQMaerrVxuOj4R6iCzMk4MdXobmMZiTXbQDth7L5zOAktT2t412PJHcQ860Lagy4O 8TRF5v/RSUVPJ/je1Gmpgd6TSMr04GcKBYofUrNlHu1m1cwU1b3SrHHJz4fL3kpd32XG V/cRyOmhSKu52MWdsy0cZKk/K/IfOEOYiQ0f2SHP3br4DY8bzTDwbaKLJ7+RWLC50rGt DP/arKr3phHDOwv1ql0VOPo74JLS+/dleZhXRWg7mrlQz3lbxHtH+aORZlsXyYL6v2ZA /P712ov4FpKG9Ykaao/M4GU9MnOMoqbKAwPd1u+f0SfTGNE7on7PxvZ/Q+q+NVYljPml AqDw== X-Forwarded-Encrypted: i=1; AJvYcCUOypsJDnRiVnyO53nto0Rbn2HQHTdP5LefuNhcfp6+rGIQ3XQsZvCmqAAD5PcPBQBDkIb/Bw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyTyiR8qQdmF9uM49OW7Cf7q7t2TjbXnvxVeYNRx6xsOIQ1ZXeE hLEln7mlWJ14wTOIPCZ1JVKgKFXHmfqSVVFINeymYyPtfqDDfIHEWpsfAQ== X-Gm-Gg: ASbGncvaFUJsB5XJif5qpz3so59nj7RDynOlyfrWM1tqfH+wzQSsx5GceDLrvHuycSw sGqkcVBnzHzhIsmVuFVtb9KqZ5NYzUMtziCN8RcIxHkjwfT1lHXSg88qEhlg9PQvs7kXyx5qf1o 9dCYnqTFFzjJfeIPw/Pij/7dO2Op07OqAVbeEueckm15+Wm9hG6UJEnOYHg7SIUygi5ufPuIAaE 7e2m/yG0aC1Cu0fMEOA2Ce7eB+YkYmoIxHcB9W7tF55irL315S3+xh/kMjFupwnpHHAjQ7hYu81 Vwr4Z+VXHnK4r3pCQko7p52N/+uikDPC/ffBbCX6XzzH2kq/YKswxybNu4OuloX50CizaPe1YOZ 7axVc10QRqv8pRKXYqsVf8IfvwLdkv2u5FiqTW0igFTfrf9KIs7x/0A== X-Google-Smtp-Source: AGHT+IGn4XPHB6DmsvJU5fqrA1yHkw6orcfxPvZX8X0uvdvQDXGG+mhuntJZgOYeGv0bumGmF2dB1g== X-Received: by 2002:a05:600c:83cf:b0:43d:22d9:4b8e with SMTP id 5b1f17b1804b1-43d509ec3famr88949335e9.10.1742676018500; Sat, 22 Mar 2025 13:40:18 -0700 (PDT) Received: from pro2 (p200300e0b7145700710257a0fb2f1f7a.dip0.t-ipconnect.de. [2003:e0:b714:5700:7102:57a0:fb2f:1f7a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3997f9955fbsm5901187f8f.5.2025.03.22.13.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 13:40:18 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <86v7s0hkpu.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> <86v7s0hkpu.fsf@HIDDEN> Date: Sat, 22 Mar 2025 21:40:17 +0100 Message-ID: <m2pli86bpq.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Cc: aaronjensen@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org >> Date: Sat, 22 Mar 2025 21:20:09 +0100 >>=20 >> Eli Zaretskii <eliz@HIDDEN> writes: >>=20 >> >> I'd also look for something doing things to mode-line-format first, >> >> maybe. But I also have no real idea what that is. >> > >> > Given that the glyph rows in question have their mode_line_p flag >> > reset, is that still a possibility? >>=20 >> Hm, probably not. >>=20 >> But could this make a difference? >>=20 >>=20 >> dispnew.c: >> 5261 static int >> 5262 scrolling_window (struct window *w, int tab_line_p) > > Why would scrolling_window be called at all if we never call > update_window for buffers that are not shown in any window? > > AFAIU, the scenario is that the sub-process is inserting text into a > buffer that isn't shown in any window on display. In this case, > redisplay is supposed to conclude that no window needs to be redrawn, > and if so, update_window will not be called for any window. Right? Right, and I agree. I'm trying to find a way to explain the difference that Aaron sees with and without his config. Otherwise I have no idea how to proceed with this.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 20:32:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 16:32:40 2025 Received: from localhost ([127.0.0.1]:45851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw5WK-0000Dp-4Q for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:32:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40700) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw5UH-0008Oe-Sq for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:30:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tw5UB-0006XG-7u; Sat, 22 Mar 2025 16:30:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wqZ/Bb2ORXTbCcsah5DOMs6xlHf2GZgh+CwkFyQMVEo=; b=YGuRHwewDuKnDe4QgEoo P1uYN20gW7GHTOgPHsevQT2PTsslFXWdE0+IGnoPvCg1vzfPbXVpkSfFFHfP3QtdmkWUhTLRBRtOv 8KEmSNKzww1FQ+MEjeVmhzjmE/O1HqdeJ5hfvg3m0FrpaC+1ssLV0xC9QCSvd7kbkvpG6x9sGw24+ 0+S61X06oeh7tthWtttap5p3yVDE5cN/PIg0KoefyeblckyoVEV7cemZshk4muvZhzgZgQCZxRF9C lJUpecCpcJA8Qnh1QZcQZp7PdRwRaPwTnjCbUsvbORo9PkvwmKzcu2c3sxwq7uorMRvDsbTXAQPRl 5UkgA2ut1NaluA==; Date: Sat, 22 Mar 2025 22:30:21 +0200 Message-Id: <86v7s0hkpu.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2wmcg6cna.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sat, 22 Mar 2025 21:20:09 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> <m2wmcg6cna.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: aaronjensen@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 21:20:09 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> I'd also look for something doing things to mode-line-format first, > >> maybe. But I also have no real idea what that is. > > > > Given that the glyph rows in question have their mode_line_p flag > > reset, is that still a possibility? > > Hm, probably not. > > But could this make a difference? > > > dispnew.c: > 5261 static int > 5262 scrolling_window (struct window *w, int tab_line_p) Why would scrolling_window be called at all if we never call update_window for buffers that are not shown in any window? AFAIU, the scenario is that the sub-process is inserting text into a buffer that isn't shown in any window on display. In this case, redisplay is supposed to conclude that no window needs to be redrawn, and if so, update_window will not be called for any window. Right?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 20:20:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 16:20:21 2025 Received: from localhost ([127.0.0.1]:45593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw5KO-0007Gh-Ir for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:20:21 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:46561) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tw5KL-0007EY-6z for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 16:20:18 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43bb6b0b898so28111505e9.1 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 13:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742674811; x=1743279611; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qRm4RlwYGEVTugChZDsH/HffkmKLTEvPOWQtOfA+A5o=; b=QBgoLMXIBO0bRrLH4JRHc1be9Hf0dEH75QPN8be5B4Q6V9j2xHdLFA8cQT3/gViqBn d5Y1lE1I41wILJhVreqrQRX3bsyhD5XiFfQONaOi2hFIkGUp8TUBNPI6D7FkakpP9sA6 Kv5Cx3zUmYbJCrv8yk5mqOgeg4jkiMjiYdqLX3mF0OS13v3w8+qNZw/unJt/8gOGEfSz 20DPyzZlARCqMBdW6h+3zeZg3dUj3xU2Eh0SAD0Xq9fzAhXUEAbp8GRUiwYW3Akekn11 Yt3/cexx97nXnOVhOS8ZujanHnAkjmi5Vu4cZ0aA7WyKu6+wrX/tOvqo8TNcM0zq9se4 TNVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742674811; x=1743279611; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qRm4RlwYGEVTugChZDsH/HffkmKLTEvPOWQtOfA+A5o=; b=MO+1fQduePAniREAxrrWyU2PX45gPYS9CppRnIVSvHYSHmZI0Oy2w13FdCJf68yaeO a3Dg+/DK5WF/4zi0jtpL9pHZxRxYp1V7J73gm+iLNFn7cciOpW0vtpNJ/ZpdjhcaljlJ EE8dcwV7sdnFx6bw6sTzgj/Xo5PaQj60tuVjKo7+JEHEeWUZWuCw8FYe+wmDmvmyfhfx SiITR8ElkiZram6i5qXu6sQ2dN4AOhVmv32u6pp5EqB30Gr6bhk99d2hv81m5y8yXvYi gjLnz9Zdz0BH62Rmc/TwlRxTlIrNyVNzGNuH0dMIhJM/dinonxqP5lxYA68zlf0H9Hj1 zTHA== X-Forwarded-Encrypted: i=1; AJvYcCVLO0cSTKIsJLtEThtsls1L6LAW7Yr/m97ArVWOp5VSKmffnSxJRiSanxxUO6JrCVX3doYCLg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzPDiEIgTGvPHVG7z3HpJzCiZRNcxdVNZKpeh76ak4wdqHxCF7T zDFo2hC7ojXJGI8c6IkMyMcZif7NqU6eGiE4E0Dj5tQt6ugb/vrrgPHgJA== X-Gm-Gg: ASbGnctReW3/jUu4epZL6+2PAWTdWODnygBHtufNpsS4aDTN+UE109Le78UDHeTlahb wcQ/ca0gPWb+uYLDeyvPnbf+sM9L11KghZJd2a6pRxjH2MdqBAxYGEpM7f2tZzKuTQTuaVEkkkk hVErf8RK7R5dQnnU8baotbS5vBlt65LARPsKuon+d0sq5vy5oF2xVeNbaYg4PxiVoUtRB3St3JT +YjItgZdY+lgSCX3uCUamav9cxTnHE6eDqy1TeT1iMvvQXm1vBaGDvkMCQTsa9IkXItBpKamcKF 05w43uXjBcsGhe54QJuBwFNkyJGM8ENnpR5nUmjSTf/6rM2yn1vzGJyUex7PJg1QvmE6olNW2R8 ueU+7jIU+S9F9XTN6QZLXgOb3AE3gBxTYVKwrgIVratkYUS10hefC8mN0nDlvOLfl X-Google-Smtp-Source: AGHT+IFAUaW9jzjq8JW10wPU3QRRfiXc44r5sd/ZjhzzyvcvdbWyDsFUzDtDlBrsbV2wPUIYLJeFEQ== X-Received: by 2002:a05:600c:4e41:b0:43d:1824:aadc with SMTP id 5b1f17b1804b1-43d50a3632emr78628355e9.29.1742674810482; Sat, 22 Mar 2025 13:20:10 -0700 (PDT) Received: from pro2 (p200300e0b7145700710257a0fb2f1f7a.dip0.t-ipconnect.de. [2003:e0:b714:5700:7102:57a0:fb2f:1f7a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3997f9a3af8sm5992698f8f.31.2025.03.22.13.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 13:20:10 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <868qowj2fz.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> <868qowj2fz.fsf@HIDDEN> Date: Sat, 22 Mar 2025 21:20:09 +0100 Message-ID: <m2wmcg6cna.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Cc: Aaron Jensen <aaronjensen@HIDDEN>, alan@HIDDEN, >> 77039 <at> debbugs.gnu.org >> Date: Sat, 22 Mar 2025 18:43:58 +0100 >>=20 >> Eli Zaretskii <eliz@HIDDEN> writes: >>=20 >> > I'm afraid you will need to come up with a reproduction recipe for >> > this, so that we could investigate what causes this. Maybe it's a bug >> > or maybe I'm missing something. >>=20 >> If it's something in Aaron's config, maybe he could bisect this. > > I hope so. > >> I'd also look for something doing things to mode-line-format first, >> maybe. But I also have no real idea what that is. > > Given that the glyph rows in question have their mode_line_p flag > reset, is that still a possibility? Hm, probably not. But could this make a difference? dispnew.c: 5261 static int 5262 scrolling_window (struct window *w, int tab_line_p) 5263 { 5264 struct glyph_matrix *desired_matrix =3D w->desired_matrix; 5265 struct glyph_matrix *current_matrix =3D w->current_matrix; 5266 int yb =3D window_text_bottom_y (w); 5267 ptrdiff_t i; 5268 int j, first_old, first_new, last_old, last_new; 5269 int nruns, run_idx; 5270 ptrdiff_t n; 5271 struct row_entry *entry; 5272 struct redisplay_interface *rif =3D FRAME_RIF (XFRAME (WINDOW_FRAME= (w))); 5273=20 5274 /* Skip over rows equal at the start. */ 5275 for (i =3D tab_line_p; i < current_matrix->nrows - 1; ++i) ^^^^^^^^^^ (That can apparently be 0, 1, or 2. Bad name.) 5276 { 5277 struct glyph_row *d =3D MATRIX_ROW (desired_matrix, i); 5278 struct glyph_row *c =3D MATRIX_ROW (current_matrix, i); 5279=20 5280 /* If there is a row with a stipple currently on the glass, give 5281 up. Stipples look different depending on where on the 5282 display they are drawn, so scrolling the display will produce 5283 incorrect results. */ 5284=20 5285 if (c->stipple_p) 5286 return 0; ^^^^^^^^^^^^^^^^^ What's that stipple thing? Aaron, could that stipple be different with an without your config? =20 5287=20 5288 if (c->enabled_p 5289 && d->enabled_p 5290 && !d->redraw_fringe_bitmaps_p Or something in the fringes? 5291 && c->y =3D=3D d->y 5292 && MATRIX_ROW_BOTTOM_Y (c) <=3D yb 5293 && MATRIX_ROW_BOTTOM_Y (d) <=3D yb 5294 && row_equal_p (c, d, 1)) But that's clueless guessing.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 19:22:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:22:37 2025 Received: from localhost ([127.0.0.1]:45524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4QX-0007Gw-0S for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:22:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38070) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw4QU-0007GV-Vp for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:22:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tw4QN-0006RA-UM; Sat, 22 Mar 2025 15:22:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SF7wZOwcRznDsb73HiwUFCoumZ5nJTwcqi9yDK+JjA0=; b=ToL/du3U+Wjw54fH8MKA ruJ0pxpozGm5ajPhdwIUmsfArpvg5f3RL20NDRPe2VDBc2GssozRlAIX0dOVlWqzcp+Dt6WAU267I evVmAYFcUMeBzKh5eJlFN1x3HBaY9vW980piZ3HSkSloDsodFSApen+rpTUzkBcyC0x0VmxdEwY0T qAIZIBCrGxl7TNPnPX76gS/Yrdsjsk8reWj7zKY4kMejqM3B7KFvd6asl6e36E6E6EBt5A9RF7EVr NdsmHLpzl9RdfyaoH+KRvff79DUxMfNRW/cjLBrg0gIE/tgeIEt3OBOIoUc1WZ5ho70O9i7WDpUhQ 8iYFyoYx31kKxQ==; Date: Sat, 22 Mar 2025 21:22:08 +0200 Message-Id: <868qowj2fz.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m234f57yg1.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sat, 22 Mar 2025 18:43:58 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> <m234f57yg1.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Aaron Jensen <aaronjensen@HIDDEN>, alan@HIDDEN, > 77039 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 18:43:58 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > I'm afraid you will need to come up with a reproduction recipe for > > this, so that we could investigate what causes this. Maybe it's a bug > > or maybe I'm missing something. > > If it's something in Aaron's config, maybe he could bisect this. I hope so. > I'd also look for something doing things to mode-line-format first, > maybe. But I also have no real idea what that is. Given that the glyph rows in question have their mode_line_p flag reset, is that still a possibility?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 17:44:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 13:44:09 2025 Received: from localhost ([127.0.0.1]:45344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw2tF-0004Zi-B1 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:44:09 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:49658) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tw2tC-0004Ys-Ir for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:44:07 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-43cec5cd73bso19724235e9.3 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 10:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742665440; x=1743270240; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Mchn+uyw72C9NpROAhHpSIxq1AN02fV7zM9mvlMUl6Y=; b=fg4CO5OO6ShHVQDIvuTY69I7TZcPcrDCqzNMbZ4fvBgj/PN6WslsaW4KJxhdJjq4c6 sbDXFIseNx/+nErjrh5gWsox/5YVpWrltMhzL1R5ys7YBoKFKNjVcVGCrzCv/UdRx8o2 wmkmC68pcK38MqeqmztyUaZoChlH6wo74zens30Vi8LUef0mHHJFTwHZ31x8geODFAg/ r0TKfA2ffFvfh5A/+WS3iR0Z/XnwbQcxFF2AvHIobCvcrT/XJcTNtLsmuQNstJRAifJO nqEO9UEB5vfP4PxmgGFFNWfFsKGAXliaCV4/v+TVGtzuZ0prHPe2TIKpgaDQzWwPBmGN nCBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742665440; x=1743270240; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Mchn+uyw72C9NpROAhHpSIxq1AN02fV7zM9mvlMUl6Y=; b=kiwkJBxKwt6TxD52AP+GobvDykl8jTpytDJrbHi3C1K47zoJ6VwmlrJLIOiInETrVJ iC0UCDSJL0gkjZ00UMZOYhr5rF9hu1vbFbV4HFcJc3mpY61/RWcfVxCCAdd7hVIX/Wm1 18fPRcl2XblI6LYgXgjnzYxen68hgeFV6DcejR0OSgvQJx7kbRusSLKZvdAVzzBBD2+Z ZzSB6YZw/l13BuUogs073wTc7cilfip6VOhIjToZObWfM+XSEb+iB03/KupCkqMJUEHD Jdzgz2gNvHROCOqppE4ie9CBTXUh+kn3ZfIS3RFPtbkJ7UtojynXHEk313bs+jPGrxGg s2tA== X-Forwarded-Encrypted: i=1; AJvYcCWE6BAMC4iqi95Zfvi5C4Xcmt54lRRliT0+oF8vXmiUwOdh1oWk4MFfcRXleJ0mJT8suC8kIQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzIqXZHvTGLHK9OJICLzLLeB96mNpqpvljTQwvXWZ6cY9YpFzLG EYIx+V8Ywi0BfRQPn5DRTEzrYnEPHU23tFz7C9YMqtOrWb4IjmEUQa9L2g== X-Gm-Gg: ASbGncu/zni/7e0RgL2ZBkTT+UnMDfg/BWLoULQvop7WR+CrbHEiywowoUXMCMOjNBo yAJP8EQmLaKAw7b/7AKXDopx/zXsXbGqr+VwWjmD77p1BvXutvZsSKIyx43IRQnXoY+H0uaO2kd TiBin6hFPJgUf5M6CB7kH5iM89zb87CpGfxOy1kDOngVMtfkysu1pC5JziR62Jg00PLXCZhpd4p sEFYQTiWFjszpLQ7J39YnyJVUhu1I+WGTLiNWyApEehfuerUNeRlk2os1j4+s0pZY6Ow4iWxDth ag3NsoM3ObgBSBA1LzosNlQCtIwRGFsqQf7FXw7f6bgwzonraFoKg2zLoi2MUP0nbweuYjNPOzC JuEiaKwlunk9916WB9oxT2NTj2A/akgBq2vMgXIyt3OuAsOpW9L5i0Q== X-Google-Smtp-Source: AGHT+IFv9LiZ1/cl7P2uqDHrzVA9tY/VK4vmmalFfNgp6Vr5a9kF4gFi6uHzFFFkZhVshekp6NL9Vg== X-Received: by 2002:a05:600c:3b29:b0:43d:683:8ca3 with SMTP id 5b1f17b1804b1-43d509e2df8mr53445845e9.5.1742665439662; Sat, 22 Mar 2025 10:43:59 -0700 (PDT) Received: from pro2 (p200300e0b7145700710257a0fb2f1f7a.dip0.t-ipconnect.de. [2003:e0:b714:5700:7102:57a0:fb2f:1f7a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fd277d5sm62773805e9.19.2025.03.22.10.43.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Mar 2025 10:43:59 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <86cye9hu0i.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> <86cye9hu0i.fsf@HIDDEN> Date: Sat, 22 Mar 2025 18:43:58 +0100 Message-ID: <m234f57yg1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, Aaron Jensen <aaronjensen@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Aaron Jensen <aaronjensen@HIDDEN> >> Date: Sat, 22 Mar 2025 09:47:47 -0700 >> Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org >>=20 >> On Sat, Mar 22, 2025 at 9:41 AM, Eli Zaretskii <eliz@HIDDEN> wrote: >>=20 >> From: Aaron Jensen <aaronjensen@HIDDEN>=20 >> Date: Sat, 22 Mar 2025 09:17:08 -0700=20 >> Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org >>=20 >> In my config, I definitely see matrix comparisons when hidden buffers a= re updated. It's >> row_equal_p and update_text_area that are called in rapid succession ev= en when the shell >> buffer is not visible. I tried disabling both my tab bar and my header = line (I don't use a mode line) >> and I still saw it updating.=20 >>=20 >> Here's an example log output, this repeats as quickly as yes emits "y"= =20 >>=20 >> dispnew.c:4775=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:1295=20 >> dispnew.c:4775 >>=20 >> Is the mode_line_p flag of the glyph row set when these comparisons are= made? >>=20 >> I see this: >>=20 >> update_text_area updated_row->mode_line_p: 0 >> update_text_area updated_row->mode_line_p: 1 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 >> =E2=80=A6 Many more of these in each iteration =E2=80=A6 >>=20 >> So it's set in one update_text_area, but not another. > > I'm afraid you will need to come up with a reproduction recipe for > this, so that we could investigate what causes this. Maybe it's a bug > or maybe I'm missing something. If it's something in Aaron's config, maybe he could bisect this. I'd also look for something doing things to mode-line-format first, maybe. But I also have no real idea what that is.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 17:09:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 13:09:47 2025 Received: from localhost ([127.0.0.1]:45185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw2Ly-000741-LE for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:09:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33298) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw2Lv-00073j-UM for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:09:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tw2Lp-0007Qw-FG; Sat, 22 Mar 2025 13:09:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=BiOWHWtosH3nBZRqIjXwhT3g/Onaj26oKQ91OZpHP64=; b=oUOOlUh2GQ6fTcT0O2Mf i2Us9KBCW+9u9bTTY7LUmnqwcJVxjlp8O2pXJRlft8nE1EatKHrbd3AANSuMyDTcXURll5hlHhfLN OhdkD9DzxX25o6R49jrboXLJPQpXfsGebPGHzmn5bWMrzXRKIE5Vx+ZmV4WAvIHG2CpQlHpugBaAK cdVoJyuX3cyEJI8DfREDbRYNJD8Kxh6FCQPhSe1iVGcs4BGcjlFBKC9ooYwz266x54Wb2gc5G38xD AIi4azOzNQmDONOVg4H4LbRaLC1AhGtAWv7eEJFi1fMVuHf6ybwr0pK1wcpgnxUb1JPa6E7/Vkw8w fVixHobKsYP5tA==; Date: Sat, 22 Mar 2025 19:09:33 +0200 Message-Id: <86cye9hu0i.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> (message from Aaron Jensen on Sat, 22 Mar 2025 09:47:47 -0700) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 09:47:47 -0700 > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > On Sat, Mar 22, 2025 at 9:41 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 09:17:08 -0700 > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > In my config, I definitely see matrix comparisons when hidden buffers are updated. It's > row_equal_p and update_text_area that are called in rapid succession even when the shell > buffer is not visible. I tried disabling both my tab bar and my header line (I don't use a mode line) > and I still saw it updating. > > Here's an example log output, this repeats as quickly as yes emits "y" > > dispnew.c:4775 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:4775 > > Is the mode_line_p flag of the glyph row set when these comparisons are made? > > I see this: > > update_text_area updated_row->mode_line_p: 0 > update_text_area updated_row->mode_line_p: 1 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 > … Many more of these in each iteration … > > So it's set in one update_text_area, but not another. I'm afraid you will need to come up with a reproduction recipe for this, so that we could investigate what causes this. Maybe it's a bug or maybe I'm missing something.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 16:47:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 12:47:58 2025 Received: from localhost ([127.0.0.1]:45000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw20r-0005sm-Ut for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:47:58 -0400 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:52275) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tw20o-0005sW-Pl for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:47:55 -0400 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-30bf7d0c15eso30591011fa.0 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 09:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742662068; x=1743266868; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nACO/4tnSQKLcUwfZr4btdj9FOnub8YFCiwO+06+xnQ=; b=mbcnOldZxZvGhyEicH3yjp2UC8tMX/C0eXnyN0XsOtIzTVYNBSJFlvCrOcmXH7rQSx cai3ewlRAJOPfF0l3WzUwoBZJhbPYlUs6I79zW7OYyNpcSWQZKTsrgBgUh0nFaqrlnlw Aj2UVjWJHST3R1AtML/8wPX0TJjOEWUcjNLt5X3XJ4Fy1AZybXSArOVLwjvQkDr3SMtm ls2AwYh1wxS7mGaa318LeJUj74nlNz6Y/5xwSx0TRTgLWPxL+YA8pzVLig757T1qsgir sPlq+GZVVULYyAPYr5nrS+tGLJaaHhvi0ulD2C9r3+5DYyTZAnqFfDtOF0cSgzATJvCe udzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742662068; x=1743266868; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nACO/4tnSQKLcUwfZr4btdj9FOnub8YFCiwO+06+xnQ=; b=qAy112WnKQzD3nZjPwW12ndfqKqJXKwY9GwZqltiNo2rVQ9B8H+2M1CdGb8lWVCeDd /ML4oUCiK7B3VmBPYHFMJMbF8zICHifwR2PLduYt9x4x8KB0h9iNx4kavT0LS+9wbYgz kzC3Hg49RWp43o945trm4rvuL3bnM8YP2uvRGLVkrLgUYKj5Gf2Soi0NLEmssrT8150Z 4TOsPDO7rNaRWiX5mZkv46W7LBx5S+NRceRoNuBUp/43df/C3GqWgwWF4EkkOWXzr9sd +VyIIAW1pqEoECAUTiJFmcKVHjvGcWK4S1APzPq7CWwoa2kea0N8enM++ai/ct2jd5pN bv7g== X-Forwarded-Encrypted: i=1; AJvYcCUmecbbP4CfY2PV0rgj8dOM7KE/dK1EUD75Csj1itwMe1sDtVHuEZLwFYEUCsgTshlNFLlXeA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyNBHZSIHI7l74i2Aw64+ebWNeBcKU6GZDAmbfyr9II3IB/zAib JfTUTgnQl0PqPa0A5a22zuzDZq/x/dAKa8HbLmN+ocum/I8NJGhxM30bE8IVIFEmrSfYvDqVrRb mH/QGIvqPMainrYKAFiFJpJWCt68= X-Gm-Gg: ASbGncsT1rTh5MrXSPKJShq9PvGK/xMrLPaWRgU7gf6QRVtOvClOvZ+MnTlS3m7UbSz qSVoZBa357+tlcMezMMo8wpeZXUAFaEdMc8mdO5Qn5DOV3gIZwH5ivYY2wh74vWmCiXgv6OXGXO r4t3pt+P8xPYES5NnAB34H4Cgts9mLTo943ncNzQIMqGtKB9WfCA== X-Google-Smtp-Source: AGHT+IGE/8zHghM3RFU9ddj+a+XVSkHcedp/yr80rVEwknH8xzEBwZfrkhxdzfYCEsSFyLKH3unmxDmxXmt3tBw19UM= X-Received: by 2002:a05:6512:ea8:b0:549:8ed4:fb4f with SMTP id 2adb3069b0e04-54ad64946e5mr2481209e87.23.1742662067824; Sat, 22 Mar 2025 09:47:47 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 09:47:47 -0700 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 09:47:47 -0700 Mime-Version: 1.0 In-Reply-To: <86frj5hvap.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> <86frj5hvap.fsf@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-19T19:15:29Z) X-Superhuman-ID: m8kfzki8.46ad5d8c-4d89-4e1d-8b19-2d06363c2ba0 X-Superhuman-Draft-ID: draft005fc582370249aa From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 22 Mar 2025 09:47:47 -0700 X-Gm-Features: AQ5f1Jq4AqoYgmmAkulFGOkCc3ua5axM1_WVmMjYU1tW91DgoSaUKBxzb_EmRao Message-ID: <CAHyO48wm=WxNdfwEg39fWXco8iOct6pcuKso6uYCOALJE_8cvw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000008433e80630f1210d" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000008433e80630f1210d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 22, 2025 at 9:41 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 09:17:08 -0700 > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > In my config, I definitely see matrix comparisons when hidden buffers are > updated. It's row_equal_p and update_text_area that are called in rapid > succession even when the shell buffer is not visible. I tried disabling > both my tab bar and my header line (I don't use a mode line) and I still > saw it updating. > > Here's an example log output, this repeats as quickly as yes emits "y" > > dispnew.c:4775 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:4775 > > Is the mode_line_p flag of the glyph row set when these comparisons are > made? > I see this: update_text_area updated_row->mode_line_p: 0 update_text_area updated_row->mode_line_p: 1 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 row_equal_p a->mode_line_p: 0 b->mode_line_p: 0 =E2=80=A6 Many more of these in each iteration =E2=80=A6 So it's set in one update_text_area, but not another. Aaron --0000000000008433e80630f1210d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)" class=3D"">On Sat, Mar 22, 2025 at 9:41 AM, Eli Zaretskii= </span><span dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" ta= rget=3D"_blank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"backgr= ound-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)" class=3D""> wrote:</span><b= r></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><div c= lass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_ext= ra"><div class=3D"gmail_quote"><blockquote class=3D""><p class=3D""></p><di= v class=3D"">From: Aaron Jensen <<a target=3D"_blank" rel=3D"noopener no= referrer" href=3D"mailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr= >gmail.<wbr>com</a>> <br></div><div class=3D""> Date: <span class=3D"sh-= date">Sat</span>, <span class=3D"sh-date">22 Mar 2025</span> 09:17:08 -0700= <br></div><div class=3D""> Cc: <a target=3D"_blank" rel=3D"noopener norefe= rrer" href=3D"mailto:gerd.moellmann@HIDDEN" class=3D"">gerd.<wbr>moellma= nn@<wbr>gmail.<wbr>com</a>, <a target=3D"_blank" rel=3D"noopener noreferrer= " href=3D"mailto:alan@HIDDEN" class=3D"">alan@<wbr>idiocy.<wbr>org</a>,= <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:77039@debb= ugs.gnu.org" class=3D"">77039@<wbr>debbugs.<wbr>gnu.<wbr>org</a><br></div><= p></p><p class=3D"">In my config, I definitely see matrix comparisons when = hidden buffers are updated. It's row_equal_p and update_text_area that are called in rapid succession even when the shell bu= ffer is not visible. I tried disabling both my tab bar and my header line (I don't use a mode line) = and I still saw it updating. <br></p><p class=3D"">Here's an example lo= g output, this repeats as quickly as yes emits "y" <br></p><p cla= ss=3D""></p><div class=3D"">dispnew.c:4775 <br></div><div class=3D""> dispn= ew.c:1295 <br></div><div class=3D""> dispnew.c:1295 <br></div><div class=3D= ""> dispnew.c:1295 <br></div><div class=3D""> dispnew.c:1295 <br></div><div= class=3D""> dispnew.c:1295 <br></div><div class=3D""> dispnew.c:1295 <br><= /div><div class=3D""> dispnew.c:1295 <br></div><div class=3D""> dispnew.c:4= 775<br></div><p></p></blockquote><p class=3D"">Is the mode_line_p flag of t= he glyph row set when these comparisons are made?<br></p></div></div></blockquote></div></div></div></div><div clas= s=3D""><div class=3D""><br></div><div class=3D"">I see this:<br></div><div = class=3D""><br></div></div><div class=3D"">update_text_area updated_row->= ;mode_line_p: 0<br></div><div class=3D"">update_text_area updated_row->m= ode_line_p: 1<br></div><div class=3D"">row_equal_p a->mode_line_p: 0 b-&= gt;mode_line_p: 0<br></div><div class=3D"">row_equal_p a->mode_line_p: 0= b->mode_line_p: 0<br></div><div class=3D"">row_equal_p a->mode_line_= p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_equal_p a->mode_l= ine_p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_equal_p a->mo= de_line_p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_equal_p a-&g= t;mode_line_p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_equal_p = a->mode_line_p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_equa= l_p a->mode_line_p: 0 b->mode_line_p: 0<br></div><div class=3D"">row_= equal_p a->mode_line_p: 0 b->mode_line_p: 0<br></div><div class=3D"">= row_equal_p a->mode_line_p: 0 b->mode_line_p: 0<br></div><div class= =3D"">row_equal_p a->mode_line_p: 0 b->mode_line_p: 0<br></div><div c= lass=3D"">row_equal_p a->mode_line_p: 0 b->mode_line_p: 0<br></div><d= iv class=3D"">=E2=80=A6 Many=C2=A0more of these in each iteration =E2=80=A6= <br></div><div class=3D""><br></div><div class=3D"">So it's set in one = update_text_area, but not another.<br></div><div class=3D""><div class=3D""= ><br></div></div><div class=3D"">Aaron</div></div><div></div></div></body><= /html> --0000000000008433e80630f1210d--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 16:42:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 12:42:04 2025 Received: from localhost ([127.0.0.1]:44973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw1vA-0005bD-Ev for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:42:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50852) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw1v7-0005ac-KJ for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:42:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tw1v1-00010X-Fc; Sat, 22 Mar 2025 12:41:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yYPYleTquTALklozrIX1zCiov9Nusbe9DLFrlmkkTBA=; b=JFSAkSVD7eIw 8eG/IZS5fJqdjoa+udrofN6rpi+3gYxtLExQEF74PpMAGBVk6p7YUKlUGyh60dabZQkDLvoDlQWUo j8HcZVruEI/ixUwGDIXDUZORJ5E48uyXTLOk+jGYrU4JvUIQpHSCas8NZI1UhORSPwSxLUTU0Aw4i MpUiD12DHoWeOxNCyE//BV+87bMWcSpIwyadUmCglCcPKWNJGB1hBK978V2jt6+pjRmoCIvi1fLyQ neeESYKE1r4RpKIJM45bb03uJj7u7PdKD55IDCjBrIJ9EE3SA/HmmtOZLdbqO+zJ5tcW+hOPFF3Oy P5IYqls5V3n2hmG+GaQ15Q==; Date: Sat, 22 Mar 2025 18:41:50 +0200 Message-Id: <86frj5hvap.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> (message from Aaron Jensen on Sat, 22 Mar 2025 09:17:08 -0700) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sat, 22 Mar 2025 09:17:08 -0700 > Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > > In my config, I definitely see matrix comparisons when hidden buffers are updated. It's row_equal_p and > update_text_area that are called in rapid succession even when the shell buffer is not visible. I tried > disabling both my tab bar and my header line (I don't use a mode line) and I still saw it updating. > > Here's an example log output, this repeats as quickly as yes emits "y" > > dispnew.c:4775 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:1295 > dispnew.c:4775 Is the mode_line_p flag of the glyph row set when these comparisons are made?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 22 Mar 2025 16:17:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 12:17:21 2025 Received: from localhost ([127.0.0.1]:44881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw1XE-0004Lg-Mi for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:17:21 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:48444) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tw1XA-0004LL-G6 for 77039 <at> debbugs.gnu.org; Sat, 22 Mar 2025 12:17:18 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-30b83290b7bso31492271fa.1 for <77039 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 09:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742660230; x=1743265030; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pHK0iGQhOVE8GYq81WfPJYnk1bQ5dLjQ0X8YSYO3W30=; b=L8LPll1JS+RLaxWf/aHqyRFOXDe02TMHn41qde0M98ZKoti2JmEAA18KFawBCb5Zbu VVO6OkVB9lfdpa6vQhbPBJOOC8xHHK6U1hdohFIFDTxNFk9+1xSC48MiG5mviBjQ0XIl RgBRk/qCBUAtmiK9lumckHb9R/pp+/jw/75mPzmnDL/ItirJJjVAERFGumaE9w/Uaml5 lU77THFrWCvN0nV1rEnY5FU+N9hRHneaoCLhIsL2p9Y6FVUSbNojBSmEybDXaUw3kFoE UQ034ThhcFieqdslF2RmTDL/Y4Bw/KxR2HTOOzUifnQYwL2KtmDJDRGGRTi24Ccgzc9F wf2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742660230; x=1743265030; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pHK0iGQhOVE8GYq81WfPJYnk1bQ5dLjQ0X8YSYO3W30=; b=XTmi6gkONZMoV05F0avuwQJBKQrxZbIlgm/ODhMt9wO7+vQKmP0qrUGi/PpNgyRAtp 7HLryM9PixYE1JumzVMGsabJTg25SNMkFkf8cgSS8IoZ5OdxEl/qV7gQb+D7Pj6MdAbs gVWgXbTGe1cIgdHi5CvYGSbacXIJyWtTle4EvrPiaWPmjhM43LU4v8loEjkLkQdPV1fO MA5F8GvJz18rkiUyLstnuyFhkLh9ZwvW53jAGA/WTA0SUxZcS4IWfSpZ3XWiE1eJQz+y Ui/Y1GKLRkXh58+HDqTMfTQq7HIOlzt+rHvbhecsOmFY7JCUOdGW02c3rVRA2bzLreFX vcTA== X-Forwarded-Encrypted: i=1; AJvYcCVGtj40YDrTXVG8hUEAdpy7GOt1ypvzlIvPQijxS0YpDVu9HUZ9io/pCeTyzvmcx4SP1spsjQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YypDOlctrq+piYXjtMifH7s/9nVjWoay6rmGb3LbYXYLC/A+Mvq sgdcFb9g7IT3GiGfoIIIwUbJMd0dh433mZEtGjaIGaELaOvWYXQgw1ggSTo8INsmdowCHILbkaB KK9hjjCqOCcBqEEIdGoQWi0XN7Mo= X-Gm-Gg: ASbGncsHh5iiybOX90bh9pWDTWd0TiGm8hC333FRB8wBQvf//3Zw7TDk4U/xtMECKNF YMKEC0AcsTaK7HoEylrc4LSjgSNtdMPS8Xyg1UkArDtVknYPHUOqGsWKvnbQeiTILihX1ZJ5zWD 7AOiHHs9YVeSrb7YUG9qLtjRRhh9LTU7FhQ8foHj1xEfw530p/pg== X-Google-Smtp-Source: AGHT+IGs51LTjVowSUVRIXiOnQTIPSxD1IufjHwAOaStGGL34pawu+dYTOl3mqKrCblC+sYcTFOlY8scBkKOxVPyI2M= X-Received: by 2002:a2e:9902:0:b0:30b:f283:5ef8 with SMTP id 38308e7fff4ca-30d7e234f87mr27585251fa.18.1742660229440; Sat, 22 Mar 2025 09:17:09 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 09:17:08 -0700 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 09:17:08 -0700 Mime-Version: 1.0 X-Superhuman-Draft-ID: draft00f40c81c438bc3b In-Reply-To: <867c4mqo1z.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> <867c4mqo1z.fsf@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-19T19:15:29Z) X-Superhuman-ID: m8kew5ms.41baab3c-9f7f-430e-ba1f-ba0d85e0b0c9 From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 22 Mar 2025 09:17:08 -0700 X-Gm-Features: AQ5f1Jqxcr-y_Z_QjRscL2o6H9RoY3aos7ZgMTnHI7FIeYRqqXjleL1wbakJwOU Message-ID: <CAHyO48wsWh+4f2VFNWJbtt5x7bJ-F=cmb9ZndrAsJ_H5Rg-c2Q@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000f0b21a0630f0b3f1" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000f0b21a0630f0b3f1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 18, 2025 at 9:52 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Tue, 18 Mar 2025 15:32:41 +0000 > Cc: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN>, alan@HIDDEN, 77039= @ > debbugs.gnu.org > > Yes, redisplay should be a nop, since the buffer which is modified is not > displayed. > > But Aaron seems to say we keep comparing the glyph matrices of the window > which is not show, something that should not happen, because we don't cal= l > update_frame on frames that are not visible. > > I tried to explain that I wasn't convinced that it was that, that it coul= d > have, and even likely was, a redisplay of the currently displayed buffer > (which is why *it* was flickering). Unless anyone thinks that there is > reason to investigate further, I'm satisfied with the answer that reading > process output can cause a comparison of glyphs, which is unlikely to > result in a redisplay of an unrelated buffer. > > Reading process output is not supposed to cause comparison of glyphs if > the buffer to which process output is directed is not being displayed. So > if you do see glyphs being compared in that case, we should look into tha= t. > The only glyphs that could be legitimately compared in that case are thos= e > on the mode line. > In my config, I definitely see matrix comparisons when hidden buffers are updated. It's row_equal_p and update_text_area that are called in rapid succession even when the shell buffer is not visible. I tried disabling both my tab bar and my header line (I don't use a mode line) and I still saw it updating. Here's an example log output, this repeats as quickly as yes emits "y" dispnew.c:4775 dispnew.c:1295 dispnew.c:1295 dispnew.c:1295 dispnew.c:1295 dispnew.c:1295 dispnew.c:1295 dispnew.c:1295 dispnew.c:4775 I can't reproduce this with emacs -Q, unfortunately. It seems to be have as you described. Hidden buffers do not cause comparisons. Aaron --000000000000f0b21a0630f0b3f1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Tue, Mar 18, 2025 at 9:52 AM, Eli Zaretskii </span><sp= an dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" target=3D"_bl= ank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"background-color:= rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</span></div></div></div><div c= lass=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_quote"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_qu= ote"><blockquote class=3D""><p class=3D""> From: Aaron Jensen <<a target=3D"_blank" rel=3D"noopener noreferrer" hre= f=3D"mailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>c= om</a>> <br> Date: <span class=3D"sh-date">Tue</span>, <span class=3D"sh-date">18 Mar 20= 25</span> 15:32:41 +0000 <br> Cc: Gerd M=C3=B6llmann <<a target=3D"_blank" rel=3D"noopener noreferrer"= href=3D"mailto:gerd.moellmann@HIDDEN" class=3D"">gerd.<wbr>moellmann@<w= br>gmail.<wbr>com</a>>, <a target=3D"_blank" rel=3D"noopener noreferrer"= href=3D"mailto:alan@HIDDEN" class=3D"">alan@<wbr>idiocy.<wbr>org</a>,= =20 <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:77039@debb= ugs.gnu.org" class=3D"">77039@<wbr>debbugs.<wbr>gnu.<wbr>org</a> </p><p class=3D""> Yes, redisplay should be a nop, since the buffer which is modified is not d= isplayed.=20 <br></p><p class=3D""> But Aaron seems to say we keep comparing the glyph matrices of the window w= hich is not show, something that should not happen, because we don't call update_frame on= frames that are not visible. <br></p><p class=3D""> I tried to explain that I wasn't convinced that it was that, that it co= uld have, and even likely was, a redisplay of the currently displayed buffer (which is why *it* was flickering). Unless a= nyone thinks that there is reason to investigate further, I'm satisfied with the answer that reading process= output can cause a comparison of glyphs, which is unlikely to result in a redisplay of an unrelated buffer. <br></p></blockquote><p class=3D""> Reading process output is not supposed to cause comparison of glyphs if the buffer to which process output is directed is not being displayed. So if you do see glyphs being compared in that case, we should look into that. The only glyphs that could be legitimately compared in that case are those on the mode line.<br></p></div></div></bloc= kquote></div></div></div></div><div><div><br></div><div>In my config, I def= initely see matrix comparisons when hidden buffers are updated. It's ro= w_equal_p and update_text_area that are called in rapid succession even whe= n the shell buffer is not visible.=C2=A0 I tried disabling both my tab bar = and my header line (I don't use a mode line) and I still saw it updatin= g.=C2=A0<br></div><div><br></div><div>Here's an example log output, thi= s repeats as quickly as yes emits "y"</div><div><br></div></div><= div>dispnew.c:4775<br></div><div>dispnew.c:1295<br></div><div>dispnew.c:129= 5<br></div><div>dispnew.c:1295<br></div><div>dispnew.c:1295<br></div><div>d= ispnew.c:1295<br></div><div>dispnew.c:1295<br></div><div>dispnew.c:1295<br>= </div><div>dispnew.c:4775<br></div><div><br></div><div><div>I can't rep= roduce this with emacs -Q, unfortunately. It seems to be have as you descri= bed. Hidden buffers do not cause comparisons.</div></div><div><br></div><di= v>Aaron</div></div><div></div></div></body></html> --000000000000f0b21a0630f0b3f1--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 16:53:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 12:53:03 2025 Received: from localhost ([127.0.0.1]:42800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuaBa-0008Mo-Gs for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 12:53:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47492) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuaBX-0008MG-IC for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 12:53:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tuaBO-0001RL-AY; Tue, 18 Mar 2025 12:52:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Kh6ItI5wFOqXvK6KdOxNetUadhnqMLyVq6fzTay7JaQ=; b=jwUqX5iSf8w8ySfEqkfz c+A2b0nZPhgwHP1DsIQWqJyNYJPsV/Jz6d5WeM+t1s518HVrIUCo4x7EFmfFDma4cFFAcKisDj46r jbDCpsug1F0JU06x13JwI7eH6Suj3TrvZPqadPfvhBjd+vwycJS0lWll1x6LdADB2mR2fclFFZjwe 2P7R8pLsYgd3W8OZekCnoyOJWNX7EOBzug9HlM5oYIo+wDm4e2Q0kIwCNkvLlQ5bW4rX7Rv3G+5eb 3oVmgUx93ymbSjqGGK94ZTwT9BVjnX+eulPG2cGVoJr818k7bfhr5C83SpQcowwWtwpibFC8L7wW6 H0v6VNlW26LU2Q==; Date: Tue, 18 Mar 2025 18:52:08 +0200 Message-Id: <867c4mqo1z.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> (message from Aaron Jensen on Tue, 18 Mar 2025 15:32:41 +0000) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Tue, 18 Mar 2025 15:32:41 +0000 > Cc: Gerd Möllmann <gerd.moellmann@HIDDEN>, alan@HIDDEN, > 77039 <at> debbugs.gnu.org > > Yes, redisplay should be a nop, since the buffer which is modified is not displayed. > > But Aaron seems to say we keep comparing the glyph matrices of the window which is not show, > something that should not happen, because we don't call update_frame on frames that are not visible. > > I tried to explain that I wasn't convinced that it was that, that it could have, and even likely was, a redisplay of > the currently displayed buffer (which is why *it* was flickering). Unless anyone thinks that there is reason to > investigate further, I'm satisfied with the answer that reading process output can cause a comparison of > glyphs, which is unlikely to result in a redisplay of an unrelated buffer. Reading process output is not supposed to cause comparison of glyphs if the buffer to which process output is directed is not being displayed. So if you do see glyphs being compared in that case, we should look into that. The only glyphs that could be legitimately compared in that case are those on the mode line. > If you'd like me to try the FILE/LINE logging, please let me know and I'd be happy to do it. If the above means you see something that shouldn't happen, then yes, please provide the traces.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 15:32:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 11:32:57 2025 Received: from localhost ([127.0.0.1]:42405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuYw5-00058P-6m for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 11:32:57 -0400 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:50333) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tuYvy-00056f-06 for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 11:32:54 -0400 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-30761be8fcfso63326891fa.0 for <77039 <at> debbugs.gnu.org>; Tue, 18 Mar 2025 08:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742311963; x=1742916763; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:in-reply-to:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zN9q26hwAB4Uhc43Qh9u/3dMXZZhS0QlZW3b0SD2W7c=; b=Vne4UjOSLo3HZWoLFbaHAvf7sjXBIx4vORsGkb06Ry1/mPVL4uExWs79B23B7TAB1g qN7K9WyUx+Eo4x44ZcENuBbpf7VsyV6UsUY1nudu3O05JbE+oTp8qzUcXlv00WQaYtZC kTnoKOoU0QubyPinw2DG8VxqWdDGx00QfOC1gVdxHsaMe5Ku5Wd+IdnH7xy/D3GZhkbI 3l79qOqTtrWPmRCoqBsRQMGdZo1OmrhrD6eEXU6nE4QDAVs92twFUKLK2LduM5+BOvaj Y4gUJC6fI32QD9DF0MXRYAKLwEP9pbYzy/ufhEKdOrZ3g6L3tJBeXe6H6tHK9qDpxbpw LFCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742311963; x=1742916763; h=cc:to:subject:message-id:date:references:in-reply-to:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zN9q26hwAB4Uhc43Qh9u/3dMXZZhS0QlZW3b0SD2W7c=; b=kboN+qIcG7nU6i3EeDYCUZlUg0ZoElgiJdpaP0yki1Y+fEy6NcWy4eTLA7x+3HXTb5 I4AL/EFW412EPoVt632CC6XQEkA3eCqzxlV8SGaw3kgzrW3rgQp57CTw1VlyL4M/3Q4G BQBYUpIwsSdc5uAyRFmkbXErxpjVNlBLmNJXeiM8ji8uMkF7VjX9htXBlSBQ+kMN7xrT BUTIEMAAPfjITXyBZPHrCPOkNSTClcSLH8HMWtDEzZ+2uZa4LwTA+DpdP/XPUM1JtM5s eIQLQIb6WZuW8mLhbEKqnI1FnFeY6FC6Sc+OevgCxdMzcsOePc/uNzYaf0HtUTehElEM QagA== X-Forwarded-Encrypted: i=1; AJvYcCW0DlQiJN11tX/aw4Vy4xU6EGcBjtNgHlaBJIlR0LZFJ0O0C78OCmuji/PMrpYqmb2sNGWz/g==@debbugs.gnu.org X-Gm-Message-State: AOJu0YynKjN7QxGxBhy0kmeVfVSqsOY9MHUcIsHlV+a9pGMEq5PrkPcP M6ga5+wHRGU9oSYKyQ1t7DFrcV6gFXr8GeE7fDnrLO5OPmOW2FWmGi0xoo5YJpXFugLNUjt5rO/ Ow9lcP3+Oqf9gAumwZCIT5WaWGzQ= X-Gm-Gg: ASbGncs14CcXorRTHlYvt37nyE4f2/flrr2fcXjLtSIp5lMPakktVgpFGPfgIL8DUKu QOds7AbcNbIHC9gHtzenUnp70EBbL/l1KorKcb2Nc7MR3qc/hTGhUhWdTuA03mDgxHzGTDo8A70 KKIun/D6YlrGVDuMteK6G19GIEFzq0mNoQ7ZXTAeqxdXSsOQFd0w== X-Google-Smtp-Source: AGHT+IE8OH3i48DHMJbBdk/z0YSDPdr0RjU7t+qYJhHZyZaAuptiAzF932A9adQ22B+kLJJU0zsDWl1SumTwdG9+bnU= X-Received: by 2002:a05:651c:1541:b0:30b:efa5:69a2 with SMTP id 38308e7fff4ca-30c4a876bd6mr104831791fa.19.1742311963113; Tue, 18 Mar 2025 08:32:43 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Tue, 18 Mar 2025 15:32:41 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Tue, 18 Mar 2025 15:32:41 +0000 Mime-Version: 1.0 From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-17T19:06:18Z) X-Superhuman-ID: m8enjl53.9d964450-e824-4829-87a3-b6b320798a0b X-Superhuman-Draft-ID: draft00bbb950defbfb3b In-Reply-To: <86h63qqxx7.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> Date: Tue, 18 Mar 2025 15:32:41 +0000 X-Gm-Features: AQ5f1JovPMqgUkrX3uomYtLWmQLtk1njf45gMwJsbzrsqI-eE-wBonMnW1riXpA Message-ID: <CAHyO48yYJkPSUMCdRhZVxH0XVv61E0-+Zu_84M3QAtS5VPpCnw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000a646c106309f9d6c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000a646c106309f9d6c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 18, 2025 at 6:19 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> Cc: Eli Zaretskii <el= iz@ > gnu.org>, alan@HIDDEN, 77039 <at> debbugs.gnu.org Date: Tue, 18 Mar 2025 > 07:02:53 +0100 > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Not Lisp, but: > > emacs -Q > M-x shell > yes<enter> > C-x b<enter> > > This will open a shell in a background buffer that is rapidly printing to > STDOUT (and displaying in the shell buffer) then switch to the scratch > buffer. If you add logging to the matrix comparisons you will see a rapid > uptick. I don't know if this has to do with the external process connecti= on > with Emacs. > > To be clear, I don't know if this is actually an issue given that the > matrix comparison is likely preventing the redisplay. > > Aaron > > When I configure with --enable-checking=3Dglyphs, and run, in emacs -Q, G= UI > version the function > > (defun foo () > (interactive) > (trace-redisplay 1) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > I see traces of the form > > redisplay_preserve_echo_area (12) > redisplay_internal 0 > redisplay_preserve_echo_area (12) > redisplay_internal 0 > ... > > The 12 means the call is from wait_reading_process_output, which reads th= e > output from /usr/bin/yes in this case. > > So, that explains where the redisplay comes from. Since there are no > further redisplay actions shown in the trace output, I think that redispl= ay > is more or less a nop in these cases. Didn't try without the fix that I > pushed. > > Yes, redisplay should be a nop, since the buffer which is modified is not > displayed. > > But Aaron seems to say we keep comparing the glyph matrices of the window > which is not show, something that should not happen, because we don't cal= l > update_frame on frames that are not visible. > I tried to explain that I wasn't convinced that it was that, that it could have, and even likely was, a redisplay of the currently displayed buffer (which is why *it* was flickering). Unless anyone thinks that there is reason to investigate further, I'm satisfied with the answer that reading process output can cause a comparison of glyphs, which is unlikely to result in a redisplay of an unrelated buffer. If you'd like me to try the FILE/LINE logging, please let me know and I'd be happy to do it. Thanks, Aaron --000000000000a646c106309f9d6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Tue, Mar 18, 2025 at 6:19 AM, Eli Zaretskii </span><sp= an dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" target=3D"_bl= ank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"background-color:= rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</span></div></div></div><div c= lass=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_quote"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_qu= ote"><blockquote class=3D""><p class=3D""> From: Gerd M=C3=B6llmann <<a target=3D"_blank" rel=3D"noopener noreferre= r" href=3D"mailto:gerd.moellmann@HIDDEN" class=3D"">gerd.<wbr>moellmann@= <wbr>gmail.<wbr>com</a>> Cc: Eli Zaretskii <<a target=3D"_blank" rel=3D"noopener noreferrer" href= =3D"mailto:eliz@HIDDEN" class=3D"">eliz@<wbr>gnu.<wbr>org</a>>, <a tar= get=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:alan@HIDDEN" = class=3D"">alan@<wbr>idiocy.<wbr>org</a>, <a target=3D"_blank" rel=3D"noop= ener noreferrer" href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D"">77039@<wb= r>debbugs.<wbr>gnu.<wbr>org</a> Date: <span class=3D"sh-date">Tue</span>, <span class=3D"sh-date">18 Mar 20= 25</span> 07:02:53 +0100 <br></p><p class=3D""> Aaron Jensen <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"m= ailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>= > writes: <br></p><blockquote class=3D""><p class=3D""> Not Lisp, but: <br></p><p class=3D""> emacs -Q <br> M-x shell <br> yes<enter> <br> C-x b<enter> </p><p class=3D""> This will open a shell in a background buffer that is rapidly printing to S= TDOUT (and displaying in the shell buffer) then switch to the scratch buffer. If you add logging to = the matrix comparisons you will see a rapid uptick. I don't know if this has to do with the extern= al process connection with Emacs.=20 <br></p><p class=3D""> To be clear, I don't know if this is actually an issue given that the m= atrix comparison is likely preventing the redisplay. <br></p><p class=3D""> Aaron <br></p></blockquote><p class=3D""> When I configure with --enable-checking=3Dglyphs, and run, in emacs -Q, GUI version the function <br></p><p class=3D""> (defun foo () <br> (interactive) <br> (trace-redisplay 1) <br> (term "/usr/bin/yes") <br> (switch-to-buffer "*scratch*")) </p><p class=3D""> I see traces of the form=20 <br></p><p class=3D""> redisplay_preserve_echo_area (12) <br> redisplay_internal 0 <br> redisplay_preserve_echo_area (12) <br> redisplay_internal 0 <br> ... </p><p class=3D""> The 12 means the call is from wait_reading_process_output, which reads the output from /usr/bin/yes in this case. <br></p><p class=3D""> So, that explains where the redisplay comes from. Since there are no further redisplay actions shown in the trace output, I think that redisplay is more or less a nop in these cases. Didn't try without the fix that I pushed. <br></p></blockquote><p class=3D""> Yes, redisplay should be a nop, since the buffer which is modified is not displayed. <br></p><p class=3D""> But Aaron seems to say we keep comparing the glyph matrices of the window which is not show, something that should not happen, because we don't call update_frame on frames that are not visible.<br></p></div></= div></blockquote></div></div></div></div><div><div><br></div><div>I tried t= o explain that I wasn't convinced that it was that, that it could have,= and even likely was, a redisplay of the currently displayed buffer (which = is why *it* was flickering). Unless anyone thinks that there is reason to i= nvestigate further, I'm satisfied with the answer that reading process = output can cause a comparison of glyphs, which is unlikely to result in a r= edisplay of an unrelated buffer.<br></div><div><br></div><div>If you'd = like me to try the FILE/LINE logging, please let me know and I'd be hap= py to do it.=C2=A0</div><div><br></div><div>Thanks,</div><div><br></div></d= iv><div>Aaron</div></div><div></div></div></body></html> --000000000000a646c106309f9d6c--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 14:10:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 10:10:20 2025 Received: from localhost ([127.0.0.1]:41408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuXe7-0002Aa-Sr for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:10:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56234) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuXe4-00027O-2q for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:10:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tuXdx-0004Ag-8y; Tue, 18 Mar 2025 10:10:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sC/V4HwVB4p+6ce9jECdI9/DNK7rF64t661i24mUAsk=; b=NK3252hJQsos7h7MDnzD ZTXIwU8AHAHbgCRXoeHH15KYBTFCumQGP2Sy/w1f/72BHCCL9ha+5zvm7s6IQEIA6e0ncfPVPlfay Zy4+S/cLmcr6kU+L2Wtfw9VaMLSmmjsNLzWd8Msd2z9YeFg4XeNEbyNd0gAtH538zaFeGwGfT9/Lh q2UUsTG4rjLLUxKnCtb9cXbXEiCKq4l60aKJseTjQaVPbadxcbxEF4GrBP3f3WpkXKdZkYv7zdIgP nvjZc6Q7NDLpaqR7NDeZhA9fuNWWFgWCBlny8oeFsN4I2bPtX5+g32zlRgkX+4q99IhTDdG6+Vlso s4eZwwaSZy2uAw==; Date: Tue, 18 Mar 2025 16:09:23 +0200 Message-Id: <868qp2qvl8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m25xk6mo47.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Tue, 18 Mar 2025 15:04:24 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> <m25xk6mo47.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: aaronjensen@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Tue, 18 Mar 2025 15:04:24 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > But Aaron seems to say we keep comparing the glyph matrices of the > > window which is not show, something that should not happen, because we > > don't call update_frame on frames that are not visible. > > Maybe Aaron could log __FILE__ and __LINE__ where he said he logged the > frames in the macros? That would help, yes.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 14:05:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 10:05:00 2025 Received: from localhost ([127.0.0.1]:41341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuXYy-0001M5-8e for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:05:00 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:52671) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tuXYv-0001Kz-0r for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:04:57 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-ac298c8fa50so1057849566b.1 for <77039 <at> debbugs.gnu.org>; Tue, 18 Mar 2025 07:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742306690; x=1742911490; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=HYCLSmRCOuxGptiJiz7f8/yV+h3BQnQRz/mwSD2YLtI=; b=mr3mFbAomw8rs3ICoV9OAMrUR+nDF6CrzxXUIFlwrJ+5sbHUN8EGBfVtcLqFoNNCoX UrdyAD5a+ACDzRoHRcx3AfW0VUzRmXJyH//0jDDsrRosaVhxjbHrHukFgfyoM83Cz5+t XK881wiQYVs9TXVu2uthLKSCXdbLyhzaLUfnPmt082/XSt8IojahE2HagQnPZWMwY2bL a6u1teAJHt4zt/pY3muL8INomO6BAmNzHanRo7Z2F7RNhXi6EzIdce1SNE6D4277dWds iQaLw+312WiKN3LmVMWrCTQB+2QfUVhkEsTzZv/VkiHdjKlTq2CxhzQ4Em+ulODGzhAR JcfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742306690; x=1742911490; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HYCLSmRCOuxGptiJiz7f8/yV+h3BQnQRz/mwSD2YLtI=; b=M+6AxJ3vjgixPAuJjxAxEGAbjpajlY7E2sOF8sXzLJSmT8IkHH4WO4JY8xF0RMlbIg vNXNTmKyVHfUZorpMJR7EbVPdNHON/op95t00JI/1PH4dwXOYZiXVuZtMct04RThpUot TODqONtfW0CEqPEuIPVxy4VcnCSEaiOrQpRsRT1HyUB0Lum0RiFOWw6qIhYSyPG2TYaN ZW+D8p0t/rzD/ZKABH0jtdMeXGrWSYJGZbhOJi+BMo92cCwc02laYm0n3VFMIC8itO/u Lv5m2MGs5bfK84TukpaWYssM+KDvim2YbGDR+9xUjhsUkW2SHcK4vbhATl28n4vky0e1 MRUw== X-Forwarded-Encrypted: i=1; AJvYcCVLTuLn80H9n9gJvnMeOdAr6RgIqasvc/uwSKkCezvIWVqwYJl801GQ8nZlUQ9MEsWcVTt9pg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzBoV11KoyyIOTkZ6kUyXZd5EVwqU26mLGzakrRsKfOODRhjrII xShpBsnW20Bj13ZOUjprVuPZ3zoc3DYvTQgfF5W5JvOzyPNjei46aSFkbw== X-Gm-Gg: ASbGnctCHYW0YJmECRoHdnSeY8e659R11dEIHwIf0ecIH3fY+cFPVBPAMR7Zi0/noG5 Q3clas+cEsDF1jwKfyR6euddNniiO+YUHAH6owwa6qk8ZvnTImI7x2MZVgLBRSMB83YocssKoNH SmMI/bMIx50SyYSsFu+u1J5CuwygneJREh3W7HaM/cZByQnqcbRIKsNG77sZS56PPRt1d3tlIKC YdJmin2lI5dZEXsREaRrqvMKvDxVPMBYb3NdcQjSECwlTi8YvW3qQ8J08gVEa5kW1+0JmvrHVXB ZqrdVTlMoDICam1M6edzkxYLA8nrC35sOyC79pLRGXhwJPkrt8tUh3LXz40H0pA8ccgCmbnEEg/ DNAS83Cf98SBRwKeXaQK6V4gKYPIlpwfELU1ZEKK77jyRmeOp0gpBbM6S40TME4/Q X-Google-Smtp-Source: AGHT+IGFW08AcV8MUO6ill2hz+/WZo0R0AKhYudP6aejHhvmYz1RXH9C/bXdo8AE5DypupxRfNXQ+g== X-Received: by 2002:a17:906:4541:b0:ac3:45c0:6d08 with SMTP id a640c23a62f3a-ac345c074b8mr1258916166b.0.1742306674270; Tue, 18 Mar 2025 07:04:34 -0700 (PDT) Received: from pro2 (p200300e0b7445700a038a5c532051aa9.dip0.t-ipconnect.de. [2003:e0:b744:5700:a038:a5c5:3205:1aa9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3149cdec8sm852670966b.112.2025.03.18.07.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 07:04:25 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <86h63qqxx7.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> <86h63qqxx7.fsf@HIDDEN> Date: Tue, 18 Mar 2025 15:04:24 +0100 Message-ID: <m25xk6mo47.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > But Aaron seems to say we keep comparing the glyph matrices of the > window which is not show, something that should not happen, because we > don't call update_frame on frames that are not visible. Maybe Aaron could log __FILE__ and __LINE__ where he said he logged the frames in the macros?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 13:19:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 09:19:21 2025 Received: from localhost ([127.0.0.1]:38693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuWql-0003TS-N6 for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 09:19:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55514) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuWqh-0003SA-KP for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 09:19:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tuWqa-0005j3-Lp; Tue, 18 Mar 2025 09:19:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CkuibdHkeAnACO4NcpIoSHMBsUqwIZd5Sml94h4RbtQ=; b=GjNHZW40RiIMVWYlar5f DxM++dxqUh4goJS9re+T9tchNX/hSuyS3Y9dz38IaG1VbwaUznJGuRKIEckqLOzRyhnuWAB9Rsvr3 Xxw8qp9vFEog5nP/NNV1E5FO+lEmq/VANUVfTUwqcBWxDlqcbBznRyYqbrIgxh674NF72cbMF4S5m QVJjjRiUJaYPUXv+nHRO5kY1kreOZ3qnL7mkL3ds8WKbwzY9wOXdA/nHgUcOm6jHdfrRsuoaNXXQb JrVdA//KxBb07IolN2scPYir4JcBnra5xLTlqPpf6iYbl0pJ636JoEexLSIYhwNxSGKFC2WjH7Zgb ElwYIvoRdzdorw==; Date: Tue, 18 Mar 2025 15:19:00 +0200 Message-Id: <86h63qqxx7.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2senari42.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Tue, 18 Mar 2025 07:02:53 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org > Date: Tue, 18 Mar 2025 07:02:53 +0100 > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > > Not Lisp, but: > > > > emacs -Q > > M-x shell > > yes<enter> > > C-x b<enter> > > > > This will open a shell in a background buffer that is rapidly printing to STDOUT (and displaying in > > the shell buffer) then switch to the scratch buffer. If you add logging to the matrix comparisons you > > will see a rapid uptick. I don't know if this has to do with the external process connection with > > Emacs. > > > > To be clear, I don't know if this is actually an issue given that the matrix comparison is likely > > preventing the redisplay. > > > > Aaron > > When I configure with --enable-checking=glyphs, and run, in emacs -Q, > GUI version the function > > (defun foo () > (interactive) > (trace-redisplay 1) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > I see traces of the form > > redisplay_preserve_echo_area (12) > redisplay_internal 0 > redisplay_preserve_echo_area (12) > redisplay_internal 0 > ... > > The 12 means the call is from wait_reading_process_output, which reads > the output from /usr/bin/yes in this case. > > So, that explains where the redisplay comes from. Since there are no > further redisplay actions shown in the trace output, I think that > redisplay is more or less a nop in these cases. Didn't try without the > fix that I pushed. Yes, redisplay should be a nop, since the buffer which is modified is not displayed. But Aaron seems to say we keep comparing the glyph matrices of the window which is not show, something that should not happen, because we don't call update_frame on frames that are not visible.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 07:55:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 03:55:37 2025 Received: from localhost ([127.0.0.1]:36261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuRnQ-0000oU-Of for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 03:55:37 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:47186) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tuRnO-0000m2-0u for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 03:55:30 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5e60cfef9cfso7426017a12.2 for <77039 <at> debbugs.gnu.org>; Tue, 18 Mar 2025 00:55:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742284523; x=1742889323; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0YPAXWpfdo9zPaKGFmi5WwHZfPyw40AkogoBFceb8KY=; b=MWhT8xGwZdvjZiDwddMDHRCZKKhvjZC/wY82jEg06za9SSTnOyIrLiccTdw77yjOsU jlJH0xptrQ1umJIuaEj/gMys80aaZDWoW0aWW0tS9DLt3H8T/56mxUcBRMSIvEl8qLWe Q8rYBH0d//YvYkWC4ksOJpkMwvXJ6goZ9x3bll6+o3KLcN2MBF7Ru20gR4UnkzYsXZAQ Qcm4L3k6AlKKXmM7UrYwVsdmEZOgFy4JFxmDBX015FQ3Tdl+P+rYEW7jBDrFmxp30vwX ONeI1deO68+O0knmLgnNOUM/hJ1JZiNAuwtjFL/5LK5Mp/OVRt6pVbg//TFb5x3GyCI8 WPVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742284523; x=1742889323; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0YPAXWpfdo9zPaKGFmi5WwHZfPyw40AkogoBFceb8KY=; b=RyGpxw6DwhOVl28vMgAVz7mvweUYlp/jWejHUflOiawgra3270QJ7wjXLxafOBN/eI bikVvzvXPJi5gsfz+i700frYfmjb7cB21N+4iCvnExkobH4AkVxtj8w+r802o7bIaQA+ t2hmixkH1MWGuJTGC8V4r4QOS6FpR4/a6CpIfZhGM/Gdk1D9WMHXl0KDfoYONCCvIOP5 +NKyB5KTZTh0tcjolQg0U2Csgiy40uvBGsPmG22zMZFv+gpV3ubPpVhfuuffkbjqIPDw HrP7g4qNEtMry4WHga1MWA9ZxR6SAKI2TezTk+y2v0i9bwFt8YjsCLJlDPg/IWvR5rqB lN8w== X-Forwarded-Encrypted: i=1; AJvYcCXkPTdW4GREv0idByH6/QqO4Py+zUQKS195lF0fqJvi2RmVYu9ec6+tatqJGK2O5riNJOVMIA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxT6Q7QgrhGbxBsi+Xx81uB+WVKf4axBxO6bic5ty30yejqLfdh JEQLfsdJkivvhDv9k8nd4GjXs/GSv3tOGZUtCPnKNxmVY/VRMnNiRFqHjw== X-Gm-Gg: ASbGncueBZ+KrC0xyvSafjixWTHt9d2IjTcIkPp8WmwAFgGFJrlz6oU/AaLoO2YE65M QHdhgSfSqM1lJ+JpMqkccGhLl2rZaMAKSFE6EoG7p57LXqgNNypOEznFHdh/31Syzlf+rgT+9ia JLGBppBmKta0mNt9sX4sMpdcV0nYmqolHQjyTbe0pXow7uOvGX6yN9qRA/03URwpNGFQdmPhPp9 /y0EtBfqqp1pXb+DASXl0PIGQaISAFdgCqoOVM4oPaywoozJ0+PAtdUb2F0K5nsZWNY0QygG/nX kmJPINH7xum9wRfrFjDwspqaaUnZOknGOkqS+7bVwOjhDLL6QpXvxH8a5KhcZ56jpE/XMce5Y3s TLaxGlAzMzT/8hDOApL9zz+l/3ePIfyxawwuooyF92xRAYbC31D6O3ehhN0s= X-Google-Smtp-Source: AGHT+IEedG8abMM/8H0r2kzs3mpb3B6LwBlw+ensVg5Nb6qQnSXgg37niOeNlsuIg3b/ZeyeVmeRlg== X-Received: by 2002:a17:906:ee85:b0:ac3:26fb:f420 with SMTP id a640c23a62f3a-ac38d552e50mr279247466b.42.1742284523190; Tue, 18 Mar 2025 00:55:23 -0700 (PDT) Received: from pro2 (p200300e0b7445700a038a5c532051aa9.dip0.t-ipconnect.de. [2003:e0:b744:5700:a038:a5c5:3205:1aa9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3146aecffsm794226666b.25.2025.03.18.00.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 00:55:22 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <m2senari42.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> <m2senari42.fsf@HIDDEN> Date: Tue, 18 Mar 2025 08:55:21 +0100 Message-ID: <m2o6xyrcwm.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes: > Aaron Jensen <aaronjensen@HIDDEN> writes: > >> Not Lisp, but: >> >> emacs -Q >> M-x shell >> yes<enter> >> C-x b<enter> >> >> This will open a shell in a background buffer that is rapidly printing t= o STDOUT (and displaying in >> the shell buffer) then switch to the scratch buffer. If you add logging = to the matrix comparisons you >> will see a rapid uptick. I don't know if this has to do with the externa= l process connection with >> Emacs. >> >> To be clear, I don't know if this is actually an issue given that the ma= trix comparison is likely >> preventing the redisplay. >> >> Aaron > > When I configure with --enable-checking=3Dglyphs, and run, in emacs -Q, > GUI version the function > > (defun foo () > (interactive) > (trace-redisplay 1) > (term "/usr/bin/yes") > (switch-to-buffer "*scratch*")) > > I see traces of the form > > redisplay_preserve_echo_area (12) > redisplay_internal 0 > redisplay_preserve_echo_area (12) > redisplay_internal 0 > ... > > The 12 means the call is from wait_reading_process_output, which reads > the output from /usr/bin/yes in this case. > > So, that explains where the redisplay comes from. Since there are no > further redisplay actions shown in the trace output, I think that > redisplay is more or less a nop in these cases. Didn't try without the > fix that I pushed. > > Why wait_reading_process_output is called with argument do_display =3D=3D > true I have no idea. From reading the code a bit, where wait_reading_process_output is called, calling it with do_display =3D=3D true looks okay to me. It is sometimes necessary to redisplay, and checking the cases where it isn't is probably similarly expensive as just doing the redisplay. So, I propose to close the bug.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 18 Mar 2025 06:03:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 02:03:09 2025 Received: from localhost ([127.0.0.1]:35271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuQ2c-0008Oc-TH for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 02:03:08 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:42296) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tuQ2Y-0008IY-Dy for 77039 <at> debbugs.gnu.org; Tue, 18 Mar 2025 02:03:04 -0400 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-ac2a089fbbdso917284066b.1 for <77039 <at> debbugs.gnu.org>; Mon, 17 Mar 2025 23:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742277775; x=1742882575; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=trvmZAV8N39CPyG3NOB2lb6B47jVjFBgXdPE673uyl4=; b=UV/Tfyz/BMIMa8hTb0esOrmeJmZrpDAzDUoX7UGxT7l8771LJd18f002pyNnS/pfr6 jqRKqidVE5kcWx3YcgxwSH/wzx/1Ez7u+yl0G5ylDYcXq7GGBrL7SMPqKntL1O5Y3LV4 aI8Bww1FzPe2HsqrJM8ipHd/AJ2ixA1AKPjDU17Fl0+O/B+nwbevACZkMQQ9+ealYs++ PdREGgXSx4FLs8OCLLcprbuzjc8xCuAdMk/5RKYYF7hw1FHH+BEKsWFJKJ+5PoctBmvC 3c489fEN/gJY+YR+SlNxtVB5WAGYMgK5x7hbwS4v6UDzijf9eS/AH9J5DdBJyendajX5 EGuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742277775; x=1742882575; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=trvmZAV8N39CPyG3NOB2lb6B47jVjFBgXdPE673uyl4=; b=fusA6Gt2Z5KgWjmZUyKyP2o9VgYgdxtORt8wcu0FOyMb84CC3hxchsx6HR0NdrsqVG IaH6JYqQxt/g2k0zSPCQP2JlE1bXXQwtdRUH7fM0XpsqTSPbik+zg+3KovmeQy5DGy4j m9x2HV28/ZpZJu46iubkKtGbFxW0XtQFyOAN0leuww8mkcnynq5DBG/gIpsOkmyqeIPR ZOyhLPTQcq+izxllfkDW3PpiAA4/Em2H9lxD8hi9RKiETu38if4dud/SI+v9Kqy25Go3 HolPjwkvXDDO+sA6m3en9X0LLiqkD1utk3/F2Hv7VziPlFFSExP+bluwZCrMLlipEF7D iKrw== X-Forwarded-Encrypted: i=1; AJvYcCWC/yaC6Rpjuyqh8J3ycHd/xQFVjEO2vvXlarUNhIie8v3O83BOV7n8J787Ieew3fCE9P/eew==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxRb2FEFfFiOQM+OTWQ2fAGvy0AtTAdWcnAQubHseWOefh7A/Ta KuKaPt+CJdQAI9ACWVtJu5Vlab2krIp/2kIjbh69XjCUSz0l1nQYbF/10g== X-Gm-Gg: ASbGncv/KWB5PGeT+/YpkUxaz/8XYcSHNElhyXpumin4MmLgpdMwUmfHlGRMUVAdEjG p+TEyGSbJ2t5xUrH1kRwwwSYTnaccwN1ZtXN9MOUEDPDmUxl4LcY1Uy0bf5CMMBQOG+HUR1I9FB lHbRQqDt6YN3VmzQETP1RNf6mYu9o+k8qKMYQVxPSLDDhulQy4TbJS1bth9pxO4o5g9Cn0HCCKE rVl3dNJWEZuEjNGAgJrBc/3lYOGtCmiAzXfkGfQmXrwGnIdxUE1pdds/49v5ROrdwt+X9jdh3a+ XG7QGt+jfdENMO2nzwW5wVac8kDGxIXVZ9k+tYpvyckRg6MrgDfqKsfNCw0oAqrqlimDxTf+WFA M5dCP7FlsWbSXyxaCpOqGpM5B2IyNkGnyMctq9s1p2zKp9jDccbbDEw== X-Google-Smtp-Source: AGHT+IEPYLGd9TKBkoe3Q6EjwnH05CcvFpFpOmzcCSsquIp7/3fQpZCWWmuSyIs05QVhHY56T43vlA== X-Received: by 2002:a17:907:e84c:b0:ac3:14e1:27a5 with SMTP id a640c23a62f3a-ac38f6d8321mr212915666b.1.1742277775284; Mon, 17 Mar 2025 23:02:55 -0700 (PDT) Received: from pro2 (p200300e0b7445700a038a5c532051aa9.dip0.t-ipconnect.de. [2003:e0:b744:5700:a038:a5c5:3205:1aa9]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3146b31b3sm791513366b.18.2025.03.17.23.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 23:02:54 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> Date: Tue, 18 Mar 2025 07:02:53 +0100 Message-ID: <m2senari42.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Not Lisp, but: > > emacs -Q > M-x shell > yes<enter> > C-x b<enter> > > This will open a shell in a background buffer that is rapidly printing to STDOUT (and displaying in > the shell buffer) then switch to the scratch buffer. If you add logging to the matrix comparisons you > will see a rapid uptick. I don't know if this has to do with the external process connection with > Emacs. > > To be clear, I don't know if this is actually an issue given that the matrix comparison is likely > preventing the redisplay. > > Aaron When I configure with --enable-checking=glyphs, and run, in emacs -Q, GUI version the function (defun foo () (interactive) (trace-redisplay 1) (term "/usr/bin/yes") (switch-to-buffer "*scratch*")) I see traces of the form redisplay_preserve_echo_area (12) redisplay_internal 0 redisplay_preserve_echo_area (12) redisplay_internal 0 ... The 12 means the call is from wait_reading_process_output, which reads the output from /usr/bin/yes in this case. So, that explains where the redisplay comes from. Since there are no further redisplay actions shown in the trace output, I think that redisplay is more or less a nop in these cases. Didn't try without the fix that I pushed. Why wait_reading_process_output is called with argument do_display == true I have no idea.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 17 Mar 2025 17:15:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 13:15:56 2025 Received: from localhost ([127.0.0.1]:60734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuE4B-0004Ml-9A for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 13:15:56 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:46483) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tuE46-0004L9-CV for 77039 <at> debbugs.gnu.org; Mon, 17 Mar 2025 13:15:52 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-30bef9b04adso50910831fa.1 for <77039 <at> debbugs.gnu.org>; Mon, 17 Mar 2025 10:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742231744; x=1742836544; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:in-reply-to:references:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZpcpYTE0TvtO8iWJaK+KuU/OISjoljVSNGguQLvzKZk=; b=m5hUoI9yQBEEFkUdU/k2cdFB+PwMQIMB8ZDpGPmdVUkscG/Icju4XAFHVobtiRsaGX 9mdDzKtlpzKIRBuD7Zm9h/OxPJ6G+HsURHs1NRxXwjyoWpS3rt4PF6l8DrK1x1FUlvll Kpf8l3W4V9+0o8msH1QG4u74bPctxk4oGqn5wrBRdlT5GAuGYLgbBg/C9HQv0qMZsJzo G45Qz3APKUkWG6pfW9psJ0/6MiQ8/G9RUWqTfchNpb1MgPXMj+8S4aOFrD0oNzSuCoE6 cb5f9xeNuzldBDrO+SEh1PlrgrYTABithtj6pM9Kn2qbRmz/MKMzG8MxzWnSvRLtdVDx Mkmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742231744; x=1742836544; h=cc:to:subject:message-id:date:in-reply-to:references:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZpcpYTE0TvtO8iWJaK+KuU/OISjoljVSNGguQLvzKZk=; b=pEWbpVVSlKI4cobK7pIs7tWTFFoksKbuwTfLxkwjz4jOImYroso6S3SkKqchalr/KE 4ve9KaoFYfPdiDNMnSBnCQPKmhdf7hKDa2dn+zAT0tVpuEB4S11TkDNFy91j4o1/SssX cWg3/fNdPlgKOADfAl0BNzX/yYHFfvpMRoFD7q/RbAAdROzU3cIStD975yyR/04WsRWa DZnmrUmkSMbdD9dHHnxRkKCAWxrh9sCCceV06FD2HXXIA0PmhnUVLavpQ7BNiRFaYv3c b1gYF8B6o9lLH6KfFQORZotdPU+N+8F2AckBHzXg4yhLZTiMEEx+fmDP5d9kp6YzWtz4 EqLg== X-Forwarded-Encrypted: i=1; AJvYcCVSsSycRHNAwA7KGLoHvMus48KgqBluhJtGd5Bs2mtMBrgHTzBBLfOpQB5BGASHhYGyfKafnQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwktMtFLjl1UMtx6Xrx/a7nyVJxLeHg2FQQaS4+jYlEcmk/9zCi SMNSCuPl4jl5CAahR5fbeqWZ1s+4Do0U3g4ZhYqIs+DF5LRz6SRGZqtLQyQkuTVpzhLNIry6b0R a1gYGccIR1E6LyMDtYNdqmGyJ0c4= X-Gm-Gg: ASbGncuULJVDkSmGGWZXGWBkfcOVHfgSdnUK8akBJUWN3Kaj3tX6HZrilOl4kpYs6LL xaT0Dtk3WkhkXJ5aZ+bTju9V7RsRlanF/unDoRp8NPO4BJ7LEQwA1V5qG96cRPpKZ5eCAzZA+jc 8VtG7pMTj/86/qY6WKplcHGBniDtSdo29Z2sAZoNeo8Rs7qip+gqbyZxpsWcGE X-Google-Smtp-Source: AGHT+IGX0iYCm5YcfZWu3kLfnAZVFGBNm98oOtBdoTtdudlEtVZVz1J40OaEjcXojy4ork5u1JuRnPek3aCJNGdLzd8= X-Received: by 2002:a05:6512:3e06:b0:545:2ab1:3de with SMTP id 2adb3069b0e04-54a03b8dad8mr674293e87.13.1742231743352; Mon, 17 Mar 2025 10:15:43 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Mar 2025 10:15:41 -0700 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Mar 2025 10:15:41 -0700 Mime-Version: 1.0 From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-ID: m8dbs7ce.091e789f-de49-48bd-bca5-7f6193188d5c References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> <864izrsjcr.fsf@HIDDEN> X-Superhuman-Draft-ID: draft00b55b18c50d2093 In-Reply-To: <864izrsjcr.fsf@HIDDEN> Date: Mon, 17 Mar 2025 10:15:41 -0700 X-Gm-Features: AQ5f1JqkM5O5WsOP3hJA1an2DJYQSrtUT8TdxnNUd-DMRIuQ6RWWmKhk98zUUAE Message-ID: <CAHyO48zsYNZNZf6Ti6ARQ1N=TL4+oaOdyuLwMmpHWoK0VoE0Sw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000002dda6806308cf015" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000002dda6806308cf015 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 17, 2025 at 9:38 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Mon, 17 Mar 2025 15:56:00 +0000 > Cc: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN>, alan@HIDDEN, 77039= @ > debbugs.gnu.org > > If you are talking about comparing glyph matrices of windows/frames that > are not shown, that shouldn't happen. If it seems to happen, I'd need a > clear recipe where it does, which I could run on GNU/Linux or MS-Windows, > to debug this. Windows that are not displayed don't even have desired > matrices to compare, so I don't think I understand how this could be > possible. > > It's more likely that an update in a hidden buffer is causing a glyph > comparison on the displayed buffer given that it's the one that is > flickering. Because the buffer is updating so rapidly, this happens often= . > The hidden buffer is connected to an external process. You can simulate > this by running `yes` in a `term` and then hiding that buffer. Is that > expected? > > I don't think I understand the situation. If you can show some Lisp to > simulate that, it would help. > Not Lisp, but: emacs -Q M-x shell yes<enter> C-x b<enter> This will open a shell in a background buffer that is rapidly printing to STDOUT (and displaying in the shell buffer) then switch to the scratch buffer. If you add logging to the matrix comparisons you will see a rapid uptick. I don't know if this has to do with the external process connection with Emacs. To be clear, I don't know if this is actually an issue given that the matrix comparison is likely preventing the redisplay. Aaron --0000000000002dda6806308cf015 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)" class=3D"">On Mon, Mar 17, 2025 at 9:38 AM, Eli Zaretskii= </span><span dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" ta= rget=3D"_blank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"backgr= ound-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)" class=3D""> wrote:</span><b= r></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><div c= lass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_ext= ra"><div class=3D"gmail_quote"><blockquote class=3D""><p class=3D""></p><di= v class=3D"">From: Aaron Jensen <<a target=3D"_blank" rel=3D"noopener no= referrer" href=3D"mailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr= >gmail.<wbr>com</a>> <br></div><div class=3D""> Date: <span class=3D"sh-= date">Mon</span>, <span class=3D"sh-date">17 Mar 2025</span> 15:56:00 +0000= <br></div><div class=3D""> Cc: Gerd M=C3=B6llmann <<a target=3D"_blank"= rel=3D"noopener noreferrer" href=3D"mailto:gerd.moellmann@HIDDEN" class= =3D"">gerd.<wbr>moellmann@<wbr>gmail.<wbr>com</a>>, <a target=3D"_blank"= rel=3D"noopener noreferrer" href=3D"mailto:alan@HIDDEN" class=3D"">ala= n@<wbr>idiocy.<wbr>org</a>, <a target=3D"_blank" rel=3D"noopener noreferrer= " href=3D"mailto:77039 <at> debbugs.gnu.org" class=3D"">77039@<wbr>debbugs.<wbr>= gnu.<wbr>org</a><br></div><p></p><p class=3D"">If you are talking about com= paring glyph matrices of windows/frames that are not shown, that shouldn= 9;t happen. If it seems to happen, I'd need a clear recipe where it does, w= hich I could run on GNU/Linux or MS-Windows, to debug this. Windows that are not displayed don't even ha= ve desired matrices to compare, so I don't think I understand how this could be possible. <br>= </p><p class=3D"">It's more likely that an update in a hidden buffer is= causing a glyph comparison on the displayed buffer given that it's the one that is flickering. Because the buffer is updating so= rapidly, this happens often. The hidden buffer is connected to an external process. You can simulate this by runnin= g `yes` in a `term` and then hiding that buffer. Is that expected? <br></p></blockquote><p class=3D"">I = don't think I understand the situation. If you can show some Lisp to simulate that, it would help.<br></p></div></div></blockquote></div></di= v></div></div><div class=3D""><div class=3D""><br></div><div class=3D"">Not= Lisp, but:<br></div><div class=3D""><br></div><div class=3D""><span class= =3D"">emacs</span>=C2=A0-Q<br></div><div class=3D"">M-x shell<br></div><div= class=3D"">yes<enter><br></div><div class=3D"">C-x b<enter><br= ></div><div class=3D""><br></div><div class=3D"">This will open a shell in = a background buffer that is rapidly printing to STDOUT (and displaying in t= he shell buffer) then switch to the scratch buffer. If you add logging to t= he matrix comparisons you will see a rapid uptick. I don't know if this= has to do with the external process connection with Emacs. <br></div><div = class=3D""><br></div><div class=3D"">To be clear, I don't know if this = is actually an issue given that the matrix comparison is likely preventing= =C2=A0the redisplay.<br></div></div><div class=3D""><br></div><div class=3D= "">Aaron<br></div></div><div></div></div></body></html> --0000000000002dda6806308cf015--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 17 Mar 2025 16:38:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 12:38:43 2025 Received: from localhost ([127.0.0.1]:60511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuDUA-0007R1-G8 for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 12:38:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51048) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuDU7-0007Pl-9Q for 77039 <at> debbugs.gnu.org; Mon, 17 Mar 2025 12:38:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tuDTz-0000Jy-2M; Mon, 17 Mar 2025 12:38:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VMXUZUMGflxbLfrCi98ochUZrYGjTAkfRI12+CrZ+hA=; b=CkjBLGDoZOqgnOoaY9tS wxEzTwlIPkbN9YRgekzfTM05lwUlvOTj29wRSCr13uVRjGoKmYlwOjT/YMsUAR1gvqpxOw2BXIH3i KuVnS3MFfNwROJ+1tCNnTpw0NjxvXgLgMZRTPW8NtXIMQyKPIkOjGV0jMIuPxcV+wC6UQAXV5eS8p z7BFk3eZ9AoeHD33fO7HBX86cTxlLgKslYTx5mZIwxrayUiVpjSnunX+AXGsLt2dhPTqcZpNmENGA X0hDWvDqzEbuc0NgfsUeOINrlizvLSyHZqx9DQry/+ukbvygRXBV7uNipzfuO8upA+psULuOJj2s5 rJMVBUVr6OnQ4A==; Date: Mon, 17 Mar 2025 18:38:28 +0200 Message-Id: <864izrsjcr.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> In-Reply-To: <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> (message from Aaron Jensen on Mon, 17 Mar 2025 15:56:00 +0000) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Mon, 17 Mar 2025 15:56:00 +0000 > Cc: Gerd Möllmann <gerd.moellmann@HIDDEN>, alan@HIDDEN, > 77039 <at> debbugs.gnu.org > > If you are talking about comparing glyph matrices of windows/frames that are not shown, that shouldn't > happen. If it seems to happen, I'd need a clear recipe where it does, which I could run on GNU/Linux or > MS-Windows, to debug this. Windows that are not displayed don't even have desired matrices to > compare, so I don't think I understand how this could be possible. > > It's more likely that an update in a hidden buffer is causing a glyph comparison on the displayed buffer given > that it's the one that is flickering. Because the buffer is updating so rapidly, this happens often. The hidden > buffer is connected to an external process. You can simulate this by running `yes` in a `term` and then > hiding that buffer. Is that expected? I don't think I understand the situation. If you can show some Lisp to simulate that, it would help.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 17 Mar 2025 15:56:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 11:56:14 2025 Received: from localhost ([127.0.0.1]:60281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuCp2-00017r-S2 for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 11:56:14 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:52625) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tuCoz-00016G-65 for 77039 <at> debbugs.gnu.org; Mon, 17 Mar 2025 11:56:11 -0400 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-54954fa61c9so5778909e87.1 for <77039 <at> debbugs.gnu.org>; Mon, 17 Mar 2025 08:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742226963; x=1742831763; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:in-reply-to:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vtPyvQRnjqFiSQCZDEzctIMADFtPn2pBLcw1IKaOXU8=; b=Z5vfwUKmw0oaZ+kB0iFfzFh90lUHEzoYQByuN72JrRgNBthyYY5/pN9htkEAuVKsvw xdjq/L72eXzhXRQ+HFirTrp3RuMigYYTdIIubPiWCV1VE9X5bLITtwhsEJ6VfzHrtyok dupvxTu4JJ6+e1DqbY4jNmbl7ioRdTrgyc7xZZUUC04c/Y9flmyTGeCj73K/SsKdBJVr 6P9+vAvWgq8OioJVpdQVKUmIOn6dlgCoF07D91P+OBPOPgr9rA3f52odVp2gcBW9n7c7 nPkHEDF9MvYO608MT4o3lb26ykJMeYfFw4b7cEyb4ZljyLeah6VaZPFB+7a/EepXTEHa 7mPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742226963; x=1742831763; h=cc:to:subject:message-id:date:references:in-reply-to:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vtPyvQRnjqFiSQCZDEzctIMADFtPn2pBLcw1IKaOXU8=; b=Uz0UqHoHkPxbUqxVw8iyJQm3EPiCYyBuN+mi+2170ny3AjXqKbax1A6X8Yx3rPMV7u MvuSw6Ukllo6CyIk7xPPvW3bzTJNrUcpgT4//qCfUEZfu7o8DrWGqP7AFsqi84/D0rcQ fbjX83uNjeDP9ckSl6SFIVzHyTtqf9EO1Wh3geakETr+BNrN25Z1XE0Q/P4ECQyh2Qay 6uY2IYj1Sy+tD1dNFU8AXVbJ9KhzYUZICGR8nYU9MolcoW3LRVqtPBYc2aPtlcvi3ZYk RoTAXmcjUuasj36jlJ3MAN3JI7BmekO5nk7ShtlWRB4lnZCTiiRyJuDaaG4h87h/rz6b 0IeQ== X-Forwarded-Encrypted: i=1; AJvYcCVrcLQP4e7xGrCBchphSd4Q0dbzzAXmhzDrO9aNJ7oC+HTUSpaBZZTsHSMs+qIQnBUHBj/SbA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwGf8pNq1PmvaQolaUBhskt9KXFvj+ZWiHVgBIHmerlwiS9W7o3 XlIEBVjQL8KBKyCnDQB9CAraK64llavVR+sDaaTEo+JP52lpefchXsF2GuixvUqHPXPIBUSzTpW U+D+g35aCX3j9cOe+AHPvckjjZ2Y= X-Gm-Gg: ASbGncvSYtHeqvLxsbPFjCy/mQ1208e3o5DM9fl/evDEnN/+o9u2OXvH0MHwaXNXPGr JbBeSV8mYck/pu0ls3vZrgUzRI7OCOYEL6SC6zJ65wyDfiN1PFGzPOboj/eUir2EC2gcUnObuc9 7DndoRN1sXG3a9i9ylMOIsXLflCgkwo7xROZFzOncZkrDO3B9pfQ== X-Google-Smtp-Source: AGHT+IFIsu5/pILnkkaiFJRvrKQMEzkF6cm2bsyiiBhS7GoUtx5GDGLMoUiWtV8tv45l4mR0rwD63tdGeGJxcsyUKMo= X-Received: by 2002:a05:6512:b06:b0:545:e19:ba1c with SMTP id 2adb3069b0e04-549c3911fb0mr8221648e87.19.1742226962372; Mon, 17 Mar 2025 08:56:02 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Mar 2025 15:56:00 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Mon, 17 Mar 2025 15:56:00 +0000 Mime-Version: 1.0 X-Superhuman-ID: m8d8xqc9.6a0233d6-5624-462b-b044-7744f87e895a From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-Draft-ID: draft003af693c94c6299 In-Reply-To: <86tt7rsufq.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> <86tt7rsufq.fsf@HIDDEN> Date: Mon, 17 Mar 2025 15:56:00 +0000 X-Gm-Features: AQ5f1JqSwh6Gz6AdJlQdKcNjc_TgPhGKzTPrEDuwDAdP3HWsZP9FUE4Ype0A0TI Message-ID: <CAHyO48xyGdYy9zeFQ5_bh011L=j1pCj_eB6UKcyyd4yqWQEH3A@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000035e01306308bd33a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, alan@HIDDEN, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000035e01306308bd33a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 17, 2025 at 5:39 AM, Eli Zaretskii <eliz@HIDDEN> wrote: > Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org From: Gerd > M=C3=B6llmann <gerd.moellmann@HIDDEN> Date: Mon, 17 Mar 2025 05:20:11 = +0100 > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Does that also happen when you use something else than vterm, say M-x > shell or M-x eshell? > > Yes, it happens with shell and term as well > > To me that looks as if this shouldn't happen. At least judging from what = I > remember from the times of Emacs 21. > > Maybe Eli has an idea what could cause this. It might be worth submitting > another bug for this. > > If you are talking about comparing glyph matrices of windows/frames that > are not shown, that shouldn't happen. If it seems to happen, I'd need a > clear recipe where it does, which I could run on GNU/Linux or MS-Windows, > to debug this. Windows that are not displayed don't even have desired > matrices to compare, so I don't think I understand how this could be > possible. > It's more likely that an update in a hidden buffer is causing a glyph comparison on the displayed buffer given that it's the one that is flickering. Because the buffer is updating so rapidly, this happens often. The hidden buffer is connected to an external process. You can simulate this by running `yes` in a `term` and then hiding that buffer. Is that expected? > Is it clear to you why the glyph comparison failing would lead to > flickering, even with double buffering enabled? > > Heard about the double-buffering feature the first time yesterday, I > think. I had it in a branch in Emacs 21, but I guess it's not that one > :-). Or IOW, no idea. It might depend on how that's implemented. > > If glyph comparison fails, Emacs will redraw the screen. Whether it shoul= d > be visible with double-buffering depends on how that was implemented on > macOS, and what exactly "flickers" as part of > "flickering". > Ok, then yea it's very possible that the particular method used is susceptible to flickering. Thanks. Aaron --00000000000035e01306308bd33a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Mon, Mar 17, 2025 at 5:39 AM, Eli Zaretskii </span><sp= an dir=3D"ltr" class=3D""><<a href=3D"mailto:eliz@HIDDEN" target=3D"_bl= ank" class=3D"">eliz@HIDDEN</a>></span><span style=3D"background-color:= rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</span></div></div></div><div c= lass=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_quote"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc= c solid;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_qu= ote"><blockquote class=3D""><p class=3D""> Cc: Alan Third <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D= "mailto:alan@HIDDEN" class=3D"">alan@<wbr>idiocy.<wbr>org</a>>, <a t= arget=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:77039@HIDDEN= nu.org" class=3D"">77039@<wbr>debbugs.<wbr>gnu.<wbr>org</a> From: Gerd M=C3=B6llmann <<a target=3D"_blank" rel=3D"noopener noreferre= r" href=3D"mailto:gerd.moellmann@HIDDEN" class=3D"">gerd.<wbr>moellmann@= <wbr>gmail.<wbr>com</a>> Date: <span class=3D"sh-date">Mon</span>, <span class=3D"sh-date">17 Mar 20= 25</span> 05:20:11 +0100 <br></p><p class=3D""> Aaron Jensen <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"m= ailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>= > writes: <br></p><blockquote class=3D""><p class=3D""> Does that also happen when you use something else than vterm, say M-x shell= or M-x eshell? <br></p><p class=3D""> Yes, it happens with shell and term as well <br></p></blockquote><p class=3D""> To me that looks as if this shouldn't happen. At least judging from wha= t I remember from the times of Emacs 21. <br></p><p class=3D""> Maybe Eli has an idea what could cause this. It might be worth submitting another bug for this. <br></p></blockquote><p class=3D""> If you are talking about comparing glyph matrices of windows/frames that are not shown, that shouldn't happen. If it seems to happen, I= 9;d need a clear recipe where it does, which I could run on GNU/Linux or MS-Windows, to debug this. Windows that are not displayed don't even have desired matrices to compare, so I don't think I understand how this could be possible.<br></p></div></div></blockquote></div></div></div><= /div><div><div><br></div><div>It's=C2=A0more likely that an update in a= hidden buffer is causing a glyph comparison on the displayed buffer given = that it's the one that is flickering. Because the buffer is updating so= rapidly, this happens often. The hidden buffer is connected to an external= process. You can simulate this by running `yes` in a `term` and then hidin= g that buffer. Is that expected?</div><div><br></div></div><div class=3D"">= <div class=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_quote"= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gm= ail_quote"><p class=3D""> <br></p><blockquote class=3D""><blockquote class=3D""><p class=3D""> Is it clear to you why the glyph comparison failing would lead to flickering, even with double buffering enabled? <br></p></blockquote><p class=3D""> Heard about the double-buffering feature the first time yesterday, I think. I had it in a branch in Emacs 21, but I guess it's not that one <br> :-). Or IOW, no idea. It might depend on how that's implemented. </p></blockquote><p class=3D""> If glyph comparison fails, Emacs will redraw the screen. Whether it should be visible with double-buffering depends on how that was implemented on macOS, and what exactly "flickers" as part of <br> "flickering".</p></div></div></blockquote></div></div></div></div= ><div><div><br></div><div>Ok, then yea it's very possible that the part= icular method used is susceptible to flickering. Thanks.<br></div><div><br>= </div><div>Aaron</div><div><br></div></div><div><br></div></div><div></div>= </div></body></html> --00000000000035e01306308bd33a--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 17 Mar 2025 12:39:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 08:39:21 2025 Received: from localhost ([127.0.0.1]:56561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tu9kW-0005nt-UO for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 08:39:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33958) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tu9kT-0005mf-MB for 77039 <at> debbugs.gnu.org; Mon, 17 Mar 2025 08:39:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tu9kL-0006EQ-1W; Mon, 17 Mar 2025 08:39:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=k5Stx+3Fo1A6vf9z5LuLPRF11wvVBsHzX5OOUOsNTfs=; b=jWUnFtxLK/hTSyI+EpMA ZXTPBK7111UzElQg26a0SrJcoTAvGvsDp1+lSag3xSugGgGTEyduAMuH6bQE9Pj6uRTN9KoqpLmZ3 MPjzMsXKqIXGUKJtXhHe4n3SzPDrXEzE3Yfa18lC4OBArHxtqxu/RSbACBBa9bLw1fqhz+B6EI6V9 XnwIgRmst75WL/mMsA5eMxDjeo9Hxzc7Ug90Qg1z+J9jFvrt6HG8r8TBffjJSYWnSjNGoJVNOARv/ DQgzLbKdI52Bc46CVMmDx0ZVFJgGFV7xB1kdfWRGeCMjFlkcKXK5Qdbc4p3rV8lI9HdW6bRZz6GeW ZFlgZb1pIsMYZQ==; Date: Mon, 17 Mar 2025 14:39:05 +0200 Message-Id: <86tt7rsufq.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2y0x45lvo.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Mon, 17 Mar 2025 05:20:11 +0100) Subject: Re: bug#77039: 31.0.50; Flickering on macOS References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> <m2y0x45lvo.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: alan@HIDDEN, 77039 <at> debbugs.gnu.org, aaronjensen@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Date: Mon, 17 Mar 2025 05:20:11 +0100 > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > > Does that also happen when you use something else than vterm, say M-x shell or M-x eshell? > > > > Yes, it happens with shell and term as well > > To me that looks as if this shouldn't happen. At least judging from what > I remember from the times of Emacs 21. > > Maybe Eli has an idea what could cause this. It might be worth submitting > another bug for this. If you are talking about comparing glyph matrices of windows/frames that are not shown, that shouldn't happen. If it seems to happen, I'd need a clear recipe where it does, which I could run on GNU/Linux or MS-Windows, to debug this. Windows that are not displayed don't even have desired matrices to compare, so I don't think I understand how this could be possible. > > Is it clear to you why the glyph comparison failing would lead to > > flickering, even with double buffering enabled? > > Heard about the double-buffering feature the first time yesterday, I > think. I had it in a branch in Emacs 21, but I guess it's not that one > :-). Or IOW, no idea. It might depend on how that's implemented. If glyph comparison fails, Emacs will redraw the screen. Whether it should be visible with double-buffering depends on how that was implemented on macOS, and what exactly "flickers" as part of "flickering".
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 17 Mar 2025 04:20:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 17 00:20:23 2025 Received: from localhost ([127.0.0.1]:53020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tu1xe-0002zj-OV for submit <at> debbugs.gnu.org; Mon, 17 Mar 2025 00:20:23 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:48581) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tu1xa-0002wL-VO for 77039 <at> debbugs.gnu.org; Mon, 17 Mar 2025 00:20:20 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-ac2a81e41e3so893971466b.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 21:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742185213; x=1742790013; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7amE/Eee5UqxzO5fphSJjuFxVd70C1DDHroVniyw4jA=; b=Ehea0tEFJhxBrCRTAngYyoNRhwlOOsYcZdN4PNmeeY3X53lwNlB9ls9s3OnCurlbXz iFo+oIlnE6cKHzx/5gwmRcHQisRTtR6FOMXfuZcx7QXObI5fVKiPZauoLvo/GRZqx4aZ PHnriv8A/qIpOHYWg64nDv8mf2Q9dMkcQoCWzevQYf2QREh3GTUVZTACR/yahzEPI+e7 pqspDzGOqNH3qwxe70QQeI2L5ygGLOrrrTBabM2s7HMoQ70PPq2JilLBv/nyXwkXiE3a WEfYcpJMIZS8SFZo/JEV6bxdmNYloySMnU0TXNCgvPpk+OoD0nW5SAxddQPd5XLt8JXO 1X9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742185213; x=1742790013; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7amE/Eee5UqxzO5fphSJjuFxVd70C1DDHroVniyw4jA=; b=gyp6zGNqbBTjgkp2WuiAGPuuk8Q2RaaHIXeWYYZ35OMnJ2v8mkydzMoFZJLRfw5Km0 eudF4NUnWiIzDOQkyq0jwx2RO8Syb6upEsZVaLs1j8Cf5wZZZ49URryX9h2PxTlsVlbC ByYFcvR/2gXV8EGY5M6hE3CUyPWSBOtUnP9AMCY33tBZidqJse4JwU0KLmNWlkjxaGrG 1zo6XnOqwpx+mChGBIumuBsgPPr6DmBnKOtqFXfUnXMl8Mh/qhUxkrNQ0Tsgr2EQFfOz mSU/uXPHmgL4rpopoJtdscDqDTqu1D4DOocy0+7ItpCMGDmo82/+Ad4c/ymnaUlVIbEX C7RQ== X-Gm-Message-State: AOJu0YyajisMfs1ho+W1xwL0BfCJ+OsJpA53zqAxBReLsmOY9M7sEVj4 55pgJBL1gaOR8pNNZ7h/omCcZshoHkGv77wJWGWTRBeNoJQ+QOSF X-Gm-Gg: ASbGncvmvJ59GhZMbJv2X/6nh8ONWSP0S7wi063QHXzykXBikqN9akqI4OOXcyuZ/zw +DbYf6arvgtAqN9S0Tr0Jj6ddPMpx0N48fPkY4ug0BX3YcdeN4o3AuNpF6yPa8jDFUbddSxJZn6 01K0GBUsx3Um8yim9UfBebW1g0s69y1SAgjoy8rANiZW+NHkrrHW+YrkXf9G/2dv7Lk8lXZxqEd u55/CA+7U1knsDLkfRuK78fhD8wr33ch7eKI3Jo3DgcYxHCk43PMCRmczXLMTo65AbIHR34Y0DR 7t0O5eWrewNQAJOcV5tN6X8/yiXogRpt3vDVE25pxZuMeZalkVYUn+OJcxa4Bcyt9kdTHjfFeTd lA1NZnq9m+31mc4nXTErx8xAlN5wOAjxCWgrnP9K5C7+rY0q7 X-Google-Smtp-Source: AGHT+IH0dnXkD52I37aP9Pa0pE25/RyNP45UEIzNd3pebQBg0U8rlYW1ho9Rh+phibOei7IbZYoYZg== X-Received: by 2002:a17:907:7241:b0:ac1:f162:fb0d with SMTP id a640c23a62f3a-ac3303b6deemr1240185666b.37.1742185212373; Sun, 16 Mar 2025 21:20:12 -0700 (PDT) Received: from pro2 (p200300e0b7339900f02e35205d296d31.dip0.t-ipconnect.de. [2003:e0:b733:9900:f02e:3520:5d29:6d31]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac3149d0077sm598515966b.93.2025.03.16.21.20.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 21:20:11 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> Date: Mon, 17 Mar 2025 05:20:11 +0100 Message-ID: <m2y0x45lvo.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > That sounds suspicious. So you have one window W displaying some > innocuous buffer B, and another vterm buffer V that is not displayed > anywhere. The shell in V runs something producing output. That does > not change B, and also not something visible in W, including > mode-line or such or maybe frame title. And that leads to some > redisplay of W? > > Yes, all of that is true. I can't say whether or not it leads to a > redisplay of W, I just know right now that it leads to glyph > comparisons and somehow that leads to flickering in W, so maybe that's > enough to infer that it's a redisplay of W. I think one can say that, yes. The glyph comparisons are done in the part of redisplay that I call "update" which writes to the screen. (Looking at redisplay from sufficient height, how it works is like this, for a window on a window-system frame: It maintains two glyph matrices, the so-called current and the desired one. The current glyph matrix corresponds 1:1 to what is currently visible on the screen, and the desired one represents what should be on the screen. Redisplay builds the desired one, then compares current and desired matrix, and writes the difference to the screen. That's of course a gross simplification. Anyway, the comparison step above is where these "equal macros" come into play. So we're pretty deep in redisplay, I'd say. BTW, there's a large comment at the start of xdisp.c which explains it hopefully a bit better, should you be interested.) > Does that also happen when you use something else than vterm, say M-x shell or M-x eshell? > > Yes, it happens with shell and term as well To me that looks as if this shouldn't happen. At least judging from what I remember from the times of Emacs 21. Maybe Eli has an idea what could cause this. It might be worth submitting another bug for this. > Now pushed. Thanks for the very helpful hint! > > Thank you for the quick fix. > > Is it clear to you why the glyph comparison failing would lead to > flickering, even with double buffering enabled? Heard about the double-buffering feature the first time yesterday, I think. I had it in a branch in Emacs 21, but I guess it's not that one :-). Or IOW, no idea. It might depend on how that's implemented.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 21:20:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 17:20:16 2025 Received: from localhost ([127.0.0.1]:51010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttvP6-0003Rd-8n for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 17:20:16 -0400 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:44495) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttvP0-0003M5-M1 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 17:20:13 -0400 Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-30c0517142bso34601401fa.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 14:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742160002; x=1742764802; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vZSAIqx00Nsl2KUL9gHmQLeJpFpWaGvSOWtGi1A3hhg=; b=cCnIjtMwjVAKuabzLI9RMhipzSDqx8c6IPYH8kMu3V+r5KqI9w6cjQg+laStfDNZaG kUEWQWoPsUV7zNeMaDST0MC73GU3QXIVtxV6I+o470sKPxXv7LTsxJ4sQaR/A7jSW9iC RJLTa6KHOJHowdZSWAECnEs+iRPnBcZI4x6oCgp6DacxhhQqobxJRJ89VC3gxRLPqxIm 3nztdFa6zGcn43FhJrZDN6BwC4/cx/PCvuvxikLEr56f/Q7qjA8oDXeFc/kDm/7uNEv4 XJm5Nq4G8VT/fYgHqAldw32L6JwiP7v0J0QGr4kUaz+ADxqySCjTj5eQbxpsNU/kkkcq VKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742160002; x=1742764802; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vZSAIqx00Nsl2KUL9gHmQLeJpFpWaGvSOWtGi1A3hhg=; b=Dp/29h/k1m0XWyZwuH8v+3cQnysQK7VAbD4YqQwI0jHQhjsM7wX/8K75arUCVKGJd7 3x/K87IqwQe/DK/Em0LIEjG1wa1S1Uk8kC5ZvlI1fnIO3eGhFNX3e9C48Us2p8QkHgr3 fcZic1p8EDclm+qm6msmx2Orkn/Ato4XyWwj4HHKPtyAPpK18b8kmky3R2JgjzeSfCOi lew21EqPn7ItUUixWdGy+zi4ualUTm5Swo/GNoTU2KEVr8rgr8VWwsvlqE3nRME4NPGJ lGXvX1oKiWZ2W38hYuWfl7E0OGBVMMOf6SW6JuZkq/SJvJV65IcnHSgrNm5BH03a0zCW h7yw== X-Gm-Message-State: AOJu0YxVrSO325rsBTVvYmilS3ZUXXVVgZrvy1mSqPre0S52Tqvfjhbs rVJm6lnv5nMsdK6Nrwp/BnPYkfjZ+C1DdGAiUF1V1VWNFvQZme3vkoEoDQaKoUIZOdncNzhqJSf Iw27jl/9suPYnIJWgxa0SjSZCHb0= X-Gm-Gg: ASbGncuFutCBddXPUmmhZlKbvrNs7AF5JYszvac2fqAUUzaxThc34TSLueR2XHFBfBl WcSFQq/6Yawi9EIMXcyFxikr/RiCqJoQqKe9r4u3ga+r3jcfqouh7xLFt/7MfFEsQ9zTr1OOYj7 RuGevcMFLCC/zdo+dTBApSRu5m0gZ1raHV91s8toNTNdPBweYCqw== X-Google-Smtp-Source: AGHT+IFmXuWpX2j7xmX+RgAlPXDyQLGCTXdG4CPNoWhG3Z7UUr/AkqXdM+125MusBwM5gUv7Ilj0HawHjW3S1gCBx3g= X-Received: by 2002:a2e:a54b:0:b0:30c:4346:b1ae with SMTP id 38308e7fff4ca-30c4a8d929cmr41461921fa.33.1742160001988; Sun, 16 Mar 2025 14:20:01 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 21:20:01 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 21:20:01 +0000 Mime-Version: 1.0 X-Superhuman-Draft-ID: draft000ed2523943f8a4 In-Reply-To: <m27c4o7myw.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Superhuman-ID: m8c52k91.c23c7a8d-9146-4b28-a5bd-4102b60d4899 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) Date: Sun, 16 Mar 2025 21:20:01 +0000 X-Gm-Features: AQ5f1JpRrzJhM-VXqdDQ5iJHJsz1Y_BKwOukBbtoiyrL0LnnHI3Ch-dSW9Qv9KY Message-ID: <CAHyO48zVCk0rccKzZPiJ19oQOoj5bhigGVRih9pERHMxKj0Tvw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000000f834f06307c3c74" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000000f834f06307c3c74 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2025 at 1:13 PM, Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN= om> wrote: > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Could you please try if the attached change works for you (without your > patch)? > > I was just about to send you log output that showed seemingly random > values in glyph::frame. You beat me to it. > > =F0=9F=91=8D > > This patch appears to fix the problem for me, thank you. > > Thanks. > > Is this the only place that they need to be initialized? Was it more than > glyph::frame that was uninitialized (and was that problematic)? > > adjust_glyph_matrix is the only place where these glyph allocations > happen, for window-systems. For completeness, let be just say that glyphs > matrices on ttys function differently. And the whole struct glyphs in a > glyph row were uninitialized because they are allocated via C's realloc. = I > don't think this being uninitialized was a problem before, the problem wa= s > only the combination with my assumption that the memory was zeroed. Don't > know where that assumption came from. Maybe I've misread them, or maybe > it's just that I hate leaving memory uninitialized in general and assumed= I > wouldn't have done it there. No idea. > > For my own edification, while logging GLYPH_EQUAL_P, I noticed that it's > invoked frequently for windows/buffers that are not visible. As in, while= a > hidden vterm buffer is accumulating log output and I only have a single > stationary buffer visible, I see a flood of log messages. Is this expecte= d? > It may very well be, I just don't know much about the rendering pipeline. > > That sounds suspicious. So you have one window W displaying some innocuou= s > buffer B, and another vterm buffer V that is not displayed anywhere. The > shell in V runs something producing output. That does not change B, and > also not something visible in W, including mode-line or such or maybe fra= me > title. And that leads to some redisplay of W? > Yes, all of that is true. I can't say whether or not it leads to a redisplay of W, I just know right now that it leads to glyph comparisons and somehow that leads to flickering in W, so maybe that's enough to infer that it's a redisplay of W. Does that also happen when you use something else than vterm, say M-x shell > or M-x eshell? > Yes, it happens with shell and term as well Now pushed. Thanks for the very helpful hint! Thank you for the quick fix. Is it clear to you why the glyph comparison failing would lead to flickering, even with double buffering enabled? Aaron --0000000000000f834f06307c3c74 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)" class=3D"">On Sun, Mar 16, 2025 at 1:13 PM, Gerd M=C3=B6l= lmann </span><span dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellm= ann@HIDDEN" target=3D"_blank" class=3D"">gerd.moellmann@HIDDEN</a>>= ;</span><span style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)= " class=3D""> wrote:</span></div></div></div><div class=3D"sh-quoted-conten= t"><div class=3D""><div class=3D"gmail_quote"><blockquote class=3D"gmail_qu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex= "><div class=3D"gmail_extra"><div class=3D"gmail_quote"><p class=3D"">Aaron= Jensen <<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto= :aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>> = writes: <br></p><blockquote class=3D""><p class=3D""> Could you please try if the attached change works for you (without your pat= ch)? <br></p><p class=3D""> I was just about to send you log output that showed seemingly random values in glyph::frame. You beat me to it. <br></p></blockquote><p class=3D""> =F0=9F=91=8D <br></p><blockquote class=3D""><p class=3D""> This patch appears to fix the problem for me, thank you. <br></p></blockquote><p class=3D""> Thanks. <br></p><blockquote class=3D""><p class=3D""> Is this the only place that they need to be initialized? Was it more than glyph::frame that was uninitialized (and was that problematic)? <br></p></blockquote><p class=3D""> adjust_glyph_matrix is the only place where these glyph allocations happen, for window-systems. For completeness, let be just say that glyphs matrices on ttys function differently. And the whole struct glyphs in a glyph row were uninitialized because they are allocated via C's realloc. I don't think this being uninitialized was a problem before, the problem was only the combination with my assumption that the memory was zeroed. Don't know where that assumption came from. Maybe I've misread them, or maybe it's just that I hate leaving memory uninitialized in general and assumed I wouldn't have done it there. No idea. <br></p><blockquote class=3D""><p class=3D""> For my own edification, while logging GLYPH_EQUAL_P, I noticed that it's invoked frequently for windows/buffers that are not visible. As in, while a hidden vterm buffer is accumulating log output and I only have a single stationary buffer visible, I see a flood of log messages. Is this expected? It may very well be, I just don't know much about the rendering pipeline. <br></p></blockquote><p class=3D""> That sounds suspicious. So you have one window W displaying some innocuous buffer B, and another vterm buffer V that is not displayed anywhere. The shell in V runs something producing output. That does not change B, and also not something visible in W, including mode-line or such or maybe frame title. And that leads to some redisplay of W?<br></p></= div></div></blockquote></div></div></div></div><div><div><br></div><div>Yes= , all of that is true. I can't say whether or not it leads to a redispl= ay of W, I just know right now that it leads to glyph comparisons and someh= ow that leads to flickering in W, so maybe that's=C2=A0enough to infer = that it's a redisplay of W.=C2=A0</div><div> <br></div></div><div class=3D""><div class=3D"sh-quoted-content"><div class= =3D""><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D= "margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class= =3D"gmail_extra"><div class=3D"gmail_quote"><p class=3D""> Does that also happen when you use something else than vterm, say M-x shell or M-x eshell?<br></p></div></div></blockquote></div></div></div></di= v><div class=3D""><div class=3D""><br></div><div class=3D"">Yes, it happens= with shell and term as well<br></div><div class=3D""><br></div></div><bloc= kquote style=3D"background-image:-webkit-linear-gradient(left,rgb(237,237,2= 37) 75%,rgb(237,237,237) 75%);background-size:1px 1px;background-position:l= eft;background-repeat:repeat-y;padding:0 0 0 20px"><div class=3D"">Now push= ed. Thanks for the very helpful hint!<br></div></blockquote><div><div><br><= /div><div>Thank you for the quick fix.<br></div><div><br></div><div>Is it c= lear to you why the glyph comparison=C2=A0failing would=C2=A0lead to flicke= ring, even with double buffering enabled?</div><div><br></div><div>Aaron</d= iv><div><br></div></div><div class=3D""><br></div></div><div></div></div></= body></html> --0000000000000f834f06307c3c74--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 20:31:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 16:31:41 2025 Received: from localhost ([127.0.0.1]:50912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttue5-0003m1-3O for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 16:31:41 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:60599) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ttue2-0003ku-Bf for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 16:31:38 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-39129fc51f8so3277131f8f.0 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 13:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742157092; x=1742761892; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/MzZgavell/UpzK9ET+m0e6r2nbPWqa2KN/LdGjMxn4=; b=ZRP4tt6tyZvlEJqk/RZTkf5XOjmAptt0eHRqg5QEDKXD4B2VVmzL6GvFnP6W0AQDqC 3EmJeD8J7rFKPazGsniMRrcmSpr6PsZFRDaMXFZwdJpoKUK6OKUCKtUefJVQuxA6WBkc 7NXbJN0qh8UMRF0GXOOACNGWhshxNILR6+b7mYUoZS0YCefpTAdT68meEjMvj/LdOg4k lvPNh308LDkrs81sNpYWO9pYKDe5q/gBLG78bNd0BeMeXNYS87UvgdEvQXtZtTB2Vfuc Ca4AfosKGwB0K1TC5PinxyPfBq858/TJVvJKOHqXyEkpnyFE79kPW70EMQ1AAplVT15k LNRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742157092; x=1742761892; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/MzZgavell/UpzK9ET+m0e6r2nbPWqa2KN/LdGjMxn4=; b=labNzo9o4M2P2fUOF/G+i7PyF6lJlrXjtN3IqxOGkjpDHWrhWhmbpgUiE3rsOuY8W5 kOoSJ7XrKHEnZP26RVYECgeFYPL52mlwNiQXjPr+7+1WNvCl8dGw8E5Yj1MQT8h7pF5G g/UTsQ7FOM1oz+AzH2hbfLqmzvRYannCAl+orOOAwfjRmmcoDTSkQVomfT5R0Bow19In pPsFkqNN5LRcmMThRW51iCnn1SV4n6wObASo4Dj5haFEqaSzBuQYzL9TnyaJwEZnKt3p I5KP3Oz/5AaL9SP99KwZGkFCfOfr4p34jJHUgtfiqhsM1+N6Zp/xPWJjApLbPFi3wYdl g9lg== X-Gm-Message-State: AOJu0YwLwrw75wHgErRpahvgEOSsY3C0gMM/ucqdCVy1lSOC13Z/87nV BFX5eSgKe/pjUQmzINhyTvm8BS8O/GiDk84Gp5C8SVJBg9I3/t2V X-Gm-Gg: ASbGncuFXkDMF7XXXs+8wgMRu8uKuEf5p0mMzWtjE6u3jBUs3z2wuSvWw41V67gWv9w Xfb4M4NeG/AlcrYgjqTiYW0/O0jOTX7Qhw3j8vnj1DCF5o0NYqPXPViKCJqRKX5ZaOJG+GxfgrX 94CY/0yfcsNqTvO/LEcJdbTf1qsxGS8H1oY4V4Z582aUJNCS68067FY3fQDahsr24N5WA7dPRbz Bq/z15Cdats7W+V0zwrtPyO6aZDD4YYeXK3oAp7PsMOTXV63lLL4GcZYJD+EmUJFnXZ9d3HVLT/ 7/dlwaoKq4ugXmg039OmSVFxtJGoB3g4viotFBdjhyOe9/Yjo5xWceSmgU3bBSp4hiUnkVLcxJn MOucnFms/14C/5R1qfB9ICgZPeLXiyk20aCasW+kJ/JUTEmbULXZP/A== X-Google-Smtp-Source: AGHT+IHRkYNemwa4AnIlxcEwPfz8V1n7yd4jbmHx3VjUDxA1nDbjxf57jxCzdCVgy1okMiHwaaUKYw== X-Received: by 2002:a5d:5847:0:b0:391:3f64:ecfe with SMTP id ffacd0b85a97d-3971cd5801cmr11140296f8f.10.1742157091999; Sun, 16 Mar 2025 13:31:31 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb7ea197sm12660933f8f.84.2025.03.16.13.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 13:31:31 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <m27c4o7myw.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> <m27c4o7myw.fsf@HIDDEN> Date: Sun, 16 Mar 2025 21:31:30 +0100 Message-ID: <m234fc7m59.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes: >> This patch appears to fix the problem for me, thank you. > Now pushed. Thanks for the very helpful hint!
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 20:13:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 16:13:56 2025 Received: from localhost ([127.0.0.1]:50882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttuMt-0001If-J2 for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 16:13:55 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]:52563) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ttuMq-0001HB-22 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 16:13:53 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-ac298c8fa50so701267066b.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 13:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742156025; x=1742760825; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wxqOzD31q6S3IOt3d0d5oJDMyWF0++ayOB06THNH9pU=; b=UZX1Dx+IIJtUkMHLERmAPmHWJUZRTRFxYZ3+hQkfGyLrpXNL1/GEM0qEQJGIDCqbB+ fOLj53A/B1owi3i5MPr6PxIN/8f8S7Go9lvnbGIepcZocYjzFzbR1imjzJLJxl0Yn6lG uqFEBpx3GevZSmerXreRNM//sDlB724VQgt1oq4xCod6AVhN61FK7/xInR9kg+94ghZS U2BFr4J80fG6UqCOGn7mxVZczesAyLYEtsYyRfoXSGXGLjy01qGDCMCH8YUcZ4J2yMpl 1jhqWQ5jwd+WxJTFZWfIbhlywVk8pBpzPsslQ1yGHSha8J3RwGU2/Oo6B2MpkzkSyXwg jURA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742156025; x=1742760825; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wxqOzD31q6S3IOt3d0d5oJDMyWF0++ayOB06THNH9pU=; b=sBnAkk2OsgHU+ve9xzidIW87Pu78Jzl9Jk1bX0oCxhmO3U7zdGE6DudJjndIUFZRQM q3PWZYqAsivdG+6rN6XzlXV/nS/jcbf57ZLhNgc2hODANxEGcdHXGsjGkSKXJiDwp7QD N7J0kY98mMsoPaA2DH0wwJFtpkRX6epjKG9WUlAknUaflZfX6zRTxFdVcnAn9oOsNbMB UOoqouVbdgkI/1lqg3VLnC3/Jp1Od5iYR3pOkTRSn93HEaFHXCA4ayHyCvu1lKTKENgc izxc+pdGcQIVVgnJefvR/mQjJ5XA866xLCi77ANbNFy+80JyCk4aazM6aV23CAXLB+Tw GmaQ== X-Gm-Message-State: AOJu0YzfXL0xsPk+zYAgosQe0/U4ZLWla15EqGNe01DznF8ZOySFaQMV vivCzCLkZJbYiFsZibWviEJg6XiIpvGGXbzErZMHP6eCJV5QTKm7 X-Gm-Gg: ASbGncvhX+Ub3Ft4oa7+9NkX81uxyykIGDJCJWU6CiMEtEit9Var0DKWikmmI4SgIv7 tAfDPnfPpHAIstMgAwQG/eJMrZ24PR9Jdv3MSCmC5+z9LJK5F0m+iGuRlSbXg12erkVT5vMemQq BSDz6SfKDyxSkOd4uai+0wwa4Swx+Bmu7vqccMHt+qT8DGi+wUG4xzlD+Cohuutu9FqFXOsjTUI XhN/rsQ9O52ipaIqFwOZ1ITPyai2OZa5Sx8T+f4MiBbhRSpcdbubsf23pu4dP779tXvpc27NY+1 NArKFldvsdlvreo4TVSj0fWVL+rVwmZMD5D3eyyBSJttYukNAzdBOhF5uTvzpSnCH28Qgm25Mxi JkfjPrUv1Zs92bq9vsjWoTxLkSy/LLdWpR0GG26UmWLaj4EzD0VjTnA== X-Google-Smtp-Source: AGHT+IHWrGpIAUT1c2lOrcr94vs8L8ps2Hk7EF7AM+3ZEn7ExhK6/kfD7x61KPp5ieNLW0OYQ8Te9Q== X-Received: by 2002:a17:907:1c0c:b0:ab7:fbb2:b465 with SMTP id a640c23a62f3a-ac330452a9cmr962586666b.49.1742156024674; Sun, 16 Mar 2025 13:13:44 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac314a489e0sm536705766b.151.2025.03.16.13.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 13:13:44 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> Date: Sun, 16 Mar 2025 21:13:43 +0100 Message-ID: <m27c4o7myw.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Could you please try if the attached change works for you (without your = patch)? > > I was just about to send you log output that showed seemingly random > values in glyph::frame. You beat me to it. =F0=9F=91=8D > This patch appears to fix the problem for me, thank you. Thanks. > Is this the only place that they need to be initialized? Was it more > than glyph::frame that was uninitialized (and was that problematic)? adjust_glyph_matrix is the only place where these glyph allocations happen, for window-systems. For completeness, let be just say that glyphs matrices on ttys function differently. And the whole struct glyphs in a glyph row were uninitialized because they are allocated via C's realloc. I don't think this being uninitialized was a problem before, the problem was only the combination with my assumption that the memory was zeroed. Don't know where that assumption came from. Maybe I've misread them, or maybe it's just that I hate leaving memory uninitialized in general and assumed I wouldn't have done it there. No idea. > For my own edification, while logging GLYPH_EQUAL_P, I noticed that > it's invoked frequently for windows/buffers that are not visible. As > in, while a hidden vterm buffer is accumulating log output and I only > have a single stationary buffer visible, I see a flood of log > messages. Is this expected? It may very well be, I just don't know > much about the rendering pipeline. That sounds suspicious. So you have one window W displaying some innocuous buffer B, and another vterm buffer V that is not displayed anywhere. The shell in V runs something producing output. That does not change B, and also not something visible in W, including mode-line or such or maybe frame title. And that leads to some redisplay of W? Does that also happen when you use something else than vterm, say M-x shell or M-x eshell?
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 19:37:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 15:37:13 2025 Received: from localhost ([127.0.0.1]:50834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tttnM-0006Kw-Ex for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:37:13 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:61507) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tttnK-0006KV-27 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:37:10 -0400 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-30bf5d7d107so33759581fa.2 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 12:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742153823; x=1742758623; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hD+YpexsMUe9phau234hyY3nKYTQR6/lB7aroDg5Mg8=; b=Sz4nbgpI+zu4ExcmZeO/WGV7K2pFOkfGpciAOwH6TSpMwV91ketNJ4oOL02Xuv/7Yr W40dL8lx6Ma/1uUObPapRlhGsjOrU3f/1S8Yj+YuwuEt7iJNAKhai0YIbcL3NjLDAdK1 R6BxefTxpDbBgdWVlHWrDmTkXB1dDNJHYuznlrtKdP06MfrpUgKWqEGhf3xCF1eaTItd F3e6gH2yOXUHfIqBuy+BKA/Pf0ZDkctZhE3aHFqDnoEHmMff8QE5lFe1EwlevelYqF3N Lq1pup/cwf7gN74IuM7HGuDcX4RQaLkcgERE1N1j4X03d5A7rPpHcehs9S+xmzjstW6n x3OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742153823; x=1742758623; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hD+YpexsMUe9phau234hyY3nKYTQR6/lB7aroDg5Mg8=; b=KkzRXOaM/HWPyG1APgZXvln9tf7e2wSgnQrLjfABq8Sk1okXM85CaSiqRBtBfc2Nlr ei2W0tHQEi0EnBHDV6x1KNVM7tFq2om4MlZ22ub36EP/nEddZZUyfos64k+yKPMNIBOm EZJI3VIDSbOdEE/vxk3xUiem6/qERBQC9qGLoh7GHO4KORWD9V9DozESZK50qHQ3/Tp3 xwNhZebdMpJJFuPp9uUJGjDXjPTXsH7lOSTDTKoXpCeEpjysHemXawVVLMBV1v/gKjAb 6pJ1bqS9GD0kCcw6J6Qs+GhU56m2zggG0bbAf6V3BljzUvg6c61vsL5m/4Bb0+u+e7FN 9PUw== X-Gm-Message-State: AOJu0YyiXuMAM8PLe4WC8u85JOlPGW7F4qQwuK9/TUsYVkABzSNGt6Z4 O9uNZpA+tMm/w8amb0po7zvbDb0fsOIimb3slq9zPp0gIjl/Ml6dDwfXRxpa53Zhb1ilLftPzVF TAtadbHse0pEZFp1/5VnD7tNohmk= X-Gm-Gg: ASbGncsCjpa8nqrGzxpN4NhDSvb85LyjP20HfBlEiCxkhnL6n+8zIQ2WIBfL/2mOYJI nfRRYCTp7/eOBcAasMDxdN95YZLcZZA3fI7XG/g3C9pPkPFJ9zukZofVTWCVh/+tsb0kE+kDxDh v+X015uyZWrY0v2LWxltRURnGJUb3su7USDVvjrVD+KWKMP7spzQ== X-Google-Smtp-Source: AGHT+IFKk6sNf7ueCaLJ2gZPieVMbJ0KwqINQGDunuh+LmWScwlcVXhkGSE3Ll+9sCSGhwNX7/uftYRlzUlhDE5Yx7I= X-Received: by 2002:a05:651c:1506:b0:30c:7fe:9c95 with SMTP id 38308e7fff4ca-30c4a74d4ccmr49672701fa.8.1742153823158; Sun, 16 Mar 2025 12:37:03 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 12:37:01 -0700 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 12:37:01 -0700 Mime-Version: 1.0 X-Superhuman-ID: m8c1e3gg.3ec86341-7106-4ceb-98a7-d875e3824e95 In-Reply-To: <m2frjc7p6g.fsf@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-Draft-ID: draft00f4ad03451997dc References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <m2frjc7p6g.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sun, 16 Mar 2025 12:37:01 -0700 X-Gm-Features: AQ5f1JofQezzoAMXftasq8P-T5tE_zTnnj4B-Q1CX0kpcOnm5qVzJA-7xbDAs-A Message-ID: <CAHyO48x9rruqGZ77GCQ+FGzfrstfSSMiLf9hxjBfk74xoMWKNw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000c6171106307acbf3" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000c6171106307acbf3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2025 at 12:25 PM, Gerd M=C3=B6llmann <gerd.moellmann@gmail.= com> wrote: > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Hi, > > I've narrowed it down to the addition to frame in the glyph comparison. A= s > far as I can tell, the attached patch removes the flickering for me. I sa= w > the cursor blink once, but I couldn't reproduce that and I couldn't get i= t > to do it again. > > The patch is not suitable for applying to master as it certainly breaks > something int he tty child frame code, but hopefully it gives you an idea > of what the problem might be. I'm going to experiment with accounting for > the NULL frame in the space glyph and see if that helps. > > Thanks Aaron, that was very helpful. I'm pretty sure it gave me right > idea, namely... This in adjust_glyph_matrix > > dispnew.c: > 505 while (row < end) > 506 { > 507 row->glyphs[LEFT_MARGIN_AREA] =3D 508 xnrealloc > (row->glyphs[LEFT_MARGIN_AREA], 509 dim.width, sizeof (struct glyph)); > > means that glyphs in window-system windows are not zeroed. Which in turn > means that glyph::frame is not guaranteed to be NULL initially. And becau= se > I falsely assumed that to be the case, I didn't change the code producing > glyphs for window-systems to set glyph::frame, which isn't needed or used > on window-systems. And in the end, the glyph comparisons can fail. > > Or so is the hypothesis... > > Could you please try if the attached change works for you (without your > patch)? > I was just about to send you log output that showed seemingly random values in glyph::frame. You beat me to it. This patch appears to fix the problem for me, thank you. Is this the only place that they need to be initialized? Was it more than glyph::frame that was uninitialized (and was that problematic)? For my own edification, while logging GLYPH_EQUAL_P, I noticed that it's invoked frequently for windows/buffers that are not visible. As in, while a hidden vterm buffer is accumulating log output and I only have a single stationary buffer visible, I see a flood of log messages. Is this expected? It may very well be, I just don't know much about the rendering pipeline. Thanks, Aaron --000000000000c6171106307acbf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sun, Mar 16, 2025 at 12:25 PM, Gerd M=C3=B6llmann </sp= an><span dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellmann@gmail.= com" target=3D"_blank" class=3D"">gerd.moellmann@HIDDEN</a>></span><s= pan style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:<= /span></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><d= iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:= 0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail= _extra"><div class=3D"gmail_quote"><p class=3D"">Aaron Jensen <<a target= =3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN= m" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>> writes: <br></p><blockquote class=3D""><p class=3D""> Hi, <br></p><p class=3D""> I've narrowed it down to the addition to frame in the glyph comparison. As far as I can tell, the attached patch removes the flickering for me. I saw the cursor blink once, but I couldn't reproduce that and I couldn't get it to do it again. <br></p><p class=3D""> The patch is not suitable for applying to master as it certainly breaks something int he tty child frame code, but hopefully it gives you an idea of what the problem might be. I'm going to experiment with accounting for the NULL frame in the space glyph and see if that helps. <br></p></blockquote><p class=3D""> Thanks Aaron, that was very helpful. I'm pretty sure it gave me right idea, namely... This in adjust_glyph_matrix <br></p><p class=3D""> dispnew.c: <br> 505 while (row < end) <br> 506 { <br> 507 row->glyphs[LEFT_MARGIN_AREA] =3D 508 xnrealloc (row->glyphs[LEFT_MARGIN_AREA], 509 dim.width, sizeof (struct glyph)); </p><p class=3D""> means that glyphs in window-system windows are not zeroed. Which in turn means that glyph::frame is not guaranteed to be NULL initially. And because I falsely assumed that to be the case, I didn't change the code producing glyphs for window-systems to set glyph::frame, which isn't needed or used on window-systems. And in the end, the glyph comparisons can fail. <br></p><p class=3D""> Or so is the hypothesis... <br></p><p class=3D""> Could you please try if the attached change works for you (without your patch)?<br></p></div></div></blockquote></div></div></div></div><div><div><= br></div><div><br></div><div>I was just about to send you log output that s= howed seemingly random values in glyph::frame. You beat me to it. <br></div= ><div><br></div><div>This patch appears to fix the problem for me, thank yo= u. <br></div><div><br></div><div>Is this the only place that they need to b= e initialized? Was it more than glyph::frame that was uninitialized (and wa= s that problematic)?=C2=A0<br></div><div><br></div><div>For my own edificat= ion, while logging=C2=A0GLYPH_EQUAL_P, I noticed that it's invoked freq= uently for windows/buffers that are not visible. As in, while a hidden vter= m buffer is accumulating log output and I only have a single stationary buf= fer visible, I see a flood of log messages. Is this expected? It may very w= ell be, I just don't know much about the rendering pipeline.<br></div><= div><br></div><div>Thanks,<br></div><div><br></div><div>Aaron<br></div></di= v><div><br></div></div><div></div></div></body></html> --000000000000c6171106307acbf3--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 19:36:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 15:36:00 2025 Received: from localhost ([127.0.0.1]:50830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tttmC-0006Eb-2z for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:36:00 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:43051) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tttm9-0006E4-SO for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:35:58 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-38dcac27bcbso3174088f8f.0 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 12:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742153752; x=1742758552; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cbuwaQj0eV8GOUfYyMmM/By5OiQ6Ab+RXvE1ufcit6M=; b=Upx4TKrj3H/yvwLOpmZYTIPAj5b3q/kJ9rAQUcQilBkVMOQuowsPRzY6WvjfZRNrTf 1/Ede14kxG9+1XF8SMJK+l8WBxR7m5NAKVvseecOBapo9dKnvFUXW1x0aLuh+cnSQZkW U9y5lMOybjdMQa40YvSR5oooJMjcFbdMyj+Hst7J3U0I46EmD91wizMhVzMT4DMLAS3L cl+0Mu5QxnW7AOiw56w5QwmFpzOIC4YBpBAtf93JfEFNFuNbrydYBqZxBVRoX67cDG/u xH5ULq//yprfcGD57kW5NfclhSDrh+WbH0USICC4WPDxfqNkxJ8anJvP+I8lvnT5XFJ3 9WIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742153752; x=1742758552; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cbuwaQj0eV8GOUfYyMmM/By5OiQ6Ab+RXvE1ufcit6M=; b=lK9kU0dDVCRng9FC47JjxtAaN5wMblPuKP5ojwPCwSyC8cgbi3zX6IQ88gEwFstR1Y iKb3UHiL2vOnQT9SdMMKOdeLZvYQzfEalvHdsg/4vMsxrdMU5WY5/Av4QrAhz1uhsdy/ 3irFAmPGUr7mMqOaoWdhcM6BeQ5+327pV6mX5X0cQ4OEPObATzl0K39TEsO6z7vFG0CV SrcxV0XphDyXayk+yhcM+e4nXToG6H4I7fOKlUwOC4A1p6KqGmiGWuWNqKCY1BzHe1M5 IDRvYi98U9+YP5tWhEeK07INd15GTwi+iJWo62Zy6Rq2wX2zs2jEoh3hzWXVD4RjXqxI zEKg== X-Gm-Message-State: AOJu0YxM5ETlQ2fYF5xnIOvTEZAghkamIWG7H59i/1AScWJz7nfXuprq irm60gefvrlcDo60adBOZQOMl0CPASc3t/scecKjV3G6gTt4UZNC X-Gm-Gg: ASbGncuxrkWsjL69SDdoYrbz5keFEBOOwQwk7iKdJPm4/r36i0OCKlq7Mqk/vlRzEiP PIcuNghofdKErAydYeRCeceBZUvSfS2Icep2GiYniMR+UVbwdoxtF85bvMWDuK8rs/CCaySrVm/ KeDF9VWGIj6621qzbG4FcP+GX/S6D+ch6kX3VQ0dCCobY0gaWVm9G6hH7YrcJTVCDQc/iW+AjQq o95NAMBhLKrZhihxG7l9Z6XHfUS/DmK4Es6fR58IVZDIG0MwI1nX/A8aWHHIMbGFIhBbeHMIdrA RAVMCq7EA5gWn7GKLfnRgcNolrk4x5iFz3AHbbaKCGij9lW7WDFRBSSkau4CZWxDJM4V9RpbgZ+ h00AbjhZzkBjo944uCGwDs/Et+E2FVUfzj7D++ZR6sm/RXFiTZ/13WEAHOqRjUaDE X-Google-Smtp-Source: AGHT+IEE4Y+tTDQISThY2bXGB1nDezLwqGhF7KX/0IKXUnKWU6qQutdOfGQNbAwaYjOMo1y/YonpsQ== X-Received: by 2002:a5d:5886:0:b0:390:ef45:1a36 with SMTP id ffacd0b85a97d-3971d616ffemr12633394f8f.19.1742153751739; Sun, 16 Mar 2025 12:35:51 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c7df33d7sm13138739f8f.17.2025.03.16.12.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 12:35:51 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48y=7WqyDEuP9agx4S5jWN6pVCe=xZt5jJVLYsJQA923wg@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <CAHyO48z7mxEpt9Zn6WjXTuD6nikcBAW=2fKqpk3Nt=g=09vukA@HIDDEN> <CAHyO48y=7WqyDEuP9agx4S5jWN6pVCe=xZt5jJVLYsJQA923wg@HIDDEN> Date: Sun, 16 Mar 2025 20:35:50 +0100 Message-ID: <m2bju07oq1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Actually, while I don't fully understand the code, it seems suspect > to me that there is a global `space_glyph` glyph struct that gets > initialized with a NULL frame but the frame is mutated over time. I > wonder if my not removing the frame check inside of > CHAR_GLYPH_SPACE_P is why I saw the cursor flicker once. > > I was mistaken here, I believe. It's not mutated over time =E2=80=94 I'm = just > rusty on C and I misread some code. And the redisplay code is pretty complicated, I must admit. Much of which is due to the slowness of mid-90s computers and pressing something with acceptable performance out of that =F0=9F=A4=B7.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 19:26:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 15:26:11 2025 Received: from localhost ([127.0.0.1]:50799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tttch-0005Ii-1L for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:26:11 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:61707) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tttcd-0005I3-MO for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 15:26:08 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3913d45a148so3209041f8f.3 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 12:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742153161; x=1742757961; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1E86bQfkZ/CARw3AtAUgI5HL+KSEctjE2P//Or5s9wE=; b=da+uC8ArBVuZeig8tJon337UmIIY2w/Ac1zZw24DQIwt7MzF+WA7bSeFTxZM74Gwpd Bq85rmpSO4qmoihoWc+Y4emwnUuviurm/R1M/TDG72sIhmWGghOjXVG6Py4/jgwm0zWW npuRolnUr/jTLvPk0axTPf4+AqGg4tTzjjQdR67w9a1idZZP5O2/SlEjrQV0+K/xKFZT dJXhxb3qGgO6Mb9FqrffsR+KLIqxEcH6F4pjBCATVwMLLqilWYO5BSDU5dXBmokwpm5V 80r97uQ8OeMzLpTTpJAF2AJ1QnhIevHZVd9XsZhoN81bV9cHy3qIS2u39psv3bsWqOM7 uWOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742153161; x=1742757961; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1E86bQfkZ/CARw3AtAUgI5HL+KSEctjE2P//Or5s9wE=; b=kF1+gVQrGKE2/RcYJXzxFAocV5Nd4zfvnIqm/TZqkM5MaYcnC8lpjk7DG1NH8QLRmb Jeh0bNrfXWTL13FNSVhry3XPctuzfCupGVOeDuaXCQStF+rr9U/CBkc8tfa1ILbpv887 bhIUIJYHZsX2pPP7vhdhtfQCbGdmVVrE8Ltn45pnUpm0dOigonX67zW4Ptkv9I+xFFku jvCA9jVEC19KCxBNhii8bR8n8LRF7eX3uWAivAx+MLWp6lBp96udj07XCvKbdiLtBeUp xiwDAwI5Hnk6WfVqwHbCgN5sC79z+xo5vqXOMiBEH381PrHJY+S6RRo1WI90xJh+gKoA PhQg== X-Gm-Message-State: AOJu0Yy3S/EBklirzMoAaPtLz3WojWNnapx9a2Q2MU1yQphlVrw1Q2US nv5fPeJryRqU54EZn+0FEmL8h93vf6QUxikkKzp6kxoPQyj/TElk X-Gm-Gg: ASbGnctlHcWERBaSU6ulXLRDFvTjKZMMvY6pkKey9yWEqk6DwwwNi8KvxiZ1pjEKyXM F1+b588hkOBhYPcbQgW3ezHGGjgDL+XVr5VDsuUeVQd3Z2iS2ptWokOP0v4linYvgc8Hwvsk4v3 zxzTMKfzENJyfCxSeFnU4iWTM8UJFwaEXB1u5NL/P2+FsH6hSceN0dYH0PuiNLcYwiX0M2f5HOs dHsp2QFpi/wpo9wByAltOm1dEaSNpkN2+gIdnpkixt7opyAUWire51mCdur9i6vzmTkNjMcjX3f v6Pb4BW7mb+JA1QU5bHKEiAbhBcFoBmq4tlRrBVMnHLnfDEvw66jAIGBH9yoC7AzQxzy2rdv4fX GGsW8X7xAvVQh8kR89Vm+2CGKIZdxRvx/Nc7jdZFhOL9+swA2jgLHeQ== X-Google-Smtp-Source: AGHT+IFx9JLy6fjnAMOREaSd7xJiy/8wEHRRO8LsZ7w797HKW5p10bdN7JnYp0Y7FLv20mRS+CbNeQ== X-Received: by 2002:a5d:47c9:0:b0:390:e311:a8c7 with SMTP id ffacd0b85a97d-3971cd57eb0mr10337824f8f.5.1742153161223; Sun, 16 Mar 2025 12:26:01 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c82c2690sm12562993f8f.25.2025.03.16.12.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 12:26:00 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> Date: Sun, 16 Mar 2025 20:25:59 +0100 Message-ID: <m2frjc7p6g.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Aaron Jensen <aaronjensen@HIDDEN> writes: > Hi, > > I've narrowed it down to the addition to frame in the glyph > comparison. As far as I can tell, the attached patch removes the > flickering for me. I saw the cursor blink once, but I couldn't > reproduce that and I couldn't get it to do it again. > > The patch is not suitable for applying to master as it certainly > breaks something int he tty child frame code, but hopefully it gives > you an idea of what the problem might be. I'm going to experiment with > accounting for the NULL frame in the space glyph and see if that > helps. Thanks Aaron, that was very helpful. I'm pretty sure it gave me right idea, namely... This in adjust_glyph_matrix dispnew.c: 505 while (row < end) 506 { 507 row->glyphs[LEFT_MARGIN_AREA] = 508 xnrealloc (row->glyphs[LEFT_MARGIN_AREA], 509 dim.width, sizeof (struct glyph)); means that glyphs in window-system windows are not zeroed. Which in turn means that glyph::frame is not guaranteed to be NULL initially. And because I falsely assumed that to be the case, I didn't change the code producing glyphs for window-systems to set glyph::frame, which isn't needed or used on window-systems. And in the end, the glyph comparisons can fail. Or so is the hypothesis... Could you please try if the attached change works for you (without your patch)? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=adjust.diff diff --git a/src/dispnew.c b/src/dispnew.c index 69b29aeac16..0a404d9e37f 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -504,9 +504,11 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y while (row < end) { - row->glyphs[LEFT_MARGIN_AREA] = - xnrealloc (row->glyphs[LEFT_MARGIN_AREA], - dim.width, sizeof (struct glyph)); + row->glyphs[LEFT_MARGIN_AREA] + = xnrealloc (row->glyphs[LEFT_MARGIN_AREA], dim.width, + sizeof (struct glyph)); + memset (row->glyphs[LEFT_MARGIN_AREA], 0, + dim.width * sizeof (struct glyph)); /* The mode line, if displayed, never has marginal areas. */ if ((row == matrix->rows + dim.height - 1 && !(w && window_wants_mode_line (w))) --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 17:44:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 13:44:27 2025 Received: from localhost ([127.0.0.1]:50608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tts2E-000656-GP for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:44:26 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:49488) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tts2C-00064i-1a for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:44:24 -0400 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-30c091b54aaso34708931fa.3 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 10:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742147057; x=1742751857; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mrz/H716cLqiPYlGLSi1yLdateMfvTHSNQoqVgPYeQs=; b=GDm9qXwyR8HifUXWpI0yh3Mawktja/jiQkTIuoBVddWaAABIW0a68/ZQlG3uYWr0b3 9Ys9gFpYAKpiLaFHsO+bkNTZ9zX/Np3rm/bS5KFTiVgDMzlTzoVOvhxq3UDpLpiyGnIr i+t23bXbFdoam/kbcVFEvzMOd3/2vPDs6F6X8CIHGQB3DlVfwTIqopLGAPS8H+eXSB37 2iY/Q4QSS+g7+Sk4R2BpBPZ1+NT3VdltFkjVZZ5tHDL84Z7hyzfJkg78WeRsNZAfE0ou XTakOmw4Bxpz2BdAQDEROZgynpFj8kwVEPeG8I9jzkyEB0L9IPyywrC/XhVQnauNo33Y 7WKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742147057; x=1742751857; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mrz/H716cLqiPYlGLSi1yLdateMfvTHSNQoqVgPYeQs=; b=cSxdmH0gOIoRjcDGbutOeAbMUQjtqwD4uzy9Nw5rkwpvsqoFtLbpsMcDkMkCxB/72l 62AuV+7AbcxnRtjUjElkybR62FrJnD1u6HveA5OQruPI2t3HSlo92VEGFvUgr6eAooYO kus2V2ue7C4iE9jWw2UW8NW51AmiJf3aecpTg3vq5bronnXyL03JSyqFVlAZTPijlLfk CAXawMYmh7pmenD9WO7/wGZKHUK80n23UBntYQRQmuME3xCmFfAgaAWGqA70hXEv/cv5 8bZkZHulOBGuxO/2xBq5NsgavQhqCArEKDwIlfy9jgD5I0zZmxd8zDAw3Z+RK4sDyPfR NgCg== X-Gm-Message-State: AOJu0YwFHpDsGwVmEMErDQnZDXEl4Er2kh7lNiP77M48U67Zc6k9y2Nf BV/CuL83yWVka8Xz9w6LjFgE27CkJEMvPrKnj1L+c1ved7vveBfW3mlLXdgc/Tei4sztOjVR1ch SccQFQFuf45ArmibBgsmcyjvjZ+3rmw== X-Gm-Gg: ASbGncvKQ6TNLBeb6CeO66XcuAbhnnrQMZgz0kpPoOPaDv7RnEy971YRc2DirEfEkjs f6nO5PNXCkoowCbaqLPBdUy/i/bc3eI5frsNo+LMXe4EYfIoQHnkT3P0+WkMsbIe3dGQbxEiv78 SiKGNifsAfNYMjxSLutYJV7+w3+vhmCrxQ6GSgFMdrD20JlcqTfA== X-Google-Smtp-Source: AGHT+IFLyc2a1aYLHYxl3rXcZ54D2k5Y8muBeXPj8JFHygg/xzLpDq3/nEXnE74da4LI0PROHISD/GrrwltznJQDVA0= X-Received: by 2002:a05:651c:b14:b0:30b:b956:53bd with SMTP id 38308e7fff4ca-30c4a74d0bemr46769191fa.4.1742147056908; Sun, 16 Mar 2025 10:44:16 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 17:44:16 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 17:44:16 +0000 Mime-Version: 1.0 X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) In-Reply-To: <CAHyO48z7mxEpt9Zn6WjXTuD6nikcBAW=2fKqpk3Nt=g=09vukA@HIDDEN> X-Superhuman-ID: m8bxd30a.789b8da2-49ac-4e8d-8dbb-1885a34a5923 X-Superhuman-Draft-ID: draft0003049d9cf7d6b0 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> <CAHyO48z7mxEpt9Zn6WjXTuD6nikcBAW=2fKqpk3Nt=g=09vukA@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sun, 16 Mar 2025 17:44:16 +0000 X-Gm-Features: AQ5f1Jrd-fJ-ktbt8-mMw2IvxUN0_P8Zm3WZM-9_ZsW0i3m1QzROBifXKmxC-QU Message-ID: <CAHyO48y=7WqyDEuP9agx4S5jWN6pVCe=xZt5jJVLYsJQA923wg@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000079419f0630793832" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000079419f0630793832 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Aaron On Sun, Mar 16, 2025 at 10:19 AM, Aaron Jensen <aaronjensen@HIDDEN> wrote: > On Sun, Mar 16, 2025 at 10:15 AM, Aaron Jensen <aaronjensen@HIDDEN> > wrote: > >> Hi, >> >> I've narrowed it down to the addition to frame in the glyph comparison. >> As far as I can tell, the attached patch removes the flickering for me. = I >> saw the cursor blink once, but I couldn't reproduce that and I couldn't = get >> it to do it again. >> >> The patch is not suitable for applying to master as it certainly breaks >> something int he tty child frame code, but hopefully it gives you an ide= a >> of what the problem might be. I'm going to experiment with accounting fo= r >> the NULL frame in the space glyph and see if that helps. >> >> Aaron >> > > Actually, while I don't fully understand the code, it seems suspect to me > that there is a global `space_glyph` glyph struct that gets initialized > with a NULL frame but the frame is mutated over time. I wonder if my not > removing the frame check inside of CHAR_GLYPH_SPACE_P is why I saw the > cursor flicker once. > I was mistaken here, I believe. It's not mutated over time =E2=80=94 I'm ju= st rusty on C and I misread some code. Aaron > >> On Sun, Mar 16, 2025 at 2:00 AM, Gerd M=C3=B6llmann <gerd.moellmann@gmai= l.com> >> wrote: >> >>> Aaron Jensen <aaronjensen@HIDDEN> writes: >>> >>> One other thing, it may be related to tab-bar mode. It seems to be >>> connected to when I switch tabs =E2=80=94 one tab has a vterm buffer sc= rolling >>> output and the other just has a grep output, for example. If I don't ge= t >>> the flicker in the grep output, I can switch back and forth between the= two >>> tabs a couple times and I'll start to get it. >>> >>> Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just playing >>> with window configurations". Why that would lead to flickering, I can't >>> imagine ATM. >>> >> --00000000000079419f0630793832 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><br></div></div><br><div class=3D"sh-signature"><di= v class=3D"gmail_signature"><div class=3D""><br>Aaron</div><br></div></div>= </div><br><div class=3D"sh-quoted-content"><div class=3D""><div class=3D"gm= ail_quote">On Sun, Mar 16, 2025 at 10:19 AM, Aaron Jensen <span dir=3D"ltr"= class=3D""><<a href=3D"mailto:aaronjensen@HIDDEN" target=3D"_blank" = class=3D"">aaronjensen@HIDDEN</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div cl= ass=3D""><div class=3D""><div class=3D""><div class=3D""><div class=3D""><d= iv class=3D""><span style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,= 0,0.6)" class=3D"">On Sun, Mar 16, 2025 at 10:15 AM, Aaron Jensen </span><s= pan class=3D"" dir=3D"ltr"><<a class=3D"" href=3D"mailto:aaronjensen@gma= il.com" target=3D"_blank" rel=3D"noopener noreferrer">aaronjensen@<wbr>gmai= l.<wbr>com</a>></span><span style=3D"background-color:rgba(0,0,0,0);colo= r:rgba(0,0,0,0.6)" class=3D""> wrote:</span><br></div></div></div><div clas= s=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_quote"><blockqu= ote style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"= class=3D"gmail_quote"><div class=3D"gmail_extra"><div class=3D"gmail_quote= "><div class=3D""><div class=3D""><div class=3D""><div class=3D"">Hi,<br></= div><div class=3D""><br></div><div class=3D"">I've narrowed it down to = the addition to frame in the glyph comparison. As far as I can tell, the at= tached patch removes the flickering for me. I saw the cursor blink once, bu= t I couldn't reproduce that and I couldn't get it to do it again.<b= r></div><div class=3D""><br></div><div class=3D"">The patch is not suitable= for applying to master as it certainly breaks something int he tty=C2=A0ch= ild frame code, but hopefully it gives you an idea of what the problem migh= t be. I'm going=C2=A0to experiment with accounting for the NULL frame i= n the space glyph and see if that helps.<br></div></div><div class=3D""><br= ></div><div class=3D"gmail_signature"><div class=3D"">Aaron<br></div></div>= </div></div></div></div></blockquote></div></div></div></div><div class=3D"= "><div class=3D""><br></div><div class=3D"">Actually, while I don't ful= ly=C2=A0understand the code, it seems suspect to me that there is a global = `space_glyph` glyph struct that gets initialized with a NULL frame but the = frame is mutated over time. I wonder if my not removing the frame check ins= ide of CHAR_GLYPH_SPACE_P is why I saw the cursor flicker once.<br></div></= div></div></div></div></div></blockquote></div></div></div></div><div><div>= <br></div><div><br></div><div>I was mistaken here, I believe. It's not = mutated over time =E2=80=94 I'm just rusty on C and I misread some code= .<br></div><div><br></div><div>Aaron</div><div><br></div></div><div class= =3D""><div class=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_= quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-= left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div class= =3D"gmail_quote"><div class=3D""><div class=3D""><div class=3D""><div class= =3D""><br></div></div><div class=3D""><div class=3D"sh-quoted-content"><div= class=3D""><div class=3D"gmail_quote"><blockquote style=3D"margin:0 0 0 .8= ex;border-left:1px #ccc solid;padding-left:1ex" class=3D"gmail_quote"><div = class=3D"gmail_extra"><div class=3D"gmail_quote"><div class=3D""><br><div c= lass=3D""><div class=3D"gmail_quote">On Sun, Mar 16, 2025 at 2:00 AM, Gerd = M=C3=B6llmann <span class=3D"" dir=3D"ltr"><<a class=3D"" rel=3D"noopene= r noreferrer" href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_blank">ge= rd.<wbr>moellmann@<wbr>gmail.<wbr>com</a>></span> wrote:<br><blockquote = class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid= ;padding-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><p= class=3D"">Aaron Jensen <<a rel=3D"noopener noreferrer" href=3D"mailto:= aaronjensen@HIDDEN" class=3D"" target=3D"_blank">aaronjensen@<wbr>gmail.= <wbr>com</a>> writes: <br></p><blockquote class=3D""><p class=3D""> One other thing, it may be related to tab-bar mode. It seems to be connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scroll= ing output and the other just has a grep output, for example. If I don't get the flicker in the grep output, I can switch back and forth between the two tabs a couple times and I'll start to get it. <br></p></blockquote><p class=3D""> Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just p= laying with window configurations". Why that would lead to flickering, I can't imagine ATM.<br></p></div></div></blockquote></div></div></div></div></div>= </blockquote></div></div></div></div></div></div></div></div></blockquote><= /div></div></div></div><div><br></div></div><div></div></div></body></html> --00000000000079419f0630793832--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 17:19:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 13:19:58 2025 Received: from localhost ([127.0.0.1]:50574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttreX-0004Kn-Pt for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:19:58 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:50423) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttreV-0004KR-5R for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:19:55 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-30761be8fcfso40689501fa.0 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 10:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742145588; x=1742750388; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+4iyP7/tjwt9sLOKwz2UvfmVsy1VKOXTqJK4zOZZLYE=; b=G1wDnsDkRBRAjcIJeJNiS3H8FL0QdbJWucbPUhdBULoz/G3PL0hOJ/GmHYsxWmTDLI eyfBkvEognI6nH1KPecPkYdD4+PBOkSkqhbdqF9o+iRGDLpamAhemEmiVMRTVTY3k0Xg 5jRu/BExkETbDOE5dG1TUx6fjBE9oJXvnvgQNDekUaSjuYj1tMKuC0CmFE3GPy8rClfM qQi4Vp2+gwxFxzDXsjgl5psWpKrdeyMPIp2Sh3ZEElxRCsMtfx3Mf9R6p8QfD1Yqh5Wd LZ6RvU+sHiwa88mUllNYJWJ6KSecMXpGGl0aCV011qCrdoF5sFttSOD74cl62S9Ii10z V7vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742145588; x=1742750388; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+4iyP7/tjwt9sLOKwz2UvfmVsy1VKOXTqJK4zOZZLYE=; b=CAF1ogx1anNY/NRXJyPUUBs5flAOt3eIyGJ3TxfdpPiZBIHqKZU/3zA3w0bWk3RSY0 UNz4aK3bF8fGhEDtb/sdfraF5RCfZTttPZXjeeM/Rs8up4xXtE99mEm8ZANHinhvfHj1 Zt1lcxzNzwCyD+ZKu/kkzRn3nLk5U5IK8GVYtxMwWzkTrsIrT92wxNYLZSqiwzD5XFGj VBXmx3zjha2kxH981YT1tEoBj02aHsVFwdF4pQ31FHqUrGBGNglDxWnAJEURDrdbX6XP Gir/8oXWIOJOWPfpfGzPLncCbuDDUvyuOHXeRc5fGKD3eRWzrTAz610qf8ww0JK+Hz6B zucQ== X-Gm-Message-State: AOJu0Yyw/Xxf09DJddDlD/1eh3Rg/+T2h8JIR0RZdbpRKMl4DrvyV41a +7F6U2n812288k3X8cSX1mSFawotGy4o3sOFmhaNJ35FIyPhNvA7DQcK++aysoUFEnntprpqPk9 VlEUbgb/BF8aos4uK1VpbsjE5SRR6ew== X-Gm-Gg: ASbGncu3j8v8Fwhnc+4zteOZzUPLHHqJtCuivTkpWmsaYocO5Ifr4Pk/+oZmzSYr0FR neKvCPLaHUZJtVeKbHjPwtv5k1JR3zzYd5T8VCupgSCdoMtZBQ0sSYoq7g+/L6fy9xTDTcDm29Q h195Zitlps27c0p8+q9+20lTqF5+TxnA9Gy0g85mJRTj8ZcIbr4Q== X-Google-Smtp-Source: AGHT+IGhm4CIE+Qv7/Z0jqYs4mUdAuZPKEk3SKk1sDL+NV8ERXDt91pGl5tVXTIPmUAbjOmvWcOjed+CcdLFOfQYorU= X-Received: by 2002:a2e:9698:0:b0:2ff:56a6:2992 with SMTP id 38308e7fff4ca-30c4a8f56cbmr39700221fa.37.1742145588266; Sun, 16 Mar 2025 10:19:48 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 17:19:47 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 17:19:47 +0000 Mime-Version: 1.0 X-Superhuman-ID: m8bwi0mo.bc27e7c3-cd33-4a0b-b3a8-fd05dc49d18b In-Reply-To: <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-Draft-ID: draft00033e9aab6e8a1e References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> Date: Sun, 16 Mar 2025 17:19:47 +0000 X-Gm-Features: AQ5f1JrArfeAueWSP5zTc1Ip98Jh6IoMvlNW6UjVOXaGhKPSK57UJeNAkDKlfIQ Message-ID: <CAHyO48z7mxEpt9Zn6WjXTuD6nikcBAW=2fKqpk3Nt=g=09vukA@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000ef9223063078e0ef" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000ef9223063078e0ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2025 at 10:15 AM, Aaron Jensen <aaronjensen@HIDDEN> wrote: > Hi, > > I've narrowed it down to the addition to frame in the glyph comparison. A= s > far as I can tell, the attached patch removes the flickering for me. I sa= w > the cursor blink once, but I couldn't reproduce that and I couldn't get i= t > to do it again. > > The patch is not suitable for applying to master as it certainly breaks > something int he tty child frame code, but hopefully it gives you an idea > of what the problem might be. I'm going to experiment with accounting for > the NULL frame in the space glyph and see if that helps. > > Aaron > Actually, while I don't fully understand the code, it seems suspect to me that there is a global `space_glyph` glyph struct that gets initialized with a NULL frame but the frame is mutated over time. I wonder if my not removing the frame check inside of CHAR_GLYPH_SPACE_P is why I saw the cursor flicker once. > On Sun, Mar 16, 2025 at 2:00 AM, Gerd M=C3=B6llmann <gerd.moellmann@gmail= .com> > wrote: > >> Aaron Jensen <aaronjensen@HIDDEN> writes: >> >> One other thing, it may be related to tab-bar mode. It seems to be >> connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scr= olling >> output and the other just has a grep output, for example. If I don't get >> the flicker in the grep output, I can switch back and forth between the = two >> tabs a couple times and I'll start to get it. >> >> Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just playing wit= h >> window configurations". Why that would lead to flickering, I can't imagi= ne >> ATM. >> > --000000000000ef9223063078e0ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sun, Mar 16, 2025 at 10:15 AM, Aaron Jensen </span><sp= an dir=3D"ltr" class=3D""><<a href=3D"mailto:aaronjensen@HIDDEN" targ= et=3D"_blank" class=3D"">aaronjensen@HIDDEN</a>></span><span style=3D= "background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</span></div>= </div></div><div class=3D"sh-quoted-content"><div class=3D""><div class=3D"= gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b= order-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div= class=3D"gmail_quote"><div class=3D""><div class=3D""><div class=3D""><div= class=3D"">Hi,<br></div><div class=3D""><br></div><div class=3D"">I've= narrowed it down to the addition to frame in the glyph comparison. As far = as I can tell, the attached patch removes the flickering for me. I saw the = cursor blink once, but I couldn't reproduce that and I couldn't get= it to do it again.<br></div><div class=3D""><br></div><div class=3D"">The = patch is not suitable for applying to master as it certainly breaks somethi= ng int he tty=C2=A0child frame code, but hopefully it gives you an idea of = what the problem might be. I'm going=C2=A0to experiment with accounting= for the NULL frame in the space glyph and see if that helps.<br></div></di= v><div class=3D""><br></div><div class=3D"gmail_signature"><div class=3D"">= Aaron<br></div></div></div></div></div></div></blockquote></div></div></div= ></div><div><div><br></div><div>Actually, while I don't fully=C2=A0unde= rstand the code, it seems suspect to me that there is a global `space_glyph= ` glyph struct that gets initialized with a NULL frame but the frame is mut= ated over time. I wonder if my not removing the frame check inside of CHAR_= GLYPH_SPACE_P is why I saw the cursor flicker once.</div><div><br></div></d= iv><div class=3D""><div class=3D"sh-quoted-content"><div class=3D""><div cl= ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0= .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extr= a"><div class=3D"gmail_quote"><div class=3D""><br><div class=3D""><div clas= s=3D"gmail_quote">On Sun, Mar 16, 2025 at 2:00 AM, Gerd M=C3=B6llmann <span= dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellmann@HIDDEN" tar= get=3D"_blank" rel=3D"noopener noreferrer" class=3D"">gerd.<wbr>moellmann@<= wbr>gmail.<wbr>com</a>></span> wrote:<br><blockquote style=3D"margin:0 0= 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" class=3D"gmail_quote">= <div class=3D"gmail_extra"><div class=3D"gmail_quote"><p class=3D"">Aaron J= ensen <<a class=3D"" href=3D"mailto:aaronjensen@HIDDEN" rel=3D"noopen= er noreferrer" target=3D"_blank">aaronjensen@<wbr>gmail.<wbr>com</a>> wr= ites: <br></p><blockquote class=3D""><p class=3D""> One other thing, it may be related to tab-bar mode. It seems to be connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scroll= ing output and the other just has a grep output, for example. If I don't get the flicker in the grep output, I can switch back and forth between the two tabs a couple times and I'll start to get it. <br></p></blockquote><p class=3D""> Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just p= laying with window configurations". Why that would lead to flickering, I can't imagine ATM.<br></p></div></div></blockquote></div></div></div></div></div>= </blockquote></div></div></div></div><div><br></div></div><div></div></div>= </body></html> --000000000000ef9223063078e0ef--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 17:15:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 13:15:46 2025 Received: from localhost ([127.0.0.1]:50549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttraU-00044g-Bx for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:15:46 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:59762) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttraR-00043v-Cp for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 13:15:43 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-30c05fd126cso35261051fa.3 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 10:15:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742145336; x=1742750136; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vU8vrDNjCE4XNdaPIOss8tCqnc9TsdXp6soxWC9ZiDQ=; b=GFe+EdScAlLaZwTQcQ1fobtO9XmPh5GYCPWbhxrwvCD0UTQNE68rR1D1Gj2xp4cDjj 4fr9sAQIovmmsGEmunakYvCKukZwhXT3ptTIF6Gq0nTAbNE0w+ZEdhaFJcwbEasiyLgT qMhagwe/viuq+6u6IjejUjm6Ahf42eBtGRk3nsv4XWytXAE5PVQSnra37DIg+21zUvMn 0EfG8jvYd5vtHPoJQzbHA+RQZF37p9rcYXV/Ol+RfpUXT42RpCUowjSS/KTbycKsID60 un1wGIq2d8h7ga1CHOz3REppyfAsDDNgvoTBWUTsEZEpZ8g4JnXsDn2bP+kFkwxHa9Wc WGbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742145336; x=1742750136; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vU8vrDNjCE4XNdaPIOss8tCqnc9TsdXp6soxWC9ZiDQ=; b=UbQEnYV/sDzhAu9hW4Xwg2D0exgcoQTJ09siiLaF2hyRwKl1zl/iBzYCLqfjY9J9Nj /pIv2hlPdAgICK0MqhhH6L/0H7ehhQxtk6rOKwwle/9TWE5z5feSvnrIznKZJTzwwVSE /uNtQ/pXLrA+t6jfx2uq/f1Aokn3c90XG1S72y7HpNAVlXQgHqxD3aBH7tRdLbOllXc1 QKhBh8zTFJ5XMMQ0z/O3X11B22A965T/yyN/H/QTg1CyjcMvA3vGH1L8thpCr+GefK6C tvOxczonFlkaNMxbLRaLS61Whx70ifVANN4x7fUSeDPhLkIgV2JcSP+UiBzFJKHzdF68 dFrQ== X-Gm-Message-State: AOJu0Yzc9gSw13YDQ6/R5Wq0GnUDkfUwv1jeSmkP+tCN0W4bGj777Dy7 +TeOQOE6yZFbEFH1N5ymAOwfc3pZmqpCjid1lV7hOqQ2qGKpZVVyXDJTF8hx0n+27TW4afCHYAh Tv4iIsLEKE/Ri9Vy8hwCuT9r1g9Y= X-Gm-Gg: ASbGncvoTJVRNHnhjzdrFNSMVwO3Dd8/7OvV63ICQ4SKLBEIPljL3oqZTncgjkeJ79/ o2uKdhiITFKwWUM+QPEYkSn81JWWwvKYiIpkR0KmNrv3gEoSiArykZ6ETiuWmmF/hzlUOgyjOlM 7ByQgeKTLmhRpVEmf4wNZOf7hfYkYcuuGT+H83vR7/4AY8PC7c/Gbvpu4+dZej X-Google-Smtp-Source: AGHT+IGIKc9nuSneiY79gh/uW9Xh8Aha253aR6svMmbWH/ESsnzZO8aGiV/AiuX6AbGrZGdSYxUtBQfDq97syEHXGGo= X-Received: by 2002:a2e:a99f:0:b0:30b:9813:b004 with SMTP id 38308e7fff4ca-30c4a8f4f05mr48675111fa.34.1742145336204; Sun, 16 Mar 2025 10:15:36 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 10:15:35 -0700 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 10:15:35 -0700 Mime-Version: 1.0 X-Superhuman-ID: m8bwc6rn.30611466-9ebe-4f40-baf4-a4793e5568a5 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> <m2sendnye5.fsf@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-Draft-ID: draft00f7a6948389c0c1 In-Reply-To: <m2sendnye5.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sun, 16 Mar 2025 10:15:35 -0700 X-Gm-Features: AQ5f1JpHRdN0qRRBsVebYhfdTCwYX3B4jsehXjn_bM-1WkrFdWhcx4C-Zd6lWHY Message-ID: <CAHyO48wjGcrGA-55_J4kLU99HJ+sn1w1UP9AfhZBVkuXXrvqYw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/mixed; boundary="000000000000e97b70063078d14d" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000e97b70063078d14d Content-Type: multipart/alternative; boundary="000000000000e97b6f063078d14b" --000000000000e97b6f063078d14b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I've narrowed it down to the addition to frame in the glyph comparison. As far as I can tell, the attached patch removes the flickering for me. I saw the cursor blink once, but I couldn't reproduce that and I couldn't get it to do it again. The patch is not suitable for applying to master as it certainly breaks something int he tty child frame code, but hopefully it gives you an idea of what the problem might be. I'm going to experiment with accounting for the NULL frame in the space glyph and see if that helps. Aaron On Sun, Mar 16, 2025 at 2:00 AM, Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN= om> wrote: > Aaron Jensen <aaronjensen@HIDDEN> writes: > > One other thing, it may be related to tab-bar mode. It seems to be > connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scro= lling > output and the other just has a grep output, for example. If I don't get > the flicker in the grep output, I can switch back and forth between the t= wo > tabs a couple times and I'll start to get it. > > Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just playing with > window configurations". Why that would lead to flickering, I can't imagin= e > ATM. > --000000000000e97b6f063078d14b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div><div class=3D"">Hi,<br></div><div c= lass=3D""><br></div><div class=3D"">I've narrowed it down to the additi= on to frame in the glyph comparison. As far as I can tell, the attached pat= ch removes the flickering for me. I saw the cursor blink once, but I couldn= 't reproduce that and I couldn't get it to do it again.<br></div><d= iv class=3D""><br></div><div class=3D"">The patch is not suitable for apply= ing to master as it certainly breaks something int he tty=C2=A0child frame = code, but hopefully it gives you an idea of what the problem might be. I= 9;m going=C2=A0to experiment with accounting for the NULL frame in the spac= e glyph and see if that helps.</div></div><div></div><br><div class=3D"gmai= l_signature"><div><br>Aaron</div><br></div></div><br><div><div class=3D"gma= il_quote">On Sun, Mar 16, 2025 at 2:00 AM, Gerd M=C3=B6llmann <span dir=3D"= ltr"><<a href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_blank">gerd= .moellmann@HIDDEN</a>></span> wrote:<br><blockquote class=3D"gmail_qu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex= "><div class=3D"gmail_extra"><div class=3D"gmail_quote sh-color-black sh-co= lor"><p class=3D"sh-color-black sh-color">Aaron Jensen <<a target=3D"_bl= ank" rel=3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN" clas= s=3D"sh-color-blue sh-color">aaronjensen@<wbr>gmail.<wbr>com</a>> writes= : </p><blockquote class=3D"sh-color-black sh-color"><p class=3D"sh-color-blac= k sh-color"> One other thing, it may be related to tab-bar mode. It seems to be connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scroll= ing output and the other just has a grep output, for example. If I don't get the flicker in the grep output, I can switch back and forth between the two tabs a couple times and I'll start to get it. </p></blockquote><p class=3D"sh-color-black sh-color"> Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just p= laying with window configurations". Why that would lead to flickering, I can't imagine ATM.</p></div></div></blockquote></div></div><br></div></body></htm= l> --000000000000e97b6f063078d14b-- --000000000000e97b70063078d14d Content-Type: application/octet-stream; name="0001-Eliminate-flicker-on-macOS-do-not-apply.patch" Content-Disposition: attachment; filename="0001-Eliminate-flicker-on-macOS-do-not-apply.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: 89ad19825fbda509_0.1 RnJvbSAyN2Q3ZmIxMGY0ZDMxNmRlYWVmZWM5YTUyOTM0MDRkNzg5YTI2ZTM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBYXJvbiBKZW5zZW4gPGFhcm9uamVuc2VuQGdtYWlsLmNvbT4K RGF0ZTogU3VuLCAxNiBNYXIgMjAyNSAxMDoxMTozNCAtMDcwMApTdWJqZWN0OiBbUEFUQ0hdIEVs aW1pbmF0ZSBmbGlja2VyIG9uIG1hY09TIChkbyBub3QgYXBwbHkpCgotLS0KIHNyYy9kaXNwZXh0 ZXJuLmggfCA0ICsrLS0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDIgZGVsZXRp b25zKC0pCgpkaWZmIC0tZ2l0IGEvc3JjL2Rpc3BleHRlcm4uaCBiL3NyYy9kaXNwZXh0ZXJuLmgK aW5kZXggYmQ0ODAwNWI4M2YuLjA4NGE1NGZmMDYyIDEwMDY0NAotLS0gYS9zcmMvZGlzcGV4dGVy bi5oCisrKyBiL3NyYy9kaXNwZXh0ZXJuLmgKQEAgLTY2MSw3ICs2NjEsNyBAQCAjZGVmaW5lIEdM WVBIX0VRVUFMX1AoWCwgWSkJCQkJCVwKICAgICAgICYmIChYKS0+dS52YWwgPT0gKFkpLT51LnZh bAkJCQlcCiAgICAgICAmJiBHTFlQSF9TTElDRV9FUVVBTF9QIChYLCBZKQkJCQlcCiAgICAgICAm JiAoWCktPmZhY2VfaWQgPT0gKFkpLT5mYWNlX2lkCQkJCVwKLSAgICAgICYmIChYKS0+ZnJhbWUg PT0gKFkpLT5mcmFtZQkJCQlcCisgICAgICAvKiAmJiAoWCktPmZyYW1lID09IChZKS0+ZnJhbWUJ Ki8gICAgICAgICAgICAgICAgICAgICAgXAogICAgICAgJiYgKFgpLT5wYWRkaW5nX3AgPT0gKFkp LT5wYWRkaW5nX3AJCQlcCiAgICAgICAmJiAoWCktPmxlZnRfYm94X2xpbmVfcCA9PSAoWSktPmxl ZnRfYm94X2xpbmVfcAkJXAogICAgICAgJiYgKFgpLT5yaWdodF9ib3hfbGluZV9wID09IChZKS0+ cmlnaHRfYm94X2xpbmVfcAkJXApAQCAtNjczLDcgKzY3Myw3IEBAICNkZWZpbmUgR0xZUEhfRVFV QUxfUChYLCBZKQkJCQkJXAogI2RlZmluZSBHTFlQSF9DSEFSX0FORF9GQUNFX0VRVUFMX1AoWCwg WSkJXAogICAoKFgpLT51LmNoID09IChZKS0+dS5jaAkJCVwKICAgICYmIChYKS0+ZmFjZV9pZCA9 PSAoWSktPmZhY2VfaWQJCVwKLSAgICYmIChYKS0+ZnJhbWUgPT0gKFkpLT5mcmFtZQkJCVwKKyAg IC8qICYmIChYKS0+ZnJhbWUgPT0gKFkpLT5mcmFtZSovICAgICAgICAgICAgIFwKICAgICYmIChY KS0+cGFkZGluZ19wID09IChZKS0+cGFkZGluZ19wKQogCiAvKiBGaWxsIGEgY2hhcmFjdGVyIGds eXBoIEdMWVBILiAgQ09ERSwgRkFDRV9JRCwgUEFERElOR19QIGNvcnJlc3BvbmQKLS0gCjIuNDgu MQoK --000000000000e97b70063078d14d--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 16:43:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 12:43:40 2025 Received: from localhost ([127.0.0.1]:50493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttr5P-0001ZW-3G for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 12:43:40 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:50230) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttr5M-0001Yc-7T for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 12:43:37 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-30761be8fcfso40504821fa.0 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 09:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742143409; x=1742748209; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:in-reply-to:from:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0OA3KejHZpZ9TLB1NDFCcT/tnLRN831heFg9/K+wPQQ=; b=VXeDY1aomkqaHu3Wh+4ah8liTV8IXiz2ZPAmjUVMcKMAzRbF7ZY9Nv2LeWt0I5reYm UISewI7dSg2DS+1MpilTQ+8Ep4FWvh+u/WdDVD93zPPpy5icDsHzipR73ODcemN+wNUI azb19oNFwgymhcH5mmpw+1HaJ2yM7d2mZs8SoJEu+0AcFjDq242PBt/G7oFr08oJKfbJ xfJuj//ucmQtlZxWdny/A8oT52fLGJC3P6Sbxn5JE803DVeNzAhsaQ3OFfwYdeTVFZRI 3OjQ809UuKf8FHYmtsWBmeoDav3WYD0PUxHyvhXU9ihXedgB7qQA19+wQnc3wIrbMABu RwRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742143409; x=1742748209; h=cc:to:subject:message-id:date:in-reply-to:from:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0OA3KejHZpZ9TLB1NDFCcT/tnLRN831heFg9/K+wPQQ=; b=SR4A91z9qETudVd2SmihQ7mQp90pzIM6bKCCGkkcVMDO4piqNAMIPlAeEZ1uf0UTej +5dgLJEmdO+03YDwabSKo8/JOAkUvN/36Vgy+aJUcDz0ImNBscfo6ZOfMF/C1p6Lcqnh X1atcaOJmDWOKFm8fpmRNbpcUAq9LSoS9RHJO1ECbpGfrx9kQVtePjFbH1o6Koc582OA TZvmRzcWWWwrKnRi4qL5oxFJQQZ4fUj6nyjgX/bWxz9oAQ2w5f1jrGYE0VDARlA7PFt3 4AdLeUGXgkZ4bVzh5fkN1JLj+W3wq49vgnATrzjwUY7lIEHGxy2hZxM4FvAjBtXaZTw5 WsTw== X-Forwarded-Encrypted: i=1; AJvYcCWUzzJ6+oyKEp0N6klWnnTdUfMnJjBIsS3SO3GfEVat6jlvzs6NMxXHvSPzEWzeh6Ti+dtlwg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyjiNKxeiYWbRG2CLocB7uve140FDR/KNr72mxLNpfctFH2MoOE Ob7a5iCVwrP6dLw6cXNnfHTKSj7oe2KRwptcc6zduZACFKXDAGD9SSjGuOfcOWCnymGA/hKqQdB WJmj3IxcQx3OkcFY04UVZErNM6U8= X-Gm-Gg: ASbGnctIkQUU3Xr2pauelIbaJF7P02A/pot5H7fdWB/UmukWaqolVTnEQeS+nHiU0Ox QOlt0N0cvSJ4IysMUor6EEBTzEXsxBAxq1PO4ykUToqYRuj/q/SSkYfDrnmZXcKxI5bafI9BceS tjuX5XPZvZ361JyVeLpW2cpvqwRtF7628Dh6daPvJA58q3QDN4vw== X-Google-Smtp-Source: AGHT+IEf2hmohRgnRDX8vxFeiI6DG+7f1/TFPXGo0ZPcO9f0gCdM0pPhaw6wOLcllNkYbF69oc7jb7VC7mPIC6tDAWQ= X-Received: by 2002:a2e:be8b:0:b0:30b:b987:b68d with SMTP id 38308e7fff4ca-30c4a74d9cemr38432821fa.8.1742143408880; Sun, 16 Mar 2025 09:43:28 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 16:43:27 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 16:43:27 +0000 Mime-Version: 1.0 X-Superhuman-Draft-ID: draft00eb949c14b749e0 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAN+1HbpvU9zviY0QWnxSa37-5EQGCJvRR6AOVexo-XZ0jZXOJw@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-ID: m8bv6wff.af5cd3bf-cfcf-413b-92f8-8add5efb562b In-Reply-To: <CAN+1HbpvU9zviY0QWnxSa37-5EQGCJvRR6AOVexo-XZ0jZXOJw@HIDDEN> Date: Sun, 16 Mar 2025 16:43:27 +0000 X-Gm-Features: AQ5f1Jp8JIq5nUVoKC8eo5mFUzlZZipKMD7qWSVn-eqMCmM_OHuGzOklEti2AlQ Message-ID: <CAHyO48y7HRZfvTBE6x1pK=Ltp8KY7XJYfhPf9Gc3DZKeLo7otw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Ship Mints <shipmints@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000008d0b70630785fae" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000008d0b70630785fae Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2025 at 4:49 AM, Ship Mints <shipmints@HIDDEN> wrote: > On Sun, Mar 16, 2025 at 2:05=E2=80=AFAM Aaron Jensen <aaronjensen@HIDDEN= om> > wrote: > >> On Sat, Mar 15, 2025 at 9:43 PM, Gerd M=C3=B6llmann <gerd.moellmann@gmai= l.com> >> wrote: >> >>> Aaron Jensen <aaronjensen@HIDDEN> writes: >>> >>> Adding Gerd M=C3=B6llmann. >>> >>> The flicker appears to have been introduced by the work done in >>> 414de92a562 >>> >>> Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 >>> months ago) <Gerd M=C3=B6llmann> >>> >>> It's a fairly large change set, so I don't know yet what might be >>> causing it. I can reproduce it fairly consistently using my own setup, = but >>> I don't know how to narrow it down to something from Emacs -Q because i= t >>> appears to be related to CPU utilization and/or rapid updating of buffe= rs >>> that are not currently visible. >>> >>> Aaron >>> >>> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> >>> wrote: >>> >>> Here's a video clip: https://share.cleanshot.com/x8zWLgYf >>> >>> It seems to happen more often when there is significant load. In this >>> case, I was running an 8 worker web server in a vterm in Emacs and a se= t of >>> 8 parallel UI tests against it. The server was printing log messages at= a >>> rapid rate, but that vterm buffer was not visible. >>> >>> Aaron >>> >>> I'm afraid I have not the slightest idea. >>> >>> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit >>> again right now. The changes to NS code directly are only trivial ones >>> (1 -> true, 0 -> false etc.). So it would have to be something in >>> redisplay_internal or something similar, in code not specific to NS tha= t is >>> used on all window systems, and I don't see a change there that could c= ause >>> something with the symptoms you describe. >>> >>> Adding Alan Third in CC. Maybe he has an idea. >>> >> >> I'll try and eliminate aspects of the patch as best as I can. If this is= , >> in fact, a macOS only issue, then it may be that the particular method o= f >> drawing the windows in macOS is susceptible to some change that was made >> here. No idea what it could be, either. I do see that the NS-specific >> changes appear to be innocuous. >> > > What is your frame-parameter inhibit-double-buffering set to? Have you > tried flip-flopping it to see if that has an impact? > I usually have it set to true, but yes, changing it was the first thing I tried. It seems to reduce the overall impact of the flicker (at least when I tried it again just now), but it still happens even when double buffering is enabled. --00000000000008d0b70630785fae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sun, Mar 16, 2025 at 4:49 AM, Ship Mints </span><span = dir=3D"ltr" class=3D""><<a href=3D"mailto:shipmints@HIDDEN" target=3D= "_blank" class=3D"">shipmints@HIDDEN</a>></span><span style=3D"backgr= ound-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</span></div></div><= /div><div class=3D"sh-quoted-content"><div class=3D""><div class=3D"gmail_q= uote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l= eft:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D""><div class=3D"gmail_quote gmai= l_quote_container"><div class=3D"gmail_attr" dir=3D"ltr">On Sun, Mar 16, 20= 25 at 2:05=E2=80=AFAM Aaron Jensen <<a href=3D"mailto:aaronjensen@gmail.= com" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"">aaronjensen@<= wbr>gmail.<wbr>com</a>> wrote:<br></div><blockquote style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" clas= s=3D"gmail_quote"><div class=3D""><div class=3D""><div class=3D""><div clas= s=3D""><div class=3D""><div class=3D""><div class=3D""><span style=3D"backg= round-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)" class=3D"">On Sat, Mar 15,= 2025 at 9:43 PM, Gerd M=C3=B6llmann </span><span dir=3D"ltr" class=3D"">&l= t;<a href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_blank" rel=3D"noop= ener noreferrer" class=3D"">gerd.<wbr>moellmann@<wbr>gmail.<wbr>com</a>>= </span><span style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"= class=3D""> wrote:</span><br></div></div></div><div class=3D""><div class= =3D""><div class=3D"gmail_quote"><blockquote style=3D"margin:0px 0px 0px 0.= 8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class=3D"gmail= _quote"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><p class=3D""= >Aaron Jensen <<a href=3D"mailto:aaronjensen@HIDDEN" rel=3D"noopener = noreferrer" target=3D"_blank" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a= >> writes: <br></p><blockquote class=3D""><p class=3D""> Adding Gerd M=C3=B6llmann. <br></p><p class=3D""> The flicker appears to have been introduced by the work done in 414de92a562 <br></p><p class=3D""> Initial child frames based on master (<span class=3D""><span class=3D"sh-da= te">Mon Oct 21</span></span> 18:32:04 2024 +0200, 5 months ago) <Gerd M= =C3=B6llmann> <br></p><p class=3D""> It's a fairly large change set, so I don't know yet what might be c= ausing it. I can reproduce it fairly consistently using my own setup, but I don't know how to narrow it down to something= from Emacs -Q because it appears to be related to CPU utilization and/or rapid updating of buffers that are not currently vis= ible. <br></p><p class=3D""> Aaron <br></p><p class=3D""> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <<a href=3D"mailto:aaronje= nsen@HIDDEN" rel=3D"noopener noreferrer" target=3D"_blank" class=3D"">aa= ronjensen@<wbr>gmail.<wbr>com</a>> wrote: <br></p><p class=3D""> Here's a video clip: <a href=3D"https://share.cleanshot.com/x8zWLgYf" r= el=3D"noopener noreferrer" target=3D"_blank" class=3D"">https:/<wbr>/<wbr>s= hare.<wbr>cleanshot.<wbr>com/<wbr>x8zWLgYf</a> <br></p><p class=3D""> It seems to happen more often when there is significant load. In this case,= I was running an 8 worker web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was = printing log messages at a rapid rate, but that vterm buffer was not visible. <br></p><p class=3D""> Aaron <br></p></blockquote><p class=3D""> I'm afraid I have not the slightest idea. <br></p><p class=3D""> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit again right now. The changes to NS code directly are only trivial ones <br> (1 -> true, 0 -> false etc.). So it would have to be something in redisplay_internal or something similar, in code not specific to NS that is used on all window systems, and I don't see a change there that coul= d cause something with the symptoms you describe. </p><p class=3D""> Adding Alan Third in CC. Maybe he has an idea.<br></p></div></div></blockqu= ote></div></div></div></div><div class=3D""><div class=3D""><br></div><div = class=3D"">I'll try and eliminate aspects of the patch as best as I can= . If this is, in fact, a macOS only issue, then it may be that the particul= ar method of drawing the windows in macOS is susceptible to some change tha= t was made here. No idea what it could be, either. I do see that the NS-spe= cific changes appear to be innocuous.<br></div></div></div></div></div></bl= ockquote><div class=3D""><br></div><div style=3D"font-family:monospace" cla= ss=3D"gmail_default">What is your frame-parameter=C2=A0inhibit-double-buffe= ring set to?=C2=A0 Have you tried flip-flopping it to see if that has an im= pact?<br></div></div></div></div></div></blockquote></div></div></div></div= ><div><div><br></div><div>I usually have it set to true,=C2=A0 but yes, cha= nging it was the first thing I tried. It seems to reduce the overall impact= of the flicker (at least when I tried it again just now), but it still hap= pens even when double buffering is enabled.</div><div><br></div><div><br></= div></div></div><div></div></div></body></html> --00000000000008d0b70630785fae--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 11:49:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 07:49:31 2025 Received: from localhost ([127.0.0.1]:45840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttmUl-0005xs-40 for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 07:49:31 -0400 Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:53365) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1ttmUh-0005wh-FI for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 07:49:29 -0400 Received: by mail-ua1-x933.google.com with SMTP id a1e0cc1a2514c-868ddc4c6b6so1533876241.2 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 04:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742125761; x=1742730561; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=l3trNz26jKvnxbwlIjFSHNSZo9JCZZAu5kz9JVH+iIM=; b=HKlRv8WFAuiXMejBxxZWWQqvRzQBiRk0nopnPwQ5rs6lsjeBHeiQhKxuguBrWqelnc PfVMJUAvBmJBWdYKP0dEmnCn1eF+PbdWZOr05LFG0bzFJSZH0INkoEDq2qoEjlnzKLDV NQ0GWs5FlECH2unaVjf1EOnOa5qtEyjxrSx5Kxx2EBPs5N2FnCyQtZxEtLNnwW6/jPUR ui2P/mN59dvn+UfiR9PP+6LMweBO8gZpNuaNa8TGPIPgJITqfoHeJEhr9Pjhuenprr6g MpYNEWohMWJlo2NtVbZsJVa24w78Jw3bDwQyTiS1XoAzb+QnLzSa2tKhiRax8rPh1tty 7P8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742125761; x=1742730561; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=l3trNz26jKvnxbwlIjFSHNSZo9JCZZAu5kz9JVH+iIM=; b=NjW71UpKiVg1G/dKs/+xqRjQ/kseSBBdc3RjYcyHPJyLrl+lLbsaGzhA+1dim3Flfl Lq2+j+aQN3r7BeLkluuNxCjMsmm/VAUYSgsHa/1K0Dah+TkOcqaNwVZnEJKRLWDtoem+ 0lvJrTt7F32rQI3mGCLtwRZCRgVTORppINUihHpMJHGmAZpThMfVRn1pkmQCnREJCRO2 8iNBJ+CVdVD14L9zCDrSq9Dm0zp+xtGQxzGLQkgqU63trZZgMaBJL6k6Kx2kZgFFJxgy XirLOZ65iMNWuEfPcGaPZzaHEcaMbl+i+d3tFcI5lULwqO/VqJKxGRwoIdQhBlzXPgva 10zQ== X-Forwarded-Encrypted: i=1; AJvYcCUZCYb1LgjdtQuZLBH5Xr5Zt2O5PMRYnDD5OK/MIPW2Bh5g7xhnC5tvDhcJZja1sVbeKM6Ghg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyxiWSplxCXtIXIonvTCBzJfXM2iPX8L6o/VKC2GvnnIg8P1kYP aaEmBFQLkp/8sb7SjB6NbxnXpqs8Un4Fk3U3hON9y6ualgSyog6SCdvHnRFdGueLDSHoM+nfPRM gbbudtkH2gSsx+Ch7qups2sNQbTQ= X-Gm-Gg: ASbGncsdNYCzqtCgf9VAxWCZSKubH1oqFsY6Cl/7myRChV8cCvUJvq4x82/vTvQXZPS avWN1rj/VMHFIF7/7G8uPdAjDqLIPsBaxZx7IXv/DcxV8BpsjoLRk4xDHmh2bs+JXQwIsERd7OX Pkey6zs5F2jGNAw+c9GuKwUOufvjY= X-Google-Smtp-Source: AGHT+IEvn9lXzGoA52IhuvcmXuUwZwdYN1dDSyjcmePd1s4d0BrlK/QpxOFut1eBj/g9ouytcFgXx2LU4Yn06XHmSfY= X-Received: by 2002:a05:6102:3a07:b0:4c1:86ff:4af7 with SMTP id ada2fe7eead31-4c383226eaemr5564019137.21.1742125761640; Sun, 16 Mar 2025 04:49:21 -0700 (PDT) MIME-Version: 1.0 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> In-Reply-To: <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Sun, 16 Mar 2025 07:49:09 -0400 X-Gm-Features: AQ5f1JqETOBHFsSss0eT0Co4SGh4FOLebGXYdRz21RECZsqHCgq8rG4_zYzby2A Message-ID: <CAN+1HbpvU9zviY0QWnxSa37-5EQGCJvRR6AOVexo-XZ0jZXOJw@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: Aaron Jensen <aaronjensen@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000002d40170630744357" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000002d40170630744357 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 16, 2025 at 2:05=E2=80=AFAM Aaron Jensen <aaronjensen@HIDDEN= > wrote: > On Sat, Mar 15, 2025 at 9:43 PM, Gerd M=C3=B6llmann <gerd.moellmann@gmail= .com> > wrote: > >> Aaron Jensen <aaronjensen@HIDDEN> writes: >> >> Adding Gerd M=C3=B6llmann. >> >> The flicker appears to have been introduced by the work done in >> 414de92a562 >> >> Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 >> months ago) <Gerd M=C3=B6llmann> >> >> It's a fairly large change set, so I don't know yet what might be causin= g >> it. I can reproduce it fairly consistently using my own setup, but I don= 't >> know how to narrow it down to something from Emacs -Q because it appears= to >> be related to CPU utilization and/or rapid updating of buffers that are = not >> currently visible. >> >> Aaron >> >> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> >> wrote: >> >> Here's a video clip: https://share.cleanshot.com/x8zWLgYf >> >> It seems to happen more often when there is significant load. In this >> case, I was running an 8 worker web server in a vterm in Emacs and a set= of >> 8 parallel UI tests against it. The server was printing log messages at = a >> rapid rate, but that vterm buffer was not visible. >> >> Aaron >> >> I'm afraid I have not the slightest idea. >> >> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit >> again right now. The changes to NS code directly are only trivial ones >> (1 -> true, 0 -> false etc.). So it would have to be something in >> redisplay_internal or something similar, in code not specific to NS that= is >> used on all window systems, and I don't see a change there that could ca= use >> something with the symptoms you describe. >> >> Adding Alan Third in CC. Maybe he has an idea. >> > > I'll try and eliminate aspects of the patch as best as I can. If this is, > in fact, a macOS only issue, then it may be that the particular method of > drawing the windows in macOS is susceptible to some change that was made > here. No idea what it could be, either. I do see that the NS-specific > changes appear to be innocuous. > What is your frame-parameter inhibit-double-buffering set to? Have you tried flip-flopping it to see if that has an impact? --0000000000002d40170630744357 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"></div><div class=3D"gmail_quote gmail_quo= te_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Mar 16, 2025 at= 2:05=E2=80=AFAM Aaron Jensen <<a href=3D"mailto:aaronjensen@HIDDEN">= aaronjensen@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex"><div><div><div><div><div><div><div><span style=3D"back= ground-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)">On Sat, Mar 15, 2025 at 9= :43 PM, Gerd M=C3=B6llmann </span><span dir=3D"ltr"><<a href=3D"mailto:g= erd.moellmann@HIDDEN" target=3D"_blank">gerd.moellmann@HIDDEN</a>>= </span><span style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"= > wrote:</span></div></div></div><div><div><div class=3D"gmail_quote"><bloc= kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:= 1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"gmail_extra"><di= v class=3D"gmail_quote"><p>Aaron Jensen <<a rel=3D"noopener noreferrer" = href=3D"mailto:aaronjensen@HIDDEN" target=3D"_blank">aaronjensen@HIDDEN= om</a>> writes: <br></p><blockquote><p> Adding Gerd M=C3=B6llmann. <br></p><p> The flicker appears to have been introduced by the work done in 414de92a562 <br></p><p> Initial child frames based on master (<span>Mon Oct 21</span> 18:32:04 2024= +0200, 5 months ago) <Gerd M=C3=B6llmann> <br></p><p> It's a fairly large change set, so I don't know yet what might be c= ausing it. I can reproduce it fairly consistently using my own setup, but I don't know how to narrow it down to something= from Emacs -Q because it appears to be related to CPU utilization and/or rapid updating of buffers that are not currently vis= ible. <br></p><p> Aaron <br></p><p> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <<a rel=3D"noopener norefe= rrer" href=3D"mailto:aaronjensen@HIDDEN" target=3D"_blank">aaronjensen@g= mail.com</a>> wrote: <br></p><p> Here's a video clip: <a rel=3D"noopener noreferrer" href=3D"https://sha= re.cleanshot.com/x8zWLgYf" target=3D"_blank">https://share.cleanshot.com/x8= zWLgYf</a> <br></p><p> It seems to happen more often when there is significant load. In this case,= I was running an 8 worker web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was = printing log messages at a rapid rate, but that vterm buffer was not visible. <br></p><p> Aaron <br></p></blockquote><p> I'm afraid I have not the slightest idea. <br></p><p> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit again right now. The changes to NS code directly are only trivial ones <br> (1 -> true, 0 -> false etc.). So it would have to be something in redisplay_internal or something similar, in code not specific to NS that is used on all window systems, and I don't see a change there that coul= d cause something with the symptoms you describe. </p><p> Adding Alan Third in CC. Maybe he has an idea.<br></p></div></div></blockqu= ote></div></div></div></div><div><div><br></div><div>I'll try and elimi= nate aspects of the patch as best as I can. If this is, in fact, a macOS on= ly issue, then it may be that the particular method of drawing the windows = in macOS is susceptible to some change that was made here. No idea what it = could be, either. I do see that the NS-specific changes appear to be innocu= ous.</div></div></div></div></div></blockquote><div><br></div><div class=3D= "gmail_default" style=3D"font-family:monospace">What is your frame-paramete= r=C2=A0inhibit-double-buffering set to?=C2=A0 Have you tried flip-flopping = it to see if that has an impact?</div></div></div> --0000000000002d40170630744357--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 09:00:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 05:00:30 2025 Received: from localhost ([127.0.0.1]:45365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttjrB-00049H-2D for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 05:00:30 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:44409) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ttjr8-00048J-81 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 05:00:26 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-39143200ddaso2144561f8f.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 02:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742115620; x=1742720420; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rGMwVrJR2/Jm64P1fxZETfYA4g2u9IBbACnRqdfXoU0=; b=bCKi+IQekDNXMa6sPjNr68xr9dT/m1VsPETOJNZHwJcyOfCPXRgw/JN7VdbqN32iCD 0MCbWB1soYIjBAPdRn6MNe4qH16oIc07FYtScQCOxjN5l2tqhLvzQR84bBnizDJ1Ngom 9q+hgEwKBMJnVgsiTfw8OYPs38FTyfANzG/nQwXr2zDAV9/D+ZC19oth6jHirRtFIhXK TLTFM88SXl1voowgg/i10qfbHwGOGkIVE3veirKMeGE9fQfBrjAwNRoPhMp/CCDhjYjT 3fTveG/5hU5PYMVLYNcaSIzJjDCX7arwyWrSZQfF0kZ3a7Kl+HUW9rFw5a/t4aIJvzA+ ukrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742115620; x=1742720420; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rGMwVrJR2/Jm64P1fxZETfYA4g2u9IBbACnRqdfXoU0=; b=vNN5JSmJAlMuE/ZR3h9ZuFf0RL/eC2xka0mH/LoUPYTBohf3SZCSCIPKTrcgAAzlnK 8QeSkvBmPYVAKq1OmLNAQRxuqAUla/ETKyy5tBOL9z3ZDnOq6KSJzr7F7Ed2W9St/MbY rvNOfTNxeOyAW1DTi5/+0CxN7QISdKVza4FHvkCl6qz0waIbQtbPkm1+bulX0pGgwmdG RMyUPbBA6m7z2Rs5a0H2VFDI96QHxk0kPqJ74XrUxUboWHFLGpkriohZXEEZP9SQBsT5 oxlNdc3wdacr4PCORBS91w0o+1ZJrZ1WA0UCcRk9Kn5q6VrGI3BoKe2aqb/8FfOpNn7n sYvQ== X-Gm-Message-State: AOJu0YysehOxKWNgbEw21Oc6tZ3a5Fi+5TPncJeKjZxdFE2e0iRWhdo9 m8vw1pewFp01c7kLMZc4CbgX7ye1dZZesakQQT1hO1BViztjFxgu X-Gm-Gg: ASbGncsswc0NtxV4jYTbY643c0dx4KoMVy1/P9xXRSS3UDwg5wbtTWznFlBD7quc3xS CRh70Jf7LgLuwlHt6TPdF3/e1ZMYP0c44zgAxdq/raevDA0KKc+cFNWIpd1l211arOj1qzUMIMH AFqX4lK+H8eZzrMKLsdJ7IhGPa3J0qxLRsmHs2A57wr6smlZgB0ryVF7RCCRxP1z4aLgsH/QvOn quUv+8BNDwkIJlwxScAMtpFEIJ93kxYLpt0AoPHDnGWrYzC1Y4q6T297B17I0rbCBZba+Dm0T4Y in7xI+M0/QKV7MQbhsg8GRmk951WwRkpze5Jj7m6tsUMDtTvMU4lc7ClaRPGoTjviDg1I1MxYnK if5cng5h0fnq7JRCOjMRCQBqJdxKiVBET+KMSA6utXpZc065eOKyqCxSgqcD+mk4C X-Google-Smtp-Source: AGHT+IHM1woYCKd2ytNSUcCjHp3nKUnmMaTPtUP7O8UbyIwPDxRLadTaXmtFTbJ3xoxpKl6VkRoztw== X-Received: by 2002:a5d:6484:0:b0:390:df02:47f0 with SMTP id ffacd0b85a97d-3971ee444e2mr9728310f8f.42.1742115619801; Sun, 16 Mar 2025 02:00:19 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb40cdc5sm11457155f8f.80.2025.03.16.02.00.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 02:00:19 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> Date: Sun, 16 Mar 2025 10:00:18 +0100 Message-ID: <m2sendnye5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > One other thing, it may be related to tab-bar mode. It seems to be > connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scro= lling > output and the other just has a grep output, for example. If I don't > get the flicker in the grep output, I can switch back and forth > between the two tabs a couple times and I'll start to get it. Doesn't ring a bell, I'm afraid. Tab bar, AFAIU it, is "just playing with window configurations". Why that would lead to flickering, I can't imagine ATM.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 08:56:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 04:56:56 2025 Received: from localhost ([127.0.0.1]:45357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttjnj-0003ag-KA for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 04:56:56 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:55729) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ttjnf-0003ZP-HJ for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 04:56:53 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso7753315e9.3 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 01:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742115405; x=1742720205; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=LvliBXhI3FvrdQ9DFr8SJ7fHp64kyVjHgEGdxVcBBqI=; b=P1DRBnejlq4xit9A5zg3JP/st6kt9wEgkniCxFwFrPKdVmnv2cZwUMm2iP03UlpYMl ME4++sJ9aIipxDt5Ntc1NOJy52ndtzc4zr1aIvJI9MOxogLvR9jx8duXwvkTtP5sb5SJ IeSZ6h7aXyP8L5vCtmit3G/t7WWyE7jM2143iuzyY1lAIyRcliPdlANlLu+VaXsOpzLb 9lL/cdKbynJedi94fXzABlwHu4GiYoxmi8kHWPTqrXhm0euqFh1Ueu2+b3PzikPvpfXn 5Y9afg3CEY+SQseAEv/ewcfQpZSBxwRne8o6geMq42rhUSGBjoqlD1R5dRvf00kmKfjn m1tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742115405; x=1742720205; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LvliBXhI3FvrdQ9DFr8SJ7fHp64kyVjHgEGdxVcBBqI=; b=M/wEHdJSR9+IDu7piMzQd+SHNDo1gaLTWBewXf0A/7Jb6IrCGFU2XYZrsVee+EIq1x 9YOIF6ZDK+eCXcPOi+7P8fEsY6sW2T1X3qbj6EalyZcxt+IMIQkxwNk12bK490qUMN40 zpzhLOTO2y+VQ0fxVoT22JNAI5teGvNI8rjsqv4vT3UntYFlIoyUqKHiN/adiBAZkw3N FH6h0fAfC2OCbK2U6ExcpyiBvq9Eml6PjJ0+SasNLZ6luCkDq+FiPYz8tUJTfOc1BAfY yv6TfsH/sGTOp8mj27KeP527A2oDFefathZjhdu6jHbmhRMDXZSVLFkoAxPhj1QlXqR2 Qcaw== X-Forwarded-Encrypted: i=1; AJvYcCWasCtQrMxSjGU6pa6HHcuRqA+4cNBPto9FeJODYsiO+1vCQFvNfTSIpKN6r11wULuUy405Dw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzivhCp1nVwrwq1wEfOKIfSwKDDsCbnPHrX4xrPzCSyhtS9Dvo6 83fAhQqSndRmhPUxTp4JlKKcScqH/06vw57MDB5xNx4RT6rtdlBb/ToDpw== X-Gm-Gg: ASbGncv0ScY4MDAXvTXMYV03oRKaXQtGbuNC1nFonW5F6FWU5jYJcFfy85+hfQoeiHE amhsAy4kzqxZMtgNlONphVZlw45Nm7jyx8jNLa4JKfXjWwlF+PdUDxlxNIDhHHWE8BktT3ySiTL rKKKUNK6XgbnANGVmOShKDmeF7jlLlA5f3vvqj2JsJ1H8s78vw2lx/SJQ1nnTMnMY9iJe0AS4/u N5OHuUzrjTlYc2qYhqW3YibG5pJHjhmr7PQEtRbCvQ978ePNkkVpItwuY3SywRSREokuDcx1uxF hUA/bvOPSKpzMKSgoRSqGgW2qDyK+TFAPVyLlhk4IL+UbxO+DOGAvaHI2tQwvDDFLXPv8wQSBuY FQBYkAXeTF5vCafJQqBQ74nGxTYKqeOCJPvS1IganKSncWjI0l7BPcA== X-Google-Smtp-Source: AGHT+IFyH9rSHbp8DFW8jy4AXZokZfp+QWYygh7cm16tjLTkbvZPWo8yYV27ihnt6dYqSKiOt2kmCQ== X-Received: by 2002:a05:600c:4692:b0:43d:53c:1ad6 with SMTP id 5b1f17b1804b1-43d1ed0f8aemr85827225e9.26.1742115404399; Sun, 16 Mar 2025 01:56:44 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395c83b6e92sm11612879f8f.38.2025.03.16.01.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Mar 2025 01:56:44 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS (Regression introduced by TTY child frame work) In-Reply-To: <CAHyO48zPPt_9bnr=fc9U+k3CcuvD8qfpymXYjsk7NEz7gFqumA@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <86frjdv6h6.fsf@HIDDEN> <m21puxpird.fsf@HIDDEN> <CAHyO48zPPt_9bnr=fc9U+k3CcuvD8qfpymXYjsk7NEz7gFqumA@HIDDEN> Date: Sun, 16 Mar 2025 09:56:43 +0100 Message-ID: <m2wmcpnyk4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Do you by chance have a version of 414de92a562 that is split into > multiple, sequential commits? The area of most suspicion to me is the > rewrite of update_frame. Kind of unlikely, but who knows. Update_frame splits into 3 branches, one for window-system frames, one for tty frames, and one for the initial frame. NS uses the update_window_frame, which shouldn't have changed. > It's the most significant change, and without going through it part by > part, I can't tell if the non-try changes are mere refactoring or if > they actually have behavioral change. There is the branch scratch/tty-child-frames, which has a few commits, but that's it, I'm afraid. I did the original development in my fork of Emacs on Github, and deleted the branch, when things landed in master.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 07:55:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 03:55:24 2025 Received: from localhost ([127.0.0.1]:45220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttiqB-0002yl-Rk for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 03:55:24 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:60895) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttiq7-0002tV-PZ for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 03:55:21 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-30bd21f887aso30070741fa.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 00:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742111713; x=1742716513; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XNde1ThkihXL+Ms5Fx7FTvBVoR2nXauJ9M9twV3TR58=; b=DKbFf9c74OHDcmTyn6mEh3V3Vqu7e4sldxq355cpsydOjZdbYcHZ6GGd/5JAtJvRgG 5MW62BauMaiEPanYa3bpBo5CUQAgyIbmBDHl7js58NQwU++v5j53Hp7Imon3/mSjN69S 1Bluk2dRfm9zMIvPRxR7SYVNDGNmdwpHqg5nsTCsfQVMnT0+dNUaDVNjojk4OAke1HTX RvJzgoGgv4S/7I+9FzuEHwfDCNvLu/5iqri6RQqcJMraEnok8UwHLDUQ8GYaEbxr086C ssyeWczs1bUVofd2ce1pAlL6OoGsZ1vhHHVUwKsdLD9Eo3rVxWjdBsQIJDFAzNqSKbRp jkxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742111713; x=1742716513; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XNde1ThkihXL+Ms5Fx7FTvBVoR2nXauJ9M9twV3TR58=; b=mV6tmT64QAon5RQ2EQz5E6sGCPnI1xHU4wazJ3JZm+qP5nvrWPgi7jSJrZ/518tkSO jgsQs9MZH1FNVdBQh2wuN9If5JJWcBPD6ftP1WChSb8Q2JHJxYShtm8Dd4BQriIRk8Mp 4/CiKXazVQet+gWyq5eukRUdN+lVG8HOQLQIbI5Kw9GaXhWLxlKiioZw572f0EnOXSbi AVQJBt+RUpwmjJYuZBeZ22gu6yPmwqXXUNz4PvetbpfyJtjzhohZ9tlgTKZBD6HVgT8I HSX3vaWARvT36KVyAoywKDiJXYDtag9QVT9Bj46wY8BanWQ0kBGiNTnAQLj+fspSwoYD V1ww== X-Gm-Message-State: AOJu0Yw3NxZkLVm32gC7TeixW7E5Pof2gVl0y/2i4p+ElgZDP7nQky9A LluRqyeGIa+2y8yklKWhG+66a5qq8FlPjno5ZziCqkhsnvfsCt+gjU867tIPJrVjirttcf0ZaTc Qiv90vl7aXTYjRSI6VC6AAM0cYBI= X-Gm-Gg: ASbGncvvblhKxGMMtQHtDibCozmtn/Ztncr4MXJsbDww/ms2dH6avjapYUXXNzySYGa psZB+KTx9fYitvNeAvoJElW1k5NzoeQBTzUvW1dbWAbXJkGnVmCOyMLqA6TmPsQdLtJGcG8Yxqh LC1xAQlzxjCkPpwcEmv0WgdsRFhaksceLk8qo5yDTfLAwKq5OlMA== X-Google-Smtp-Source: AGHT+IGoV/lDpkM6r7KV8d4BSbEchWKbS3lPu1yv05gVlNdumbVGdd5Pz82DJzAn9Yy3ageZHcf2h6RdAPZ78FAKZW4= X-Received: by 2002:a2e:be8b:0:b0:30b:badf:75ee with SMTP id 38308e7fff4ca-30c4a74d0a6mr31082601fa.7.1742111712817; Sun, 16 Mar 2025 00:55:12 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 07:55:12 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 07:55:12 +0000 Mime-Version: 1.0 X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) In-Reply-To: <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Superhuman-ID: m8bcbjxm.d834e32c-5b91-4641-bbac-17189eae828c X-Superhuman-Draft-ID: draft00b215bbbbb69da9 References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> Date: Sun, 16 Mar 2025 07:55:12 +0000 X-Gm-Features: AQ5f1JpmQe429X3kLy58nYvW67yw5tIQdXaePxFysCojBGjVGJPWQ7Nl0hTjYI4 Message-ID: <CAHyO48xeduxtfUB=rDbikn43Jx0J=nqcPGYPTsew6Mgxuoomgg@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000cd3b68063070fdcc" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000cd3b68063070fdcc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable One other thing, it may be related to tab-bar mode. It seems to be connected to when I switch tabs =E2=80=94 one tab has a vterm buffer scroll= ing output and the other just has a grep output, for example. If I don't get the flicker in the grep output, I can switch back and forth between the two tabs a couple times and I'll start to get it. Aaron On Sat, Mar 15, 2025 at 11:03 PM, Aaron Jensen <aaronjensen@HIDDEN> wrote: > On Sat, Mar 15, 2025 at 9:43 PM, Gerd M=C3=B6llmann <gerd.moellmann@gmail= .com> > wrote: > > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Adding Gerd M=C3=B6llmann. > > The flicker appears to have been introduced by the work done in > 414de92a562 > > Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 > months ago) <Gerd M=C3=B6llmann> > > It's a fairly large change set, so I don't know yet what might be causing > it. I can reproduce it fairly consistently using my own setup, but I don'= t > know how to narrow it down to something from Emacs -Q because it appears = to > be related to CPU utilization and/or rapid updating of buffers that are n= ot > currently visible. > > Aaron > > On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> > wrote: > > Here's a video clip: https://share.cleanshot.com/x8zWLgYf > > It seems to happen more often when there is significant load. In this > case, I was running an 8 worker web server in a vterm in Emacs and a set = of > 8 parallel UI tests against it. The server was printing log messages at a > rapid rate, but that vterm buffer was not visible. > > Aaron > > I'm afraid I have not the slightest idea. > > 414de92a562 concerns only ttys, AFAICT. I've looked through the commit > again right now. The changes to NS code directly are only trivial ones > (1 -> true, 0 -> false etc.). So it would have to be something in > redisplay_internal or something similar, in code not specific to NS that = is > used on all window systems, and I don't see a change there that could cau= se > something with the symptoms you describe. > > Adding Alan Third in CC. Maybe he has an idea. > > > I'll try and eliminate aspects of the patch as best as I can. If this is, > in fact, a macOS only issue, then it may be that the particular method of > drawing the windows in macOS is susceptible to some change that was made > here. No idea what it could be, either. I do see that the NS-specific > changes appear to be innocuous. > --000000000000cd3b68063070fdcc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div><div class=3D"">One other thing, it= may be related to tab-bar mode. It seems to be connected to when I switch = tabs =E2=80=94 one tab has a vterm=C2=A0buffer scrolling output and the oth= er just has a grep output, for example. If I don't get the flicker in t= he grep output, I can switch back and=C2=A0forth between the two tabs a cou= ple times and I'll start to get it.</div></div><div></div><br><div clas= s=3D"gmail_signature"><div><br>Aaron</div><br></div></div><br><div><div cla= ss=3D"gmail_quote">On Sat, Mar 15, 2025 at 11:03 PM, Aaron Jensen <span dir= =3D"ltr"><<a href=3D"mailto:aaronjensen@HIDDEN" target=3D"_blank">aar= onjensen@HIDDEN</a>></span> wrote:<br><blockquote class=3D"gmail_quot= e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">= <div class=3D"gmail_extra"><div class=3D"gmail_quote sh-color-black sh-colo= r"><div class=3D"sh-color-black sh-color"><div class=3D"sh-color-black sh-c= olor"><div class=3D"sh-color-black sh-color"><div class=3D"sh-color-black s= h-color"><div class=3D"sh-color-black sh-color"><div class=3D"sh-color-blac= k sh-color"><span style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,= 0.6)" class=3D"sh-color-black sh-color">On Sat, Mar 15, 2025 at 9:43 PM, Ge= rd M=C3=B6llmann </span><span class=3D"sh-color-black sh-color" dir=3D"ltr"= ><<a class=3D"sh-color-blue sh-color" href=3D"mailto:gerd.moellmann@gmai= l.com" target=3D"_blank" rel=3D"noopener noreferrer">gerd.<wbr>moellmann@<w= br>gmail.<wbr>com</a>></span><span style=3D"background-color:rgba(0,0,0,= 0);color:rgba(0,0,0,0.6)" class=3D"sh-color-black sh-color"> wrote:</span><= /div></div></div><div class=3D"sh-quoted-content sh-color-black sh-color"><= div class=3D"sh-color-black sh-color"><div class=3D"gmail_quote sh-color-bl= ack sh-color"><blockquote style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s= olid;padding-left:1ex" class=3D"gmail_quote sh-color-black sh-color"><div c= lass=3D"gmail_extra sh-color-black sh-color"><div class=3D"gmail_quote sh-c= olor-black sh-color"><p class=3D"sh-color-black sh-color">Aaron Jensen <= <a class=3D"sh-color-blue sh-color" href=3D"mailto:aaronjensen@HIDDEN" r= el=3D"noopener noreferrer" target=3D"_blank">aaronjensen@<wbr>gmail.<wbr>co= m</a>> writes: <br></p><blockquote class=3D"sh-color-black sh-color"><p class=3D"sh-color-= black sh-color"> Adding Gerd M=C3=B6llmann. <br></p><p class=3D"sh-color-black sh-color"> The flicker appears to have been introduced by the work done in 414de92a562 <br></p><p class=3D"sh-color-black sh-color"> Initial child frames based on master (<span class=3D"sh-date sh-color-black= sh-color">Mon Oct 21</span> 18:32:04 2024 +0200, 5 months ago) <Gerd M= =C3=B6llmann> <br></p><p class=3D"sh-color-black sh-color"> It's a fairly large change set, so I don't know yet what might be c= ausing it. I can reproduce it fairly consistently using my own setup, but I don't know how to narrow it down to something= from Emacs -Q because it appears to be related to CPU utilization and/or rapid updating of buffers that are not currently vis= ible. <br></p><p class=3D"sh-color-black sh-color"> Aaron <br></p><p class=3D"sh-color-black sh-color"> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <<a class=3D"sh-color-blue= sh-color" href=3D"mailto:aaronjensen@HIDDEN" rel=3D"noopener noreferrer= " target=3D"_blank">aaronjensen@<wbr>gmail.<wbr>com</a>> wrote: <br></p><p class=3D"sh-color-black sh-color"> Here's a video clip: <a class=3D"sh-color-blue sh-color" href=3D"https:= //share.cleanshot.com/x8zWLgYf" rel=3D"noopener noreferrer" target=3D"_blan= k">https:/<wbr>/<wbr>share.<wbr>cleanshot.<wbr>com/<wbr>x8zWLgYf</a> <br></p><p class=3D"sh-color-black sh-color"> It seems to happen more often when there is significant load. In this case,= I was running an 8 worker web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was = printing log messages at a rapid rate, but that vterm buffer was not visible. <br></p><p class=3D"sh-color-black sh-color"> Aaron <br></p></blockquote><p class=3D"sh-color-black sh-color"> I'm afraid I have not the slightest idea. <br></p><p class=3D"sh-color-black sh-color"> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit again right now. The changes to NS code directly are only trivial ones <br> (1 -> true, 0 -> false etc.). So it would have to be something in redisplay_internal or something similar, in code not specific to NS that is used on all window systems, and I don't see a change there that coul= d cause something with the symptoms you describe. </p><p class=3D"sh-color-black sh-color"> Adding Alan Third in CC. Maybe he has an idea.<br></p></div></div></blockqu= ote></div></div></div></div><div class=3D"sh-color-black sh-color"><div cla= ss=3D"sh-color-black sh-color"><br></div><div class=3D"sh-color-black sh-co= lor">I'll try and eliminate aspects of the patch as best as I can. If t= his is, in fact, a macOS only issue, then it may be that the particular met= hod of drawing the windows in macOS is susceptible to some change that was = made here. No idea what it could be, either. I do see that the NS-specific = changes appear to be innocuous.</div></div></div></div></div></div></blockq= uote></div></div><br></div></body></html> --000000000000cd3b68063070fdcc--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 07:49:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 03:49:19 2025 Received: from localhost ([127.0.0.1]:45199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttikI-000208-Tz for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 03:49:19 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:43306) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttikG-0001zs-I1 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 03:49:17 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-54991d85f99so4629653e87.1 for <77039 <at> debbugs.gnu.org>; Sun, 16 Mar 2025 00:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742111350; x=1742716150; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s2L2gt944WmI3im/sF6nbpvtXDkMQtRx//Fji/2YOQ4=; b=DS9gNRYnDEdf8PSBkRnToZh5EXvZSPF+TH8djhfvehvfSOw4xbBVvNgh1Tpmp9aV8m j/s304dSlvfz24D8MrEu9IlMbvMSsFZDoL8yBe9ukelm8/SxZ+9Qbl75jxOa2AV+iaDe I5EQPnEN1R+L0Wrb6TghG3Nr1I42zjJZ0bTW+yonsQEAe9WqB6GNJLtOsaR9hoBsCtlG 23xhNivGboEV/WmGE/Gz9aOaA1ZNCO/+uX4hjoSPHod03wBEQOR4CYqOb/aGVm4SVIu5 K9O2sISoRKi6pv9GK6ZqNsk0meOa5g85FKuycOJs/t+VyPMHsKe+PRcjE8T66yobhDy3 lZUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742111350; x=1742716150; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s2L2gt944WmI3im/sF6nbpvtXDkMQtRx//Fji/2YOQ4=; b=PJ7T8HhyvFrdBy/YNpzdMqIrRrgOvO6hm6wXtdf0a0LmMCOIbldJYjxe4CJqx+vfME t9R9Bu4Jxd94aBjbSO48leo5RfmfqouAuKhN3i8QIEj28wiSAHUJW4mreBQtFTbacIOs T+EBidgtgz3CPA+/EcQau1ndGruzxcRSjK9tBfx0EcbQLbQ+Eww4eraD6KrXY8tv5hGm YbIBe1vv6X/BzQvQ9w1x14tmePIUU7gtnmiSDw/HcFJVYNAkEzhlkV9l+SJ+vLtgLKK1 0HwjWatERy3hIe8Wn3MTyNT3aFCEhLevAoFDrC/sSj8AIbPKZyvpOSpQVNoctNpMmkEY tn0w== X-Forwarded-Encrypted: i=1; AJvYcCVwnXoSxBJ35lDa6UniltZ2tDpcRjrDE7A9fcH63xC9j2TMCGuSFHOBN5uhXCS6U/5DYdrGSQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyhXzKy9nNDiR5zooRuPBUCEC0YU+bY4dkM8KTJkyfkUxoGrNCj XFPcb3UVuDdhbNsd8/45QBwuEbxi8pfI8jrvouJ7aPaalPxYPRzONs/IBsevKsvlKpMNErRv8Jm eeaOa5TyCnX7r2yidTqt3XI2wl0Q= X-Gm-Gg: ASbGncukWiMCVRNbjh9NdjeztYZ1Xp7rBZzWzDbfBDKxrvpwpzMuJuHNNMonaDSyqsW T+S+UTNwuin/tzD3uIhRyvrlT57CfUd7RmSQmKi2fmjBMdWB0Tcpveefdsxm4OpN+MB/qjLo6EW Xm2rVuFMSx1+ycNDTHcXXW9ZAtkJqRx4aSoTfZkYXdPZBaF9MGLTcnM5Cgi+LA X-Google-Smtp-Source: AGHT+IGRwIfT62sobpUTdzSYqDJEIsVvWNmmWe6y7wHL0M+NRvoRe9w/UwMvA9UT8x68x3wMLg5XramzAL0wcXmaWmY= X-Received: by 2002:a05:6512:118e:b0:549:8c0c:f059 with SMTP id 2adb3069b0e04-549c3f1340emr2523982e87.10.1742111349784; Sun, 16 Mar 2025 00:49:09 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 07:49:09 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 07:49:09 +0000 Mime-Version: 1.0 X-Superhuman-Draft-ID: draft00541f5bfe15d23c References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <86frjdv6h6.fsf@HIDDEN> <m21puxpird.fsf@HIDDEN> X-Superhuman-ID: m8bc3rrj.feccefa4-9513-49d4-b852-4d1a11a3f90c In-Reply-To: <m21puxpird.fsf@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) Date: Sun, 16 Mar 2025 07:49:09 +0000 X-Gm-Features: AQ5f1JpCP1yOQ6Es8Yd-zjW-CJu4eM1iB2QQBxQWztrmQM6NIYhrVCzLMg200Dw Message-ID: <CAHyO48zPPt_9bnr=fc9U+k3CcuvD8qfpymXYjsk7NEz7gFqumA@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS (Regression introduced by TTY child frame work) To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000029c9ec063070e849" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Eli Zaretskii <eliz@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000029c9ec063070e849 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 15, 2025 at 11:55 PM, Gerd M=C3=B6llmann <gerd.moellmann@gmail.= com> wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > > Cc: gerd@HIDDEN > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sun, 16 Mar 2025 02:19:32 +0000 > > Adding Gerd M=C3=B6llmann. > > Sub-optimal address; fixed with this message. > > Thanks. This was a case where I actually got Aaron's mail. > > @Aaron: gerd@HIDDEN doesn't work anymore, with 2 exceptions so far, one > being your mail. > Understood, thanks. Do you by chance have a version of 414de92a562 that is split into multiple, sequential commits? The area of most suspicion to me is the rewrite of update_frame. It's the most significant change, and without going through it part by part, I can't tell if the non-try changes are mere refactoring or if they actually have behavioral change. --00000000000029c9ec063070e849 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sat, Mar 15, 2025 at 11:55 PM, Gerd M=C3=B6llmann </sp= an><span dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellmann@gmail.= com" target=3D"_blank" class=3D"">gerd.moellmann@HIDDEN</a>></span><s= pan style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:<= /span></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><d= iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:= 0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail= _extra"><div class=3D"gmail_quote"><p class=3D"">Eli Zaretskii <<a targe= t=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:eliz@HIDDEN" class= =3D"">eliz@<wbr>gnu.<wbr>org</a>> writes: <br></p><blockquote class=3D""><blockquote class=3D""><p class=3D""> Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:gerd@gn= u.org" class=3D"">gerd@<wbr>gnu.<wbr>org</a> <br> From: Aaron Jensen <<a target=3D"_blank" rel=3D"noopener noreferrer" hre= f=3D"mailto:aaronjensen@HIDDEN" class=3D"">aaronjensen@<wbr>gmail.<wbr>c= om</a>> <br> Date: <span class=3D"sh-date">Sun</span>, <span class=3D"sh-date">16 Mar 20= 25</span> 02:19:32 +0000 </p><p class=3D""> Adding Gerd M=C3=B6llmann. <br></p></blockquote><p class=3D""> Sub-optimal address; fixed with this message. <br></p></blockquote><p class=3D""> Thanks. This was a case where I actually got Aaron's mail. <br></p><p class=3D""> @Aaron: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:ger= d@HIDDEN" class=3D"">gerd@<wbr>gnu.<wbr>org</a> doesn't work anymore, = with 2 exceptions so far, one being your mail.<br></p></div></div></blockquote></div></div></div></div><d= iv><div><br></div><div>Understood, thanks.<br></div><div><br></div><div>Do = you by chance have a version of=C2=A0414de92a562 that is split into multipl= e, sequential commits? The area of most suspicion to me is the rewrite of u= pdate_frame. It's the most significant change, and without going throug= h it part by part, I can't tell if the non-try=C2=A0changes are mere re= factoring=C2=A0or if they actually have behavioral change.<br></div><div><b= r></div><div><br></div></div><div><br></div></div><div></div></div></body><= /html> --00000000000029c9ec063070e849--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 06:55:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 02:55:18 2025 Received: from localhost ([127.0.0.1]:45096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tthtz-0002Sr-T1 for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:55:18 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:56554) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tthtv-0002Mh-4E for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:55:13 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-390effd3e85so2857595f8f.0 for <77039 <at> debbugs.gnu.org>; Sat, 15 Mar 2025 23:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742108104; x=1742712904; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YuwT7iM1Hq8SkoHZyf1e7osvmx2rCXTujD+o7ARfFi8=; b=HAZiMv+QIz0uIU4CC+VdSMK09m4riv1UFzOnON6KX8L5QnFbW8wGCgsB/Icq1csvuw CV9+FnfJbKbtl0ICfAycOcmeBlhGkNuSW1Ds4Tzuc4DipX63EaCb+yiUaxmtkLZCCCHP IcuZmg9j8L76/tOb51R4mdusalm+bThTQe8CH2rBxj6Ro+69IMCNck80RUrDMyrZynnP V1n3ASJoVNQSifXKtU4NDNBqotNlCUbXIbgdWja+0kB8WTR+VCxPcvhcQEYnTCFYSfSm jhEOrg7KHmXLnl2AC3XuhAchkiwy4wcjGFokhGWepbL8GrPkMofiG/qBkgB5z0GRkwYd SmeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742108104; x=1742712904; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=YuwT7iM1Hq8SkoHZyf1e7osvmx2rCXTujD+o7ARfFi8=; b=hRF4D1Z0B6tvgQ8XHCZ4t7OWCVqlNYLrb1ZF7EwlwgkGQMAodKy7XOJMFhyXSY2d7H v8DX6HjiRuKxiEcbPu1WxVU66oV+BgkjVWrnAdeT5zeZXGQIa5B0imPnF4pj+saPbnmn AvfLV+aOXxinENBbubIBIdTHvqhTNC+SJt6Sm8zTlsHPHIyedh3yY0jIXWZK71N5rVFB 7WvksvuCVLz2/6tGPPcHXORi3GKfpls3YaMgrtB0T8QNZXiD7/0Y+SuJAZAHzcrUOd7b Qrl+xk9FWrKfVDX70Z/SpZaTxEnX+u8LOWkvugPzLSiiH5d56cVBYK7fxc54Zh+8gpcW 6/+A== X-Forwarded-Encrypted: i=1; AJvYcCVNYf7/Zzsh3kryMmLW1rZ3EqoiHd1eIhzPErO+cvCoPOtIJRa+kb+RuezZHgK+fBbo71OYLg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzwy56EYI5uZM+F3TLu8hQhOm+WPijisdRL/5g0M+6wuX9JDCbI p6nWIDjap72jPDTGHlTGIKf8gmLdMuLF+LDm3Ln62Gdxi7umx+9oMwWagw== X-Gm-Gg: ASbGncuLNeet/q6xu/8ka4zUtf5mmWeqmGJmhpPRaA/nQRk2zQkXdRzMbjCy9gzffTP mavvf32II2Lw8wt7OHzvzrfzZd0MF/pb/dCDKrCW0yYVoUYItsNr9Hugsnnqb/fLyEt5Eulhm3o tDt6ZRzGKcWt2LpmwA/fyZHbm2Lp12bs0BzkELLKGNo6KH7V2z2IMwU1vaRtZ5VCtN0OHhDXLPR aJywM2OWw90cBdrHDjbPanx7vAPdM9a5xZTYAnt/HCAJrXaquh4ht80MK6KMUlwMkoZHzGLA4hQ Atk9UkZRvrVySRnWh3qBRKP6FuhPYN+HD7Ws81jukdrEG3kVoxB7b2+ANWme82vInLseHnu+UI3 1oHfruXwWqJVCVy7QTVqKcZF0NERehkuqenY5JNM2H9TSDFZXSSw5Og== X-Google-Smtp-Source: AGHT+IGJGh6l//hhJhztYi4yMMhxeaGhe/dzRaV74KeaF6z2cfjWjiSRr7UWbYAiNgXWeoDbcUgvdA== X-Received: by 2002:a5d:6d82:0:b0:38d:d666:5448 with SMTP id ffacd0b85a97d-3971f4119aemr10009043f8f.40.1742108104387; Sat, 15 Mar 2025 23:55:04 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb40cdd0sm11203169f8f.77.2025.03.15.23.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Mar 2025 23:55:04 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS (Regression introduced by TTY child frame work) In-Reply-To: <86frjdv6h6.fsf@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <86frjdv6h6.fsf@HIDDEN> Date: Sun, 16 Mar 2025 07:55:02 +0100 Message-ID: <m21puxpird.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: 77039 <at> debbugs.gnu.org, Aaron Jensen <aaronjensen@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Cc: gerd@HIDDEN >> From: Aaron Jensen <aaronjensen@HIDDEN> >> Date: Sun, 16 Mar 2025 02:19:32 +0000 >>=20 >> Adding Gerd M=C3=B6llmann. > > Sub-optimal address; fixed with this message. Thanks. This was a case where I actually got Aaron's mail. @Aaron: gerd@HIDDEN doesn't work anymore, with 2 exceptions so far, one being your mail.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 06:24:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 02:24:00 2025 Received: from localhost ([127.0.0.1]:45022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tthPk-0003FD-BX for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:24:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58634) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tthPh-0003Ej-Vs for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:23:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tthPc-0006fY-GK; Sun, 16 Mar 2025 02:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=yAqMo5GBzzVRTGEuJFXgGdbDgBrFqnxSSpZsq0KUyC8=; b=UXntS/8WSxib5xeh2w/S s4xgZ8aS/DVMpIBPP8y9TKBM5aM+LfdT6W0amz4Av3zOIqGzac4fdOGuNQ/HTvKwzw29pnKIER2WB QgMWuEp31EVSLu5HfVSzIPTkcWbEGab+J92KQQ9KbP4/nIbr4QL/TSVhJZQ6xcSgPGo5ORTEFWTgs itWwJ5LouryEO58hpIpDc0dqPEzFPLQg8QZIfdM9HydowpX+lgUeeSxiah9PalpVzYvYtHY5MbsXa LDCqtDBPYBhJMVyLwKTZaCzLOoUP+0fAOlKodnm8dwCTMyg6xxeH7kr4MKU356l0btUfbP6zbtcc/ l1/RL8SmHf8GHw==; Date: Sun, 16 Mar 2025 08:23:49 +0200 Message-Id: <86frjdv6h6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN>, =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> (message from Aaron Jensen on Sun, 16 Mar 2025 02:19:32 +0000) Subject: Re: bug#77039: 31.0.50; Flickering on macOS (Regression introduced by TTY child frame work) References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77039 Cc: 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: gerd@HIDDEN > From: Aaron Jensen <aaronjensen@HIDDEN> > Date: Sun, 16 Mar 2025 02:19:32 +0000 > > Adding Gerd Möllmann. Sub-optimal address; fixed with this message. > The flicker appears to have been introduced by the work done in 414de92a562 > > Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 months ago) <Gerd Möllmann> > > It's a fairly large change set, so I don't know yet what might be causing it. I can reproduce it fairly consistently > using my own setup, but I don't know how to narrow it down to something from Emacs -Q because it appears > to be related to CPU utilization and/or rapid updating of buffers that are not currently visible. > > Aaron > > On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> wrote: > > Here's a video clip: https://share.cleanshot.com/x8zWLgYf > > It seems to happen more often when there is significant load. In this case, I was running an 8 worker > web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was printing log > messages at a rapid rate, but that vterm buffer was not visible. > > Aaron
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 06:04:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 02:04:07 2025 Received: from localhost ([127.0.0.1]:44962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tth6R-0000Cv-Tv for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:04:07 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:54477) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1tth6O-0000BM-MW for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 02:04:01 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5499bd3084aso3458945e87.0 for <77039 <at> debbugs.gnu.org>; Sat, 15 Mar 2025 23:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742105034; x=1742709834; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:in-reply-to:from:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CE2NIbjtK3I2mCI2Mw4cKJ7869mELHz82z3cKgbhdeE=; b=Snflcwo0H91gInKDIxvQqBwu5lRvOzQsoH9JvaXz5PxnOfjLKkaNJHqGegkBXSkDOB iPbQuhVid96yKZD8PVioH7JSeRxk0guBr86BGpnWV4bMD/B/Qg4eOTbtkYxkDPR0PuUV X1KIHLcufqKeiUjZT7c7t2H7nlTiJ10adp28aIMBdicjYje/bR/x0zbiF5/jyENl7nhX 72dnFssrnTwNbtUClcE0G89LNOTaV/IZT3kgHYAPl/CS8iEAcZgCRr+ltqlaPfDPYV6s YHUdVfvKvp4yZVWoFJLx4C3BKmwk/Os8OpSG+ka/htc45+ipJESkmqhIwxo5luf2z6c+ fDHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742105034; x=1742709834; h=cc:to:subject:message-id:date:in-reply-to:from:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CE2NIbjtK3I2mCI2Mw4cKJ7869mELHz82z3cKgbhdeE=; b=gkHPPb4p5FZOhqtPlVBn0kMGUr6I71/aZ5tmIZsU8CBe5vUTiIJW2GA2Ldwpo6pqbX L7j+r+3mhHRF4cRr6GX4PansRvi2PX16bbJiZVJFoM4pkEYmD+aJJaF+b/2MmFos6Iyg PruLPGRvwG8zQEos+sZBwUeECN9hwFPBDtch6Y6QPvByIg2qXKg4FYlzEZGVyPZNd7u5 dkWf9s+bHBkNATwVYWZY3WYC3VY5doj7hCWgwDBfhNTFZAiw0/3OTERUOqhP+lKXLbaC Ct2xg/5u5DiongzXzyA4QwS98vSNtoW8XHfX8C9I9FG/F25Oh+Oboq8srOp/nTp702Oy vPkg== X-Gm-Message-State: AOJu0Yz6QV11VayxVBotKaQ+nO8qxiRWZsB2sRFvoT9UX6PzO0klDDhe Q/S0xm73+jMpxJWVAyJRVY3T2ueb6bbMSYN63FRNx+eOsWBMjzY7cyaD7PzY6LE8hpUzJ2SdPO2 vgGmy6y8OfNdAfAnaj5GktSBkzSI= X-Gm-Gg: ASbGncuO9VkL98sEwdYrkMi6WYHQW+kT4JwKgaEa4Gzih6LpGmvxuk6NV4QiRDT0bD8 qJAu/JMNIbDGo42ZSxlAgdVY6K97zaATu3JuKxgqr0uv87ol/Cl6c6uMMX8x+6osOIyvSFxj/mB sQLjeGsJ3A8ZmRyvzKjqers5On7dMtDqEjj/6nFnhxJp5Zyhow0w== X-Google-Smtp-Source: AGHT+IH8j/50qZ+ErATcFbccE25YyakGxhbVYVxe6J3N9mVKufCRJBBuEIVCjeGWoeoVxh3H314VVgUfUf0aEZzLNTU= X-Received: by 2002:a05:6512:39c3:b0:545:353:4d46 with SMTP id 2adb3069b0e04-549c38f22a9mr2180485e87.25.1742105033426; Sat, 15 Mar 2025 23:03:53 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 06:03:52 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 06:03:52 +0000 Mime-Version: 1.0 X-Superhuman-ID: m8b8cdjw.f6345977-42b5-4f62-b9a8-108f946c5114 X-Superhuman-Draft-ID: draft00e1b085670852da References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> <m234fd4mc2.fsf_-_@HIDDEN> From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) In-Reply-To: <m234fd4mc2.fsf_-_@HIDDEN> Date: Sun, 16 Mar 2025 06:03:52 +0000 X-Gm-Features: AQ5f1JpA6TZOSEXGt7JYym80POZe8oFitjotC3la3nPP-U0MMIVqflyZ_H6BnYM Message-ID: <CAHyO48yk9C_ONs3ocxjBeaOqEeUazvbkEMBxEFHW4oF1qLfSYA@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000add3ea06306f6faf" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000add3ea06306f6faf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 15, 2025 at 9:43 PM, Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN= om> wrote: > Aaron Jensen <aaronjensen@HIDDEN> writes: > > Adding Gerd M=C3=B6llmann. > > The flicker appears to have been introduced by the work done in > 414de92a562 > > Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 > months ago) <Gerd M=C3=B6llmann> > > It's a fairly large change set, so I don't know yet what might be causing > it. I can reproduce it fairly consistently using my own setup, but I don'= t > know how to narrow it down to something from Emacs -Q because it appears = to > be related to CPU utilization and/or rapid updating of buffers that are n= ot > currently visible. > > Aaron > > On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> > wrote: > > Here's a video clip: https://share.cleanshot.com/x8zWLgYf > > It seems to happen more often when there is significant load. In this > case, I was running an 8 worker web server in a vterm in Emacs and a set = of > 8 parallel UI tests against it. The server was printing log messages at a > rapid rate, but that vterm buffer was not visible. > > Aaron > > I'm afraid I have not the slightest idea. > > 414de92a562 concerns only ttys, AFAICT. I've looked through the commit > again right now. The changes to NS code directly are only trivial ones > (1 -> true, 0 -> false etc.). So it would have to be something in > redisplay_internal or something similar, in code not specific to NS that = is > used on all window systems, and I don't see a change there that could cau= se > something with the symptoms you describe. > > Adding Alan Third in CC. Maybe he has an idea. > I'll try and eliminate aspects of the patch as best as I can. If this is, in fact, a macOS only issue, then it may be that the particular method of drawing the windows in macOS is susceptible to some change that was made here. No idea what it could be, either. I do see that the NS-specific changes appear to be innocuous. --000000000000add3ea06306f6faf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D""><div class=3D""><div cla= ss=3D""><div class=3D""><span style=3D"background-color:rgba(0,0,0,0);color= :rgba(0,0,0,0.6)">On Sat, Mar 15, 2025 at 9:43 PM, Gerd M=C3=B6llmann </spa= n><span dir=3D"ltr" class=3D""><<a href=3D"mailto:gerd.moellmann@HIDDEN= om" target=3D"_blank" class=3D"">gerd.moellmann@HIDDEN</a>></span><sp= an style=3D"background-color:rgba(0,0,0,0);color:rgba(0,0,0,0.6)"> wrote:</= span></div></div></div><div class=3D"sh-quoted-content"><div class=3D""><di= v class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_= extra"><div class=3D"gmail_quote"><p class=3D"">Aaron Jensen <<a target= =3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN= m" class=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>> writes: <br></p><blockquote class=3D""><p class=3D""> Adding Gerd M=C3=B6llmann. <br></p><p class=3D""> The flicker appears to have been introduced by the work done in 414de92a562 <br></p><p class=3D""> Initial child frames based on master (<span class=3D"sh-date">Mon Oct 21</s= pan> 18:32:04 2024 +0200, 5 months ago) <Gerd M=C3=B6llmann> <br></p><p class=3D""> It's a fairly large change set, so I don't know yet what might be c= ausing it. I can reproduce it fairly consistently using my own setup, but I don't know how to narrow it down to something= from Emacs -Q because it appears to be related to CPU utilization and/or rapid updating of buffers that are not currently vis= ible. <br></p><p class=3D""> Aaron <br></p><p class=3D""> On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <<a target=3D"_blank" rel= =3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN" class=3D"">a= aronjensen@<wbr>gmail.<wbr>com</a>> wrote: <br></p><p class=3D""> Here's a video clip: <a target=3D"_blank" rel=3D"noopener noreferrer" h= ref=3D"https://share.cleanshot.com/x8zWLgYf" class=3D"">https:/<wbr>/<wbr>s= hare.<wbr>cleanshot.<wbr>com/<wbr>x8zWLgYf</a> <br></p><p class=3D""> It seems to happen more often when there is significant load. In this case,= I was running an 8 worker web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was = printing log messages at a rapid rate, but that vterm buffer was not visible. <br></p><p class=3D""> Aaron <br></p></blockquote><p class=3D""> I'm afraid I have not the slightest idea. <br></p><p class=3D""> 414de92a562 concerns only ttys, AFAICT. I've looked through the commit again right now. The changes to NS code directly are only trivial ones <br> (1 -> true, 0 -> false etc.). So it would have to be something in redisplay_internal or something similar, in code not specific to NS that is used on all window systems, and I don't see a change there that coul= d cause something with the symptoms you describe. </p><p class=3D""> Adding Alan Third in CC. Maybe he has an idea.<br></p></div></div></blockqu= ote></div></div></div></div><div><div><br></div><div>I'll try and elimi= nate aspects of the patch as best as I can. If this is, in fact, a macOS on= ly issue, then it may be that the particular method of drawing the windows = in macOS is susceptible to some change that was made here. No idea what it = could be, either. I do see that the NS-specific changes appear to be innocu= ous.<br></div><div><br></div></div><div><br></div></div><div></div></div></= body></html> --000000000000add3ea06306f6faf--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 04:43:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 16 00:43:40 2025 Received: from localhost ([127.0.0.1]:44811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttfqd-0004ae-Lp for submit <at> debbugs.gnu.org; Sun, 16 Mar 2025 00:43:40 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:60841) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ttfqX-0004Yh-N2 for 77039 <at> debbugs.gnu.org; Sun, 16 Mar 2025 00:43:36 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-391342fc1f6so2855382f8f.1 for <77039 <at> debbugs.gnu.org>; Sat, 15 Mar 2025 21:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742100207; x=1742705007; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y2htEvhkYVfA+yJc1XfZFMHp7jqbnABcAKKmJzqD+6U=; b=UeSGIVi/hsACeBwG8dYpsDxkuMblcUSo70rhM+ewejLRMJyH6VAVjpcD24fJBGIEeh SHOmnehRaNsZOe3CBi21eL/q2OqHEi75pyAuRXh27hNKEM59OV8Tg70LDcPc8ZlgZ0up UJen6AhVD3SkHFpm66rywl1YTA5gcVT+4GMRML5J1hms1Q0DkyVytfQ0A67xLctSRiwX VbQPzt+pIX9+xX/VrYSC7VTnd25Q+IXquiuWqGCUiqHuNapnbwyYnyeNdLb/kC93ZYmb ekIZKxgGEBDNoj64OU9+7Wzztw616rMEtMyiY6nm2tvaNibzPgpUFa7vZgsJkTuw/aa4 9Sog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742100207; x=1742705007; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=y2htEvhkYVfA+yJc1XfZFMHp7jqbnABcAKKmJzqD+6U=; b=BrIL9GSqltPWT4ALxtWKerwB//Ek6dwZ9ZnMa1WQ+BkRs+k+qgbNgxoqfESM1IbG4a xghxDlbVxdfDPwyMUQm7jmkCzLmP8WZtr0jsymznf0xmRYHijSuRzreGY88moG/mfkfn 68iasM29XInWo9pfG9jsH6nGwZczBJDWl0DeTmiEriaOzGyPrR6yRLppXKJYVC8YiRTg Y6JKAaw/8i4omfIdBTU0N2Y8jsZezyY0drTxDtZuh2eU8ZmBqzZjutiLJUWQzemcrI6X pfj+H+Luhgn8DcIObyIFpOzjANaCxtafIKjcJjbYI7GuKb1brHoJN7wNAV+yPmH/gpQe Wikg== X-Gm-Message-State: AOJu0YwkW/fekfP7+lBrSigqA8AKxpB0DIatTUSc5jWxbNiQfqYrobMX RtneoxjVcLJt+0h7IamIwfBvHl6l4AYzS2kNfRHjbBO/KZzkjlJ30HFNJg== X-Gm-Gg: ASbGncszZZYDtiMQniyHfcGy2+eoK4rFjpgIH7f7K+drLntxYdrTvvHuM0PMxGBJxmm 1ivrjCqsz3o0OT5FgI7VC/tGv7BLU1hNTUALyQZULPQ8IPV5dQqUwmUxPphNs4HiDKgzLag6XSg 4Wo8JH4kUuSNiighNu7N/pPnoOFFdppaeTEvySrRyejHm81jKy+jfsp+ussDH5puhtoVB+PE3rX Jznid1q2eibjjZL5bJotoq13mzEeKrRIlb1QN5RSxGQxM67iEqy8XIhbEDyW/x6ENiJMlz+FmRj 8RqZ/mx7reS+v9MGZ92fTpmCrU+kKuGKyLMR8dqrs3YA0S4Z0HZAQochOoZzsJllo614/z4FoWQ b1R3F71jp7WmevtTUrpJJR8DMFWRabP9hJtls4cwASCWn2ZIjmUtfrg== X-Google-Smtp-Source: AGHT+IEQNbv9hteY4L0OeryrDguu6bBa1ETczaDrUoXHhOeSJn+BPmaT6Sk9qwYf/IXL7lP35BG1EQ== X-Received: by 2002:a05:6000:1acc:b0:390:f987:26a1 with SMTP id ffacd0b85a97d-3971dbe7ea7mr11142183f8f.29.1742100206585; Sat, 15 Mar 2025 21:43:26 -0700 (PDT) Received: from pro2 (p200300e0b737950025f24de7973e1333.dip0.t-ipconnect.de. [2003:e0:b737:9500:25f2:4de7:973e:1333]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-395cb40cdc5sm10958713f8f.80.2025.03.15.21.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Mar 2025 21:43:26 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Aaron Jensen <aaronjensen@HIDDEN> Subject: Re: bug#77039: 31.0.50; Flickering on macOS In-Reply-To: <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> References: <m2y0x6qm9p.fsf@HIDDEN> <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> Date: Sun, 16 Mar 2025 05:43:25 +0100 Message-ID: <m234fd4mc2.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd.moellmann@HIDDEN, Alan Third <alan@HIDDEN>, 77039 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Aaron Jensen <aaronjensen@HIDDEN> writes: > Adding Gerd M=C3=B6llmann. > > The flicker appears to have been introduced by the work done in 414de92a5= 62 > > Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 m= onths ago) <Gerd M=C3=B6llmann> > > It's a fairly large change set, so I don't know yet what might be causing= it. I can reproduce it fairly consistently > using my own setup, but I don't know how to narrow it down to something f= rom Emacs -Q because it appears to be related to > CPU utilization and/or rapid updating of buffers that are not currently v= isible. > > Aaron > > On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> wro= te: > > Here's a video clip: https://share.cleanshot.com/x8zWLgYf > > It seems to happen more often when there is significant load. In this ca= se, I was running an 8 worker web server in a > vterm in Emacs and a set of 8 parallel UI tests against it. The server w= as printing log messages at a rapid rate, but > that vterm buffer was not visible. > > Aaron I'm afraid I have not the slightest idea. 414de92a562 concerns only ttys, AFAICT. I've looked through the commit again right now. The changes to NS code directly are only trivial ones (1 -> true, 0 -> false etc.). So it would have to be something in redisplay_internal or something similar, in code not specific to NS that is used on all window systems, and I don't see a change there that could cause something with the symptoms you describe. Adding Alan Third in CC. Maybe he has an idea.
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 16 Mar 2025 02:19:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 22:19:47 2025 Received: from localhost ([127.0.0.1]:44358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttdbO-0003VD-Ld for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 22:19:47 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:55779) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttdbJ-0003TM-EG for 77039 <at> debbugs.gnu.org; Sat, 15 Mar 2025 22:19:43 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-30795988ebeso34391321fa.3 for <77039 <at> debbugs.gnu.org>; Sat, 15 Mar 2025 19:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742091574; x=1742696374; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sOp/PGPLv+wnvB5gX6KbPhWbYgIISILuF8D9ho1k3FA=; b=g1+RF8BYSqjeZ6BuFuUCo28WSWBr/dCyqKSfOfGI4Xia2ddnTJwaeGnpNXjhl2/mwD 9VfdZKSsBhNSoXu/ial5VWkbk0z9bquqebV85WAIkR+8V7wU46WMFWK9RMImDOxIPihz U6Wfa9T36nDMhEFdzmxFFlvs2SCOTZ+StUGvRs5d+wAfxPKG6nSK89fUAid2mJV6P74b X58W7LGHAzgtxtl3kQnc+JNxxYe5hxiCSEKOU2wjm1YzUn5IvcUCNTmITBO9Yoii8jul f3ZmwjncrFZEad+09kHyfrklkCO4pbokhNZ0yWdLeedlRWs9Xlfcsb9NEYZbnVmN8Ujr 2p6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742091574; x=1742696374; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sOp/PGPLv+wnvB5gX6KbPhWbYgIISILuF8D9ho1k3FA=; b=cBHi2YLAmW1x+O2Ve6mO89wXGn9BAl9ZCFpZcF9fg63pOQD4EqvsAdzjf+maXyAuIb PZBkYXp//5/GHpmubkKZ9oXq1SjHn9EtEz/rVfrZ0W3XNOyTOawFR7gxa4kD14dkuYEp /ga/6D804qkO45SHTKh8tpPWui9QSqxKm4mnHPjHm67Ep/3QP9fUytJvOtLX3KA3JM4Z pTLEHBKzFX/bvqH47d+MXrMsQ4oXQb/NHbxn70qfcKv+XV4T+OEzqOlDqLZqo2npBcrj /olnRCbZJcBwagw9VidTSA0bRIhhk6eQMXuV0XgeA+Q59/sUFwgnafJ20Q9EDpA6fp9A aeyA== X-Gm-Message-State: AOJu0YyrbQcYdLY+swfvCH07CCCgnWemqdS7uy/wyYEQrHouOfOQLMUE YCYNca93evi35+ATij4/575s0KOs5+wFTtKMySYhe2OF/EDh7fFfoY4cR+YWAB0R4DQE2tvLqJc UHDqaWPkRYelm6/j9nuenzJvHSAAchQ== X-Gm-Gg: ASbGncs9Nq38FYxUkkWGuMi0rTt2+qnu3DRhcQdnonUo5+xA9a0eG+Cpruv+K93bB/j gRuTPozlpOqH+1PyG0EgYvMC3LkQ4VnT4n9MYyIV43VoRTRU+NXFbk7cDwELu5FLfG/R9Nwazd2 m6/7Z0klPkYDrh6z95cm5l35xPN93rmyHmkF4MuNZfxioTew373Q== X-Google-Smtp-Source: AGHT+IEx6wBb31BYCOspVWU5lJtMgHu/PjwYO0mppSoMYZrHlkLD72TSQBFIoC6ZPkXqXCKBWpdRGjHR4JdjRE6DXnU= X-Received: by 2002:a05:651c:2211:b0:30c:1308:1333 with SMTP id 38308e7fff4ca-30c4a861786mr31396361fa.13.1742091573185; Sat, 15 Mar 2025 19:19:33 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 02:19:32 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Mar 2025 02:19:32 +0000 Mime-Version: 1.0 X-Superhuman-ID: m8b0bvqx.ac866b1f-7c99-4543-b8be-92b4031e9077 X-Superhuman-Thread-ID: draft009f2c85031e8d2e From: Aaron Jensen <aaronjensen@HIDDEN> X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-Draft-ID: draft006b14071bfffa7f X-Entity-Ref-ID: m8b0bvqx.ac866b1f-7c99-4543-b8be-92b4031e9077 Date: Sun, 16 Mar 2025 02:19:32 +0000 X-Gm-Features: AQ5f1JrLC9cdO6WNiAGyBEKUPf9a724qrMzaY1A_Fux36i6mPwZH9ezDmWmW2cU Message-ID: <CAHyO48wM9VYXfSdL4CCyqj8y-v=KsE8_yPX6jJ3=zXTBzyon1Q@HIDDEN> Subject: Re: 31.0.50; Flickering on macOS (Regression introduced by TTY child frame work) To: 77039 <at> debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000062d5af06306c4d7c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 Cc: gerd@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000062d5af06306c4d7c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Adding Gerd M=C3=B6llmann. The flicker appears to have been introduced by the work done in 414de92a562 Initial child frames based on master (Mon Oct 21 18:32:04 2024 +0200, 5 months ago) <Gerd M=C3=B6llmann> It's a fairly large change set, so I don't know yet what might be causing it. I can reproduce it fairly consistently using my own setup, but I don't know how to narrow it down to something from Emacs -Q because it appears to be related to CPU utilization and/or rapid updating of buffers that are not currently visible. Aaron On Sat, Mar 15, 2025 at 9:49 AM, Aaron Jensen <aaronjensen@HIDDEN> wrote= : > Here's a video clip: https://share.cleanshot.com/x8zWLgYf > > It seems to happen more often when there is significant load. In this > case, I was running an 8 worker web server in a vterm in Emacs and a set = of > 8 parallel UI tests against it. The server was printing log messages at a > rapid rate, but that vterm buffer was not visible. > > > Aaron > --00000000000062d5af06306c4d7c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div><div class=3D"">Adding Gerd M=C3=B6= llmann.<br></div><div class=3D""><br></div><div class=3D"">The flicker appe= ars to have been introduced by the work done in=C2=A0414de92a562<br></div><= div class=3D""><br></div><div class=3D"">Initial child frames based on mast= er (<span class=3D"sh-date">Mon Oct 21</span> 18:32:04 2024 +0200, 5 months= ago) <Gerd M=C3=B6llmann><br></div><div class=3D""><br></div><div cl= ass=3D"">It's a fairly large change set, so I don't know yet what m= ight be causing it. I can reproduce it fairly consistently using my own set= up, but I don't know how to narrow it down to something=C2=A0from Emacs= -Q because it appears to be related to CPU utilization and/or rapid updati= ng=C2=A0of buffers that are not currently visible.<br></div><div class=3D""= ><br></div></div><div></div><br><div class=3D"gmail_signature"><div><br>Aar= on</div><br></div></div><br><div><div class=3D"gmail_quote">On Sat, Mar 15,= 2025 at 9:49 AM, Aaron Jensen <span dir=3D"ltr"><<a href=3D"mailto:aaro= njensen@HIDDEN" target=3D"_blank">aaronjensen@HIDDEN</a>></span> w= rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde= r-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><div cla= ss=3D"gmail_quote sh-color-black sh-color"><div class=3D"sh-color-black sh-= color"><div class=3D"sh-color-black sh-color"><div class=3D"sh-color-black = sh-color">Here's a video clip:=C2=A0<a href=3D"https://share.cleanshot.= com/x8zWLgYf" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"sh-col= or-blue sh-color">https:/<wbr>/<wbr>share.<wbr>cleanshot.<wbr>com/<wbr>x8zW= LgYf</a><br></div><div class=3D"sh-color-black sh-color"><br></div><div cla= ss=3D"sh-color-black sh-color">It seems to happen more often when there is = significant load. In this case, I was running an 8 worker web server in a v= term=C2=A0in Emacs and a set of 8 parallel UI tests against it. The server = was printing log messages at a rapid rate, but that vterm=C2=A0buffer was n= ot visible.</div></div><div class=3D"sh-color-black sh-color"></div><br><di= v class=3D"gmail_signature sh-color-black sh-color"><div class=3D"sh-color-= black sh-color"><br>Aaron</div></div></div></div></div></blockquote></div><= /div><br></div></body></html> --00000000000062d5af06306c4d7c--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at 77039) by debbugs.gnu.org; 15 Mar 2025 16:49:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 12:49:16 2025 Received: from localhost ([127.0.0.1]:43337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttUhI-0002pO-5j for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:49:16 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:47313) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttUhF-0002p1-2w for 77039 <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:49:14 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-30613802a04so34128761fa.2 for <77039 <at> debbugs.gnu.org>; Sat, 15 Mar 2025 09:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742057345; x=1742662145; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=i/Pj2FVcjVIjPzMjBkddET1XRiReOF2fPfUATpsBZn0=; b=Dj2MpKPaRlUceCMExk7SHH/qmERDkukKeFRqMyHhaDNq2UaDWzQloJ7Rd/j+xUPRbY 1nuV1Fxr3lPQi0PW3JkSIO85e8azpOPWTzWhtX2SiUn//8BBRX8XH9p0lTogccDHdRxd 6qGvdAHqdra9T6t+jgjHrXgq8BEP3pluCUwXCKHNu+i2xuk+Otue0Ne9SeH51xibw4yT P3+mS+tQq2cja+aVsqq77yvnmL6fAEF7O/mxhivh6mcTZyzp9gPAzFjO/4vQrCc4w+95 lsbpExwN4MghSN9WJ8vX+MGl8IZCeFxd71HCae30Tu/5Y3t1ZDcakYE5uMz/Sw3rWBcz 00Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742057345; x=1742662145; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=i/Pj2FVcjVIjPzMjBkddET1XRiReOF2fPfUATpsBZn0=; b=Y4AuSPRbMD16N4Fudzs6VISgwuSzwwplj0gRt6x47zBF2IGnD8DVeTzjjlJwXvw8gs a39i1lSUhuVTZLKVwpBWLTIqYSW7YbOkDa14ZPmztkNS8IftJbrUzy4c8133RYnAO58C W0FryYwIQPLKwqwzKJNBcBP4cD6HRAiC91t7JPkIOVY+IsVRWYpDJxQajhctFLp7wULA x3zRdxNullljlMor/MenCpodC3GnddLrpNzJHE71t+D99oi2QSiqPhnYTpmarkHQQ3G3 AIug/9yw3qeh+utm/WmWQkEldP3VXUEV6vszsGAzwdMyH8+unk+PJUdQXheWEsjkFfiB H6kg== X-Gm-Message-State: AOJu0Yxrh3aZ9r7+PaFk8Xq+dZKpGIzlMhk/agcQLgldPR/2w8WDiVvw xXaAgo0D8rqi4uGWEL9/NZyiswvj/sv/274Cy5NUZKvtSXEE7iUdB6Wgs3BJ5bvEJciIE0erErZ IvIefkJySguJnlIbNoDnx4pq0HSLy0Q== X-Gm-Gg: ASbGncvnFDGSmIDVkhxsM6LlTdAuyHRAsgcivruPQ6fSRZt7VqSd+xA04OxyQ7WB6ss rrbyVSSyJ8UXDs85on8652oMvy9iPbw3gBNiz93BlNO/5/ElxyIFbUH34+7iB85MxzIkewSHJCZ ZVk2pfYtf1+aw91HZLVcgwvm6Ll2ga692KhoGaLidVJLIg8ypG8g== X-Google-Smtp-Source: AGHT+IFes4aH96F62jw7u0kxTJWUDqpwvl3pTIrM+ifaAIfqtuMLUQHxcwjnKeZz9kb5sujcNNLgU7ueFarQFW9UVLk= X-Received: by 2002:a05:651c:b14:b0:30b:b987:b676 with SMTP id 38308e7fff4ca-30c4a754753mr24135311fa.2.1742057344637; Sat, 15 Mar 2025 09:49:04 -0700 (PDT) Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 15 Mar 2025 16:49:03 +0000 Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Sat, 15 Mar 2025 16:49:03 +0000 Mime-Version: 1.0 X-Entity-Ref-ID: m8afy954.0df369e8-6c9a-4d42-a316-fd6d8367d159 X-Mailer: Superhuman Desktop (2025-03-14T21:48:50Z) X-Superhuman-ID: m8afy954.0df369e8-6c9a-4d42-a316-fd6d8367d159 X-Superhuman-Draft-ID: draft005e9341c7f35174 X-Superhuman-Thread-ID: draft004408018292098a From: Aaron Jensen <aaronjensen@HIDDEN> Date: Sat, 15 Mar 2025 16:49:03 +0000 X-Gm-Features: AQ5f1JriuP59m8FngxC-2bNyRzwdgHYEfLbqRSCULKlQq7WAKhBm7j3wMf-nCB0 Message-ID: <CAHyO48zt4bWo+2bGFDMrXdwD-aWVzpkCuRJncHm0ey=o3mhBPw@HIDDEN> Subject: Re: 31.0.50; Flickering on macOS To: 77039 <at> debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000034a37306306455be" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77039 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000034a37306306455be Content-Type: text/plain; charset="UTF-8" Here's a video clip: https://share.cleanshot.com/x8zWLgYf It seems to happen more often when there is significant load. In this case, I was running an 8 worker web server in a vterm in Emacs and a set of 8 parallel UI tests against it. The server was printing log messages at a rapid rate, but that vterm buffer was not visible. Aaron --00000000000034a37306306455be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html><head></head><body><div><div><div class=3D"">Here's a video clip:= =C2=A0<a href=3D"https://share.cleanshot.com/x8zWLgYf">https://share.cleans= hot.com/x8zWLgYf</a><br></div><div class=3D""><br></div><div class=3D"">It = seems to happen more often when there is significant load. In this case, I = was running an 8 worker web server in a vterm=C2=A0in Emacs and a set of 8 = parallel UI tests against it. The server was printing log messages at a rap= id rate, but that vterm=C2=A0buffer was not visible.</div></div><div></div>= <br><div class=3D"gmail_signature"><div><br>Aaron</div><br></div></div></bo= dy></html> --00000000000034a37306306455be--
bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Mar 2025 16:42:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 15 12:42:07 2025 Received: from localhost ([127.0.0.1]:43323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ttUaL-0002Ic-TE for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:42:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:44620) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <aaronjensen@HIDDEN>) id 1ttUaG-0002HO-7p for submit <at> debbugs.gnu.org; Sat, 15 Mar 2025 12:42:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>) id 1ttUa4-00014f-1g for bug-gnu-emacs@HIDDEN; Sat, 15 Mar 2025 12:41:49 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>) id 1ttUa1-0003Xc-6U for bug-gnu-emacs@HIDDEN; Sat, 15 Mar 2025 12:41:47 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2241053582dso3017715ad.1 for <bug-gnu-emacs@HIDDEN>; Sat, 15 Mar 2025 09:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742056902; x=1742661702; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=KJEhZCsFoe1dCKQsUTZ/DQ+4KLJ9JY7XeREZ8zVW6nY=; b=Pt3L8WfsBBU5uvqGuoeVHX0AuuvDeweQgArq7EBg/KlHeVL8fIkTwn6seMbi6OmdDW 8hDGIvfgq2ZQifLyhNj9IjggCg4sSby9barP7MzT08AanJMpSzHLbS12rMzjRY6mEX6A J72XYGwI3NqbeD+xmSv9C7LjqkWglLf8Jylo91S8poqqTcfvIdwE3K+TE7MOFbBpEi7e Bl2x6ech824Q10POFrBe2CEDafqNC2tQnB8+LWWP5IXnnOVSNPTslH/inbq2sZHFfQKc LnbmatBiSvNuSFuAMh+7UtdT4VG/l8LFuR50345whNIO5E7v5I/iB6SlUPD3AZbOdRi1 XUgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742056902; x=1742661702; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KJEhZCsFoe1dCKQsUTZ/DQ+4KLJ9JY7XeREZ8zVW6nY=; b=EwMGYBK/RdngCeUZckzHMKfDWsI3NTHeuBQhDAEgS4E4D+ftpB4+yXVzcHdm9+ShFO pG7YwG7hIt03u6iriCqHeoXjVjuLitmBEQCWZibHDOWF7StFQ8jzI8M4Z5LwhaY3wiRE 3EgfEI78r8tVspCbK6fcAfzsIKparXcZUMFPOvg6JjsLdZzYVOxiOoXLasevxqypyxSR qxTZYLon8xkgFy7yeRsFa8fJI75ImqIDBDwVrIsne9puOBcXk72EhruJUHbMbu1q1JJg 8sML1i+jW0LN59yLr4qQsAY6EAM6iPrXUY13crXG6kofzAf/zcG3FB/2FghICyW9d25P aSEA== X-Gm-Message-State: AOJu0Yxqefo6gLgm0ONMEA+lE1e2mb2uVGpJ7E4bo3RpkdqSVqyNNOAr 1KWLk4k6eGpmWLdr3Nq+ZZ0oYz3ukVeYQIudNV98ev622zh9DevlNonGSg== X-Gm-Gg: ASbGncuHD+PDSfYmCknLa+U4SWBYgxFfB3K5VC3lD6Qv04CjmUk/S8AgfQmJPyrhBOW 4nr6OKX8VYHsrfZEl0m1UYKd5WFHV7Cw3Z8f1PWjvh+VTE6v25rDuvS1SvLwpxo+aql7+Yjq+kJ NWeQ42H+aSdLXPQIsIAGU0e+ZWMz0xidUL+8Dsmo4WfaqKHDfoh/S9BeiRgA6N+Y60Prsns0MW3 LJv10vKJ30oOLIMFCjL0QcYTx2nVo5yaC0tI/fq0cndCSVqhXexp0yFE7B+JwTLZ+z2ql2ulq2k ves4XdOH/2Njz6oGlaxFgJTzdCREE1YsTLfqA8mZTDUJHwOCEmwEW0M0KCOEdNw0+MBoRbYS2iu 2jSzLqc6ZGo0Eu3s0YoIJbFmJUvtLiuvWmY+C X-Google-Smtp-Source: AGHT+IHDIPU7xDpEYLl2YXFF/SeX4gmg5X1t9Mc86giSIFGPnWNeWna0ca+v1NCXkStHOhrAq6hWmQ== X-Received: by 2002:a17:903:238b:b0:223:6180:1bf7 with SMTP id d9443c01a7336-225e0b2fba7mr80423985ad.42.1742056901332; Sat, 15 Mar 2025 09:41:41 -0700 (PDT) Received: from Aarons-MacBook-Pro-3.local (c-76-146-4-139.hsd1.wa.comcast.net. [76.146.4.139]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c6bbca45sm46161225ad.166.2025.03.15.09.41.39 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Mar 2025 09:41:40 -0700 (PDT) From: Aaron Jensen <aaronjensen@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; Flickering on macOS X-Debbugs-Cc: Date: Sat, 15 Mar 2025 09:41:38 -0700 Message-ID: <m2y0x6qm9p.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=aaronjensen@HIDDEN; helo=mail-pl1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) I have been using Emacs 31 since the version was increased on master. In the last few monthns I have noticed that there is occasional flickering where the text will not render and the background will be visible. This only happens in a part of the window and not the entire window. It seems to get worse the longer Emacs is open and it seems to only occur in certain buffers or windows. I cannot consistently reproduce it and sometimes it takes hours of Emacs being open for it to start happening so it's challenging to bisect. I don't know if there have been any changes to the rendering code recently that could potentially cause this. I'm wondering about the recent child frame changes to make them compatible with the terminal. I make heavy use of child frames for text completions and other things. Is it possible that that is related? I don't think there have been many macOS specific changes recently. I'll send more information as I get it, but I wanted to report this in case anyone had any ideas. In GNU Emacs 31.0.50 (build 2, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3.2 (Build 24D81)) of 2025-03-15 built on Aarons-MacBook-Pro-3.local Repository revision: 3860562a715b8ba7b727f7831e06ce5a0e676784 Repository branch: master Windowing system distributor 'Apple', version 10.3.2575 System Description: macOS 15.3.2 Configured using: 'configure --with-ns --with-native-compilation --with-modules --without-dbus --without-webp --with-xml2 --with-gnutls --disable-ns-self-contained' Configured features: ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS TREE_SITTER XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: xterm-mouse-mode: t pdf-occur-global-minor-mode: t eval-sexp-fu-flash-mode: t magit-delta-mode: t global-flycheck-mode: t consult-notes-denote-mode: t denote-rename-buffer-mode: t denote-menu-bar-mode: t windmove-mode: t corfu-prescient-mode: t corfu-history-mode: t which-key-posframe-mode: t which-key-mode: t global-anzu-mode: t anzu-mode: t global-evil-mc-mode: t global-evil-surround-mode: t evil-surround-mode: t global-git-commit-mode: t global-auto-revert-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: t treemacs-fringe-indicator-mode: t ns-auto-titlebar-mode: t recentf-mode: t repeat-mode: t gcmh-mode: t undo-fu-session-global-mode: t ws-butler-global-mode: t save-place-mode: t tabspaces-mode: t savehist-mode: t delete-selection-mode: t yas-global-mode: t yas-minor-mode: t vertico-prescient-mode: t prescient-persist-mode: t vertico-mouse-mode: t vertico-mode: t mini-frame-mode: t better-jumper-mode: t modern-tab-bar-mode: t +popup-mode: t evil-mode: t evil-local-mode: t server-mode: t leader-key-leader-override-mode: t global-leader-key-leader-override-mode: t elpaca-use-package-mode: t override-global-mode: t global-display-line-numbers-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-history-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /Users/aaronjensen/.emacs.d/elpaca/builds/lispy/elpa hides /Users/aaronjensen/.emacs.d/elpaca/builds/ivy/elpa /Users/aaronjensen/.emacs.d/elpaca/builds/transient/transient hides /Users/aaronjensen/Source/emacs/lisp/transient Features: (shadow sort mail-extr emacsbug lisp-mnt tramp-cmds vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference org-capture evil-collection-dired typescript-ts-mode lsp-diagnostics lsp-modeline lsp-icons lsp-lens lsp-zig lsp-yang lsp-yaml lsp-xml lsp-wgsl lsp-volar lsp-vimscript lsp-vhdl lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v lsp-typespec lsp-typeprof lsp-ttcn3 lsp-ts-query lsp-trunk lsp-toml lsp-tilt lsp-tex lsp-terraform lsp-svelte lsp-steep lsp-sqls lsp-sql lsp-sorbet lsp-solidity lsp-solargraph lsp-semgrep lsp-rust lsp-ruff lsp-ruby-syntax-tree lsp-ruby-lsp lsp-rubocop lsp-roslyn lsp-roc lsp-rf lsp-remark lsp-racket lsp-r lsp-qml lsp-pylsp lsp-pyls lsp-pwsh lsp-purescript lsp-pls lsp-php lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-nushell lsp-nix lsp-nim lsp-nginx lsp-nextflow lsp-move lsp-mojo lsp-mint lsp-meson lsp-mdx lsp-matlab lsp-marksman lsp-markdown lsp-magik lsp-fennel lsp-lua lsp-lisp lsp-kubernetes-helm lsp-kotlin lsp-json lsp-jq lsp-javascript lsp-idris lsp-haxe lsp-hack lsp-groovy lsp-graphql lsp-golangci-lint lsp-glsl lsp-gleam lsp-gdscript lsp-fsharp lsp-futhark lsp-fortran lsp-eslint lsp-erlang lsp-emmet lsp-elm lsp-elixir lsp-earthly lsp-dockerfile lsp-dhall lsp-d lsp-cypher lsp-cucumber lsp-copilot lsp-css lsp-c3 lsp-csharp lsp-crystal lsp-credo lsp-cobol lsp-cmake lsp-clojure lsp-clangd lsp-bufls lsp-go lsp-completion lsp-beancount lsp-bash lsp-awk lsp-autotools lsp-astro lsp-asm lsp-ansible lsp-angular lsp-ada lsp-semantic-tokens lsp-actionscript dabbrev elec-pair tab-line popup-mode-core diary-lib diary-loaddefs org-indent oc-basic ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win ol-docview doc-view ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi magit-extras flyspell ispell visual-wrap vertico-directory xt-mouse swiper ivy ivy-faces ivy-overlay colir iedit iedit-lib hide-mode-line goto-chg cfrs elysium gptel-ollama gptel gptel-openai copy-as-format tabify evil-collection-pdf pdf-history pdf-occur ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag cedet pdf-isearch let-alist pdf-misc pdf-loader pdf-tools pdf-view jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif evil-collection-restclient restclient dumb-jump popup haml-mode css-mode eww vtable url-queue shr pixel-fill kinsoku url-file svg xml mm-url gnus nnheader range emmet-mode terraform-mode hcl-mode dockerfile-mode yaml-mode json-mode json-snatcher js c-ts-common cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine grip-mode lua-mode ruby-refactor bundler inf-ruby ruby-mode evil-ruby-text-objects sotlisp skeleton elisp-def ert lispyville lispy hydra lispy-inline etags fileloop lispy-tags zoutline eros eval-sexp-fu web-mode ripgrep-capf git-link consult-git-commit evil-collection-git-timemachine git-timemachine magit-delta prettier editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch nvm iter2 lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline flycheck lsp-ui-util lsp-mode lsp-protocol spinner network-stream markdown-mode lv ewoc consult-notes-denote consult-notes denote-rename-buffer denote imenu-list hideshow org-superstar org-pandoc-import gnuplot org-journal org-crypt cal-iso orgonomic org-drill persist org-appear org-mac-link org-goto embark-org org-download url-http url-auth url-gw nsm async evil-org-agenda evil-org ob-shell ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-ascii ox-gfm ox-md ox-html table ox-publish ox org-attach org-element org-persist org-id org-refile org-element-ast avl-tree generator org-tempo tempo org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete org-list org-footnote org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs cal-menu calendar cal-loaddefs org-compat org-macs evil-terminal-cursor-changer ace-window buffer-move windmove rotate embark-consult embark ffap consult cape corfu-prescient corfu-history evil-collection-corfu corfu which-key-posframe evil-collection-which-key which-key evil-anzu anzu titlecase titlecase-data wgrep grep avy form-feed dtrt-indent evil-mc evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands evil-mc-common evil-numbers speeddating evil-matchit evil-matchit-evil-setup evil-matchit-sdk semantic/lex semantic/fw mode-local evil-nerd-commenter evil-nerd-commenter-operator evil-nerd-commenter-sdk sgml-mode facemenu dom evil-visualstar evil-surround evil-collection-vundo vundo evil-collection-ztree ztree ztree-diff ztree-diff-model ztree-dir ztree-view ztree-protocol ztree-util dwim-shell-commands proced dwim-shell-command view evil-collection-magit treemacs-magit magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit package url-handlers magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff git-commit log-edit message sendmail yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor magit-mode browse-url benchmark magit-git magit-base magit-section cursor-sensor crm llama treemacs-evil treemacs-tab-bar treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-bookmarks treemacs-tags evil-collection-xref xref treemacs-interface treemacs-persistence treemacs-filewatch-mode filenotify treemacs-follow-mode treemacs-rendering treemacs-annotations treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator pulse treemacs-faces treemacs-icons treemacs-scope treemacs-themes treemacs-core-utils pfuture inline hl-line ht treemacs-logging treemacs-customization treemacs-macros all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons rainbow-mode xterm-color posframe ns-auto-titlebar envrc inheritenv evil-collection-helpful helpful cc-langs cc-vars cc-defs trace cl-print evil-collection-edebug edebug evil-collection-debug debug backtrace info-look info f help-fns radix-tree elisp-refs s dired-subtree dired-hacks-utils dired-aux dash recentf tree-widget repeat gcmh undo-fu-session ws-butler saveplace tabspaces dired-x vc savehist delsel yasnippet vertico-prescient prescient char-fold vertico-mouse vertico mini-frame better-jumper advice popup-mode-hacks aidermacs aidermacs-models aidermacs-backends aidermacs-backend-vterm evil-collection-vterm vterm bookmark color term ehelp find-func vterm-module term/xterm xterm aidermacs-backend-comint tramp trampver tramp-integration tramp-message tramp-compat xdg shell pcomplete parse-time iso8601 tramp-loaddefs which-func imenu vc-git diff-mode track-changes files-x vc-dispatcher evil-collection-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util dired dired-loaddefs transient format-spec orderless modern-tab-bar popup-mode popup-mode-settings evil-collection-elpaca evil-collection annalist evil-little-word cus-edit cus-start cus-load wid-edit pp evil evil-integration evil-maps evil-commands reveal evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core project evil-common thingatpt rect evil-vars memoize nano-modeline nano-theme face-remap nano-theme-support disp-table gcmh-autoloads elysium-autoloads gptel-autoloads aidermacs-autoloads copy-as-format-autoloads pdf-tools-autoloads tablist-autoloads restclient-autoloads vterm-autoloads dumb-jump-autoloads popup-autoloads haml-mode-autoloads emmet-mode-autoloads terraform-mode-autoloads hcl-mode-autoloads dockerfile-mode-autoloads yaml-mode-autoloads json-mode-autoloads json-snatcher-autoloads grip-mode-autoloads lua-mode-autoloads bundler-autoloads inf-ruby-autoloads ruby-refactor-autoloads evil-ruby-text-objects-autoloads sotlisp-autoloads elisp-def-autoloads lispyville-autoloads lispy-autoloads iedit-autoloads swiper-autoloads ivy-autoloads zoutline-autoloads eros-autoloads eval-sexp-fu-autoloads web-mode-autoloads ripgrep-capf-autoloads git-link-autoloads consult-git-commit-autoloads git-timemachine-autoloads magit-delta-autoloads xterm-color-autoloads prettier-autoloads iter2-autoloads nvm-autoloads flycheck-autoloads lsp-ui-autoloads lsp-mode-autoloads spinner-autoloads markdown-mode-autoloads consult-notes-autoloads denote-autoloads imenu-list-autoloads org-superstar-autoloads ox-gfm-autoloads org-pandoc-import-autoloads gnuplot-autoloads org-download-autoloads async-autoloads org-journal-autoloads orgonomic-autoloads org-drill-autoloads persist-autoloads org-appear-autoloads org-mac-link-autoloads evil-org-autoloads evil-terminal-cursor-changer-autoloads better-jumper-autoloads buffer-move-autoloads rotate-autoloads mini-frame-autoloads embark-consult-autoloads embark-autoloads consult-autoloads orderless-autoloads cape-autoloads corfu-prescient-autoloads corfu-autoloads vertico-prescient-autoloads vertico-autoloads prescient-autoloads tabspaces-autoloads modern-tab-bar-autoloads which-key-posframe-autoloads popup-mode-autoloads hide-mode-line-autoloads evil-anzu-autoloads anzu-autoloads titlecase-autoloads wgrep-autoloads yasnippet-autoloads form-feed-autoloads dtrt-indent-autoloads ws-butler-autoloads evil-collection-autoloads annalist-autoloads evil-mc-autoloads evil-numbers-autoloads speeddating-autoloads evil-little-word-autoloads evil-matchit-autoloads evil-nerd-commenter-autoloads evil-visualstar-autoloads evil-surround-autoloads vundo-autoloads undo-fu-session-autoloads ztree-autoloads dwim-shell-command-autoloads treemacs-tab-bar-autoloads treemacs-magit-autoloads magit-autoloads magit-section-autoloads llama-autoloads transient-autoloads with-editor-autoloads treemacs-evil-autoloads evil-autoloads goto-chg-autoloads treemacs-autoloads ace-window-autoloads avy-autoloads pfuture-autoloads hydra-autoloads lv-autoloads ht-autoloads cfrs-autoloads all-the-icons-autoloads rainbow-mode-autoloads posframe-autoloads ns-auto-titlebar-autoloads nano-modeline-autoloads nano-theme-autoloads memoize-autoloads envrc-autoloads inheritenv-autoloads helpful-autoloads f-autoloads elisp-refs-autoloads s-autoloads dired-subtree-autoloads dired-hacks-utils-autoloads dash-autoloads server pcase edmacro kmacro compdef derived compdef-autoloads leader-key bind-map leader-key-autoloads bind-map-autoloads no-littering compat no-littering-autoloads elpaca-use-package use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core elpaca-use-package-autoloads compile text-property-search comint ansi-osc ansi-color ring time-date comp-run literate-config literate-config-autoloads elpaca-log elpaca-ui elpaca-menu-elpa elpaca-menu-melpa url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core cl-macs password-cache json map byte-opt url-vars mailcap elpaca-menu-org elpaca elpaca-process elpaca-autoloads comp cl-seq comp-cstr comp-common warnings subr-x rx gv bytecomp byte-compile cl-extra help-mode icons cl-loaddefs cl-lib display-line-numbers rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns lcms2 multi-tty make-network-process tty-child-frames native-compile emacs) Memory information: ((conses 16 2238502 3433019) (symbols 48 87339 26) (strings 32 653723 387319) (string-bytes 1 16855963) (vectors 16 290916) (vector-slots 8 3770891 910650) (floats 8 3361 4370) (intervals 56 25266 4815) (buffers 992 74))
Aaron Jensen <aaronjensen@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77039
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.