From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57434: 28.1.91; Terminal Emacs Mac OS flickering. Date: Wed, 07 Sep 2022 21:17:53 +0300 Message-ID: <83leqvgib2.fsf@gnu.org> References: <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> <83pmgcmmf1.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6409"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 57434@debbugs.gnu.org To: Dmitrii Kuragin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 07 20:19:16 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 1oVzdr-0001VY-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 20:19:15 +0200 Original-Received: from localhost ([::1]:57622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVzdp-00078N-Vu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 14:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzde-00076n-Bu for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 14:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVzde-0002zX-2E for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 14:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVzdd-0007YG-Uq for bug-gnu-emacs@gnu.org; Wed, 07 Sep 2022 14:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Sep 2022 18:19: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.166257469628972 (code B ref 57434); Wed, 07 Sep 2022 18:19:01 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 7 Sep 2022 18:18:16 +0000 Original-Received: from localhost ([127.0.0.1]:56165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzct-0007XE-Ld for submit@debbugs.gnu.org; Wed, 07 Sep 2022 14:18:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzcs-0007X2-Vo for 57434@debbugs.gnu.org; Wed, 07 Sep 2022 14:18:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzcn-0002uc-Ny; Wed, 07 Sep 2022 14:18:09 -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=qsxc55BxgrhDqrpdXkCxIeFdWrx6TtXCHZIP8pHY6GQ=; b=ZEBoG2HhLSCE uVTSOrHXvQxpepb2VD+WLlH0U0sgMNdDI7Ns+SrpH/aGrEKFPR65aXjqY+FJyXEQMtLA7dUP1xH3O 0OWTWwG+8y1bP7awh2RIKsZX9EbhkqSJoe7E8Dz27iWS59e9ZiprmEKruQTmx7UwLnF2lxuQmhPOm u3GsEQTc25LQkcFzIv+paFPL3JCubUbe+zIKwDZBBuLs8CQmIy2u2GDV1zbTaBnGsD7RSsdxO3hq0 rq7YNOuLLpVDkRqn3nwrfE1vVZqSnQbcj07cn+lOyVcyI9M+caYyZsjudV8zT2EUkXcRDDR+Qy4yE q+FPiBfj3uL78OAhkS97Qg==; Original-Received: from [87.69.77.57] (port=4897 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzcn-0002T5-7N; Wed, 07 Sep 2022 14:18:09 -0400 In-Reply-To: (message from Dmitrii Kuragin on Wed, 7 Sep 2022 09:11:32 -0700) 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:241796 Archived-At: > From: Dmitrii Kuragin > Date: Wed, 7 Sep 2022 09:11:32 -0700 > Cc: Eli Zaretskii , 57434@debbugs.gnu.org > > Sorry I made you wait. I tried the patch (see attachments) and everything worked perfectly. No flickering. OK, thanks. So now the next question is: on what should we base the activation of these hooks? There are several alternatives: . if alacritty produces a distinct value from tty-type, we could use that, or . if alacritty has a distinct terminfo capability that other terminals don't, we could use that, or . expose a variable to Lisp that users could set in order to turn this on and off, and tell users to turn it on if they see the issue Any other ideas? > BTW, tmux uses the sync update for their own TUI and they check "Sync" terminal capability. Do we need to > do the same or we can just send the escapes and hope the unsupported terminal would just recover? What is that Sync capability, what is its value for tmux, and how is it supposed to be used? Is there any documentation I could read about that?