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: Sat, 3 Sep 2022 09:35:09 -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> <837d2mqm98.fsf@gnu.org> <8335daqlsa.fsf@gnu.org> <83k06komhi.fsf@gnu.org> Reply-To: Dmitrii Kuragin Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c0e25d05e7c86e66" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="416"; 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 Sat Sep 03 18:36:22 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 1oUW86-000AXY-0a for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 18:36:22 +0200 Original-Received: from localhost ([::1]:39386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUW84-0001W4-RK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 12:36:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUW7m-0001VX-Kk for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:36:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUW7m-0001Tc-CX for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUW7l-00040D-WF for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitrii Kuragin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 16:36: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.166222292815341 (code B ref 57434); Sat, 03 Sep 2022 16:36:01 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 3 Sep 2022 16:35:28 +0000 Original-Received: from localhost ([127.0.0.1]:42709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUW7E-0003zM-1u for submit@debbugs.gnu.org; Sat, 03 Sep 2022 12:35:28 -0400 Original-Received: from mail-yw1-f172.google.com ([209.85.128.172]:39845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUW7C-0003z9-T1 for 57434@debbugs.gnu.org; Sat, 03 Sep 2022 12:35:27 -0400 Original-Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-3376851fe13so40112497b3.6 for <57434@debbugs.gnu.org>; Sat, 03 Sep 2022 09:35:26 -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=qu5ljrCj+cNy2emXlScLRtiMF9wYgDfH5Wt9GgPTkL0=; b=jwfy3AjvuFjcR7e6KBOYkOOPx+bFD8wZ3TFsjqtD65gz8I54cG/zztfbAjK9D1LQ1h 39PhgUXeCqyfovdAv8k51PyYCGWUMOAmsiQpbXJSdGPaX4yhitu69xiiuVqHwTq4Xen+ c3ai1Qjb3ZZPSWHyemwJWlJXvH7NQW6OchEmQbMw0h8RTfpAbYcj9q6BJjB1C1CzZfPh ie4yethaWm7MuGJXXxxd2dRd97AR7XY0intWnsmia2Soyesfk+67pX5pz9G7G+cxILoN z2KlaYKQCS/2cHnwj6X/pvSM0HfCDRKrBpZQrXsLMfNNaiiBQwAbuD5wI+9JYpyDDGo9 13tQ== 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=qu5ljrCj+cNy2emXlScLRtiMF9wYgDfH5Wt9GgPTkL0=; b=CHoBdHscy8nWFAWu613IjipBZmZXikJYYwyJFu6pMySf8mU33qiiVjEjRDPlUvFfLh S9vv+095ln+B3CW2q5oc3hypV391VS/Wqe8oeryG1/mYLIGiY0St6CV95vWeOUQRk4bN SqhWurVVP2ExUD76h8mL6nnmQzLkWxfyS7aRT2gAaQOYPyg0mVsL99cgFZX2Y6fhTOwJ h9L9Qd+95FJ3PTaJiGsTA6TFEj8g8DyGiOLxA6xI+I8iLtL6CI2wPpJhHpA6AmkjHGBC /sR8b9wQoMswF8t1IlKOv53zVSexxqOHib2lcsdxMkBU3RYF7rf9kTD6BwdZydzEb7kK pTzQ== X-Gm-Message-State: ACgBeo2HEr30hBxvYs73y/Jc3Us1KlqrOrZQnut5FwF5g84beHikYjXs zg5b2pFb3Q+jse0Ci6yqNN8waAlL+zL8n5d0zH2wog== X-Google-Smtp-Source: AA6agR6cm2f4DRniVqo5tNkyGHFEYAjhyAmYmyYx94gCdwOgnSFlTYg1YvLz8G4treidM3RSzByi9uSiusS97QBBrZo= X-Received: by 2002:a81:4d07:0:b0:337:6851:c92f with SMTP id a7-20020a814d07000000b003376851c92fmr33052356ywb.416.1662222921134; Sat, 03 Sep 2022 09:35:21 -0700 (PDT) In-Reply-To: <83k06komhi.fsf@gnu.org> 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:241427 Archived-At: --000000000000c0e25d05e7c86e66 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for all the findings, I was already working on an implementation :) I didn't dig too deep but it worked somehow. I was stuck on the support of tmux, maybe I misconfigured the tmux or I didn't have to use DCS escapes. I will try to figure this out. BTW, the compilation on master fails w/: ``` debug-early(error (error "Keyword argument :inhibit-native-compile not one of (:version :inhibit-provide :coding :autoloads :compile :provide)")) ``` On Sat, Sep 3, 2022 at 2:07 AM Eli Zaretskii wrote: > > From: Gerd M=C3=B6llmann > > Cc: kuragin@google.com, 57434@debbugs.gnu.org > > Date: Sat, 03 Sep 2022 10:04:14 +0200 > > > > Gerd M=C3=B6llmann writes: > > > > > Eli Zaretskii writes: > > > > > >> Actually, I think we'll need one more small change. These hooks are > > >> called from update_begin and update_end like this: > > > > > > Dmitrii, do you want to try implementing that? > > > > Searching the web for "emacs synchronized updates" turned up this patch= , > > which you could try > > > > https://gist.github.com/Patryk27/c7b9dac8113f4ccdb2ef74e0083d9d41 > > Just without the explicit calls to fflush, please. I think that's > there to cover for the bug in update_frame which I mentioned before. > --=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. --000000000000c0e25d05e7c86e66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for all the findings, I was already working o= n an implementation :)=C2=A0

I didn't dig too deep= but it worked somehow.

I was stuck on the support of = tmux, maybe I misconfigured the tmux or I didn't have to use DCS escape= s. I will try to figure this out.

BTW, the compilati= on on master fails w/:
```
debug-early(error (error "= Keyword argument :inhibit-native-compile not one of (:version :inhibit-prov= ide :coding :autoloads :compile :provide)"))
```

On S= at, Sep 3, 2022 at 2:07 AM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Gerd M=C3=B6llmann <gerd.moellmann@gmail.com>
> Cc: kuragin@go= ogle.com,=C2=A0 57434@debbugs.gnu.org
> Date: Sat, 03 Sep 2022 10:04:14 +0200
>
> Gerd M=C3=B6llmann <gerd.moellmann@gmail.com> writes:
>
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> >> Actually, I think we'll need one more small change.=C2=A0= These hooks are
> >> called from update_begin and update_end like this:
> >
> > Dmitrii, do you want to try implementing that?
>
> Searching the web for "emacs synchronized updates" turned up= this patch,
> which you could try
>
> https://gist.github.com/Patryk= 27/c7b9dac8113f4ccdb2ef74e0083d9d41

Just without the explicit calls to fflush, please.=C2=A0 I think that's=
there to cover for the bug in update_frame which I mentioned before.


--
*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.

--000000000000c0e25d05e7c86e66--