From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitrii Kuragin via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57434: 28.1.91; Terminal Emacs Mac OS flickering. Date: Thu, 1 Sep 2022 05:32:47 -0700 Message-ID: References: <838rn6x4h2.fsf@gnu.org> <834jxux3kd.fsf@gnu.org> <831qsyx2lr.fsf@gnu.org> <142be6aa-f25f-fad2-5597-6e02b0e3e4f6@gmail.com> <8335dcu0sg.fsf@gnu.org> <83mtbks7mo.fsf@gnu.org> <838rn3sjwx.fsf@gnu.org> <835yi7sdqf.fsf@gnu.org> <8335dbs55b.fsf@gnu.org> Reply-To: Dmitrii Kuragin Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003e77f405e79cd038" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34596"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , 57434@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 01 14:48:40 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTjce-0008mS-Is for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Sep 2022 14:48:40 +0200 Original-Received: from localhost ([::1]:49478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTjcd-00062j-HL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Sep 2022 08:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTjOV-0001oF-CZ for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 08:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTjOV-0001ki-35 for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 08:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oTjOT-0003iv-MU for bug-gnu-emacs@gnu.org; Thu, 01 Sep 2022 08:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitrii Kuragin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Sep 2022 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57434 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57434-submit@debbugs.gnu.org id=B57434.166203558714246 (code B ref 57434); Thu, 01 Sep 2022 12:34:01 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 1 Sep 2022 12:33:07 +0000 Original-Received: from localhost ([127.0.0.1]:41489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTjNb-0003hi-CV for submit@debbugs.gnu.org; Thu, 01 Sep 2022 08:33:07 -0400 Original-Received: from mail-yb1-f176.google.com ([209.85.219.176]:37569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oTjNY-0003hD-UA for 57434@debbugs.gnu.org; Thu, 01 Sep 2022 08:33:05 -0400 Original-Received: by mail-yb1-f176.google.com with SMTP id t184so8376405yba.4 for <57434@debbugs.gnu.org>; Thu, 01 Sep 2022 05:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=XmHYJeAnpM50+01m1u4etQE3Q0AYEvJl2a674SaiWiY=; b=BzED+VdFkX+SrZIDb5H9E4D7zxDtkjJrY9T7ecOgdKNg4CKplZwlBewZ4u2oHVqYS5 aGA2oxRdrjRYv11tXh8sRcBoltiI9/KKa2ZAjF+cmVEck704gxO4N4nQdNtHPRMmf+0r dWkzwktC2/wV9FwBZ0IHskLzt1xN6KL/MC8bPtBNYA7/1ZJU5877OQkKmLUE4CrQYYHR tNvXo29IO00CHHI6HTumJOwL/K+ws3R17huH6CALiBQm6cvr+0hyqVWkaSofm4tpuohq 93GTdI58UzPPLI5aETjc66uncLXPm5z5Ji7tfDsAqCOBNGIPGE+XxMgssENKISH1QGIj ESWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=XmHYJeAnpM50+01m1u4etQE3Q0AYEvJl2a674SaiWiY=; b=RdSVgUlxXbG9+Xx8I0Hc+ggGq+rPXqvUvw70sFBSDymzwZ2/ol71oogHJtsst1XYcu qt/ZN3D0ThPM4PX4XsStaoxmr45ESvpKvZPM+brpWDz9bquCeZFCUU6lyJxXwwZnIzbY Mu1Vk/qxPgWxhDjS6EK+buEiUY3aYzAVRvXh1OR6PTPR1mL2hlfaJxFdqx6k/z/U3vrX AzaEEjF+6+MLTKUZeAmdAxy0D5lJBpBoxJtVWso/p0krrf13CrDDc+mUrkQqC69lyX2F LcbL/Z23Obmdqu1j90ZcCfYjuWXFTBippJMUqZiBa9Z3QiWqskNls0+ubNYf0KXhe21M fi5g== X-Gm-Message-State: ACgBeo2wKIPAjPni5EPiI7iua4A+OJ07cdphldatm7YZhIHbbvfBX5mt 3m9mIaJbTMU1FaH6jLQHAb9t2FxvvY9cL8/DSuSf2g== X-Google-Smtp-Source: AA6agR4goAs9G0Oef4HqVHqyKuJo3wG4UyqtH7MRiiC7Kn5p7VIlRcxpbNsGG7lSfTDzmyhYYk83IcZkzhepf42kg74= X-Received: by 2002:a25:aa93:0:b0:695:7eb1:1929 with SMTP id t19-20020a25aa93000000b006957eb11929mr17459224ybi.63.1662035578189; Thu, 01 Sep 2022 05:32:58 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241258 Archived-At: --0000000000003e77f405e79cd038 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry, I completely misunderstood it. I actually wasn't able to reproduce flickering on Terminal.app, only on Alacritty. I need a bit more rest :) On Thu, Sep 1, 2022 at 5:27 AM Dmitrii Kuragin wrote: > Thank you for digging deeper into this! There is a lot of useful > information. But, > Here's a video of flickering https://youtu.be/Is2ebMXjhxg: > - Different MacBook (2019 I believe). > - Terminal.app (The one which comes as a standard). > - Simplest Emacs from http://emacsformacosx.com/ > - No tmux. > - No advanced user customizations (it is not my laptop). > - Only display-line-numbers-mode is enabled with 'visual type. > > It is definitely not attached to Alacritty, but probably the same issue > with refresh vs frame rate updates. > > On Thu, Sep 1, 2022 at 4:30 AM Eli Zaretskii wrote: > >> > From: Gerd M=C3=B6llmann >> > Cc: kuragin@google.com, 57434@debbugs.gnu.org >> > Date: Thu, 01 Sep 2022 10:56:35 +0200 >> > >> > Eli Zaretskii writes: >> > >> > > I'm not sure I understand: what would the user send to the terminal = in >> > > those hooks? >> > >> > They would send the begin-update/end-update control sequences. That >> > would be ESC P in the one proposal I mentioned. >> > >> > It would of course be better if we could do that automatically. >> >> Exactly. I don't think it's reasonable to expect users to figure out >> what and when to send if we cannot figure that out ourselves. >> > > > -- > *If you get an email from me outside of the 9-5 it is *not* because I'm > always on or expect an immediate response from you; it is because of work > flexibility > > . Evening and weekend emails are a sign I allocated some regular working > hours for other things (such as family, gym, friends,...). And I encoura= ge > you to feel free to do the same. > > --=20 *If you get an email from me outside of the 9-5 it is *not* because I'm always on or expect an immediate response from you; it is because of work flexibility . Evening and weekend emails are a sign I allocated some regular working hours for other things (such as family, gym, friends,...). And I encourage you to feel free to do the same. --0000000000003e77f405e79cd038 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry, I completely misunderstood it.=C2=A0
I actually wasn't able to reproduce flickering on Terminal.ap= p, only on Alacritty.

I need a bit more rest :)=C2=A0=

On Thu, Sep 1, 2022 at 5:27 AM Dmitrii Kuragin <kuragin@google.com> wrote:
Thank you for dig= ging deeper into this! There is a lot of useful information. But,
H= ere's a video of flickering=C2=A0https://youtu.be/Is2ebMXjhxg:
=C2=A0- Diff= erent MacBook=C2=A0(2019 I believe).
=C2=A0- Terminal.app (The one = which comes as a standard).
=C2=A0- Simplest Emacs from=C2=A0http://emacsformacosx.co= m/
=C2=A0- No tmux.
=C2=A0- No advanced user customizat= ions (it is not my laptop).
=C2=A0- Only display-line-numbers-mode = is enabled with 'visual type.

It is definitely= =C2=A0not attached to Alacritty, but probably the same issue with refresh v= s frame rate updates.

On Thu, Sep 1, 2022 at 4:30 AM Eli Zaretskii <= ;eliz@gnu.org> wro= te:
> From: G= erd M=C3=B6llmann <gerd.moellmann@gmail.com>
> Cc: kuragin@go= ogle.com,=C2=A0 57434@debbugs.gnu.org
> Date: Thu, 01 Sep 2022 10:56:35 +0200
>
> Eli Zaretskii <el= iz@gnu.org> writes:
>
> > I'm not sure I understand: what would the user send to the te= rminal in
> > those hooks?
>
> They would send the begin-update/end-update control sequences.=C2=A0 T= hat
> would be ESC P <something> in the one proposal I mentioned.
>
> It would of course be better if we could do that automatically.

Exactly.=C2=A0 I don't think it's reasonable to expect users to fig= ure out
what and when to send if we cannot figure that out ourselves.


--
*If yo= u get an email from me outside of the 9-5 it is=C2=A0not=C2=A0becaus= e I'm always on or expect an immediate response from you; it is because= of=C2=A0work flexibility.=C2= =A0=C2=A0Evening and weekend emails= are a sign I allocated some regular working hours for other things (such a= s family, gym, friends,...).=C2=A0 And I encourage you to feel free to do t= he same.



--
*If you get an email from me outside of the 9-5 it is=C2= =A0not=C2=A0because I'm always on or expect an immediate respons= e from you; it is because of=C2=A0<= a href=3D"http://www.inc.com/john-boitnott/how-flexible-hours-can-create-a-= better-work-life-balance.html" style=3D"color:rgb(17,85,204)" target=3D"_bl= ank">work flexibility.=C2=A0=C2=A0= Evening and weekend emails are a sign I allocated some regular working hour= s for other things (such as family, gym, friends,...).=C2=A0 And I encourag= e you to feel free to do the same.

--0000000000003e77f405e79cd038--