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: Tue, 20 Sep 2022 19:45:52 +0300 Message-ID: <83wn9yuh8f.fsf@gnu.org> References: <83mtbks7mo.fsf@gnu.org> <837d2mqm98.fsf@gnu.org> <8335daqlsa.fsf@gnu.org> <83k06komhi.fsf@gnu.org> <83pmgcmmf1.fsf@gnu.org> <83leqvgib2.fsf@gnu.org> <83r10mfkn1.fsf@gnu.org> <83illyffan.fsf@gnu.org> <83a67afcq0.fsf@gnu.org> <831qskczch.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3948"; 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 Tue Sep 20 23:37:47 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 1oakw7-0000t9-0H for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 23:37:47 +0200 Original-Received: from localhost ([::1]:42840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oakw6-0007Cr-0d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 17:37:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oagNm-0007XQ-MB for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 12:46:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oagNm-0004JT-CQ for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 12:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oagNm-0001v5-5x for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 12:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 16:46:02 +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.16636923587360 (code B ref 57434); Tue, 20 Sep 2022 16:46:02 +0000 Original-Received: (at 57434) by debbugs.gnu.org; 20 Sep 2022 16:45:58 +0000 Original-Received: from localhost ([127.0.0.1]:59488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oagNi-0001ue-Aq for submit@debbugs.gnu.org; Tue, 20 Sep 2022 12:45:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oagNg-0001uR-87 for 57434@debbugs.gnu.org; Tue, 20 Sep 2022 12:45:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oagNa-0004Dt-Hn; Tue, 20 Sep 2022 12:45:50 -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=yngdO1aIKg8Bzdxq3T6g2wcxmP6KaQpenNlEJ7c7Mj8=; b=KG68BAUlhtZNHCWuomRV BpAQNg0gLqfHrvmhxKoG5rBsZPAtk9cpOGMkJl4FdkHYzO9+/mLXnSdTEGHAGwn/7YQ/74m3Qr3xK Thhz383N2X0m6nxL29Lk3VQPrHN/SW6QjqGGT3Md4dKdZviv2QY9FeTjeXjm4LiW+4VHUNhP+x8wC FhKPingIhK9NSIQRe/2O4/MMKRAfaZSeS64vO/M36zpcirF7KRKIRIfh9Zd7/sUZuP0jTX35DoFWO yspTtMFvSe4+LiMquVGPKRExRuodFMdT6Ev337VElNjvYH3/GTBdryKe4+gJm+2+lHN1Kfgr8T34c h/mqBxCC33RXJQ==; Original-Received: from [87.69.77.57] (port=2099 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 1oagNW-0000eg-EJ; Tue, 20 Sep 2022 12:45:48 -0400 In-Reply-To: (message from Dmitrii Kuragin on Tue, 20 Sep 2022 09:35:41 -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:243233 Archived-At: > From: Dmitrii Kuragin > Date: Tue, 20 Sep 2022 09:35:41 -0700 > Cc: Gerd Möllmann , > 57434@debbugs.gnu.org > > But could you please elaborate a bit more on what I can do now? > > Do we want to add a hook like `begin_frame_update` or we need to add a > `sync_update_begin_escape_code` or we just say, sync_update_protocol (we have 2 of those now). I think we want to add begin/end_frame_update hooks, and we want them to send the escape sequences that are determined by some state variable which tells us which of the 2 protocols to use. We then need a function to allow changing that state variable, perhaps by an explicit user command. Bonus points for making the state variable be terminal-specific, so that the same Emacs session could have TTY frames on several different types of terminal, and use the correct protocol for each one of them. I hope I explained this well enough; if not, feel free to ask specific questions. > Alternatively, we can allow users to specify it as a terminal capability and let them override it. Like, `(setq > xterm-extra-capabilities (quote (modifyOtherKeys setSelection)))` No, that's too dangerous, and not really needed. It's not like there are many different protocols for synchronized update. Thanks.