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.devel Subject: Re: Default behavior of C-l causes flickering on TTY frames Date: Sun, 12 Dec 2021 15:50:27 +0200 Message-ID: <83lf0qnd98.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25520"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Daniel =?iso-8859-1?Q?Mart=EDn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 12 14:51:40 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mwPGO-0006R7-L8 for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 14:51:40 +0100 Original-Received: from localhost ([::1]:40102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwPGL-0003E5-O8 for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Dec 2021 08:51:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwPFO-0002Rz-De for emacs-devel@gnu.org; Sun, 12 Dec 2021 08:50:38 -0500 Original-Received: from [2001:470:142:3::e] (port=60202 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwPFN-0005Pa-Rl; Sun, 12 Dec 2021 08:50:37 -0500 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=bTuDRKjGWcKbZcQu+lrqbxRILw8L1qx54YMWfx8tm0Y=; b=Q8BgXnAZLzTgWN2DQLj+ JNGAvCC61yWdnomVr04m5N3cqEZRq7Uc3mIZHS7VL8WtBU4zqjgRyD5a099vzgQ5ZlEUadspkgjs/ Iotin7KyCYKCVd7DpEi23g7tn/JgQhjwVMTtxsJjnMGnT/IlHuNmHXOLT2AbZw69iddC5zh1v81TA HPwhPayrE+T/XpqU691gaknRYpytcnG8Q4fdBJqCwlEKLGC9z/FqFwArrWxHi+Y30WGCgjBPRrQIZ m68FYF/CLKiPkUfXxUGBlJmmXtstynMVlmvv5hh+RSGl6VlvmcVJJj9QWh2UEEzuA3AIPraVWeqs1 9vhq/8zGR4erKw==; Original-Received: from [87.69.77.57] (port=1357 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 1mwPFL-0007Hp-6H; Sun, 12 Dec 2021 08:50:37 -0500 In-Reply-To: (message from Daniel =?iso-8859-1?Q?Mart=EDn?= on Sun, 12 Dec 2021 14:39:37 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281792 Archived-At: > From: Daniel Martín > Date: Sun, 12 Dec 2021 14:39:37 +0100 > > > When Emacs runs on a TTY console, the common operation of recentering > the window with C-l causes some unpleasant screen flickering most of the > time. After some investigation, I see that this happens because the > default value of the variable 'recenter-redisplay' is 'tty', which means > that C-l clears and redisplays the screen. > > Is there a reason Emacs still does that by default on TTY frames? Yes, it's to redraw a potentially garbled TTY display. > Is the possibility of the screen becoming garbled so common these > days (on TTY frames) that we pay the price of a redisplay on each > C-l? Yes. But why don't you customize that variable if you dislike the redraws and OTOH don't have the problem with garbled displays?