From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.help Subject: Re: unpleasant flickering in terminal emacs Date: Fri, 27 Apr 2018 23:05:06 +0800 Message-ID: <87tvrwu1ul.fsf@gmail.com> References: <87po2k7tdr.fsf@gmail.com> <831sf0vmms.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1524841445 6125 195.159.176.226 (27 Apr 2018 15:04:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2018 15:04:05 +0000 (UTC) User-Agent: mu4e 1.0-alpha3; emacs 27.0.50 Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 17:04:01 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fC4ul-0001RB-Py for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 17:03:59 +0200 Original-Received: from localhost ([::1]:48613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC4ws-0001Pp-PA for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2018 11:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC4wA-0001EC-4g for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 11:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC4w4-0002ku-9V for help-gnu-emacs@gnu.org; Fri, 27 Apr 2018 11:05:26 -0400 Original-Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]:45163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fC4vx-0002iy-T4; Fri, 27 Apr 2018 11:05:14 -0400 Original-Received: by mail-pg0-x229.google.com with SMTP id i29-v6so1770504pgn.12; Fri, 27 Apr 2018 08:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=b/D5SAKvBMfwFpT9OAnNIn3+C8i8knW+dQ2Wzd9s3Us=; b=olR/BL/ur/33pndhSIS/nD3v/vsxY7/+FW8qiA3rbbrtcv6xi1OUz3UwBP2g1VqQ28 Ydo1TCT/1n9z+U6OTcp2eVBC2AAMap1hXuB6BzRZzcWCtJPuo7GnXM3x7CCAJ5Mi8YcD eyx5cIad/F8WmCvGxYFne4CZLXcuv1cxd/VLG3pfDhyVf8weDd99woGolHvVByqomBQW FqFcy2eG13ccpNE3f2C54Eursg2lDMmvwOGMugRBXT8sidKvXqZVPSnL7U3VEY8JnQU0 3y++Y52L1dCQBot9BEzgybjjpj4CQmNu5I0SnDtkCv8c44A54MxYPU9K1FnRv80oYy6O AYjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=b/D5SAKvBMfwFpT9OAnNIn3+C8i8knW+dQ2Wzd9s3Us=; b=Qw/9TAQyt5N2pLaACiRLvRXfuuchNZwOqt7SpB96aAinPEZwkkRyLhc3vpqh4o0egR 3M3dtkoBLPQ33vwB6M6LAA6VO21jMbdK3vXW2tH1rbbAjKHDh6IfV7mbz3O3ojbAgRrp Cpe8tVR/5qs540ex2KGOc3Ff/kzowtbs+DA6UYRNhSn/v5e/hrcCs6qo9YvERFf7+kep DobOVeaXM9u5JwYQtb8XOlRJfuHncKh6+y86/E6yN/0CRY35r09ISsP1i2krrfo0o7n+ q3OTu7KZVuLIRR5P0FdpYhzicTIUYzSIAjPqayb1+HF3R2Bj4gIiK7U8LjKRC/9t7Rjl ABWg== X-Gm-Message-State: ALQs6tAA6IeSzheruxEk1+WVK5pHub3wDngZsWJX+pccmbxXOY4t1zxN nsezRJb3n4lQG4mecKdby/PPxA== X-Google-Smtp-Source: AB8JxZpvMrBdseWvfHkz5r12ED9WTFXS4X7HT9FheRLq/nMEmY38n8lObfUhV/5HlF77I40piMy+cA== X-Received: by 2002:a17:902:67c2:: with SMTP id g2-v6mr2634470pln.93.1524841512747; Fri, 27 Apr 2018 08:05:12 -0700 (PDT) Original-Received: from localhost ([168.235.105.19]) by smtp.gmail.com with ESMTPSA id e10sm2905614pfn.67.2018.04.27.08.05.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Apr 2018 08:05:12 -0700 (PDT) In-reply-to: <831sf0vmms.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116611 Archived-At: Hi Eli, "emacs -Q" works fine, same as my emacs's *scratch* buffer with 100K lines of code. However, after switching to Fundamental mode and turning of font-lock-mode, xdisp.c buffer still flickers while scrolling. All the minor modes are the same as the *scratch* buffer. I've also tried loading the same theme of "emacs -Q", it doesn't help either. Eli Zaretskii writes: >> From: Amos Bird >> Date: Fri, 27 Apr 2018 19:58:56 +0800 >> >> I'm using emacs master branch in terminal (alacritty). When >> moving >> cursor with relative line number enabled or scrolling up/down, >> I >> get unpleasant screen flickering. > > Relative line numbers require a full redraw of the window when > you > scroll, because every line's number changes. Emacs will > actually > redraw only the numbers themselves, and maybe also some general > window > decorations. > > Not sure why that happens to you during scrolling without line > numbers, it doesn't seem to happen to me. Do you see that in > "emacs -Q"? -- Amos Bird amosbird@gmail.com