From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24267: 24.5; When scrolling, parts of buffer are redrawn with a delay Date: Sat, 20 Aug 2016 10:22:38 +0300 Message-ID: <83pop3dhvl.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1471677805 15843 195.159.176.226 (20 Aug 2016 07:23:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Aug 2016 07:23:25 +0000 (UTC) Cc: 24267@debbugs.gnu.org To: Artyom Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 20 09:23:17 2016 Return-path: Envelope-to: geb-bug-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 1bb0cd-0003g2-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 09:23:16 +0200 Original-Received: from localhost ([::1]:60143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb0cb-0008T1-0G for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Aug 2016 03:23:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb0cU-0008QO-Ud for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 03:23:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb0cQ-0001iu-Ny for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 03:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb0cQ-0001iq-K8 for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 03:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bb0cQ-0001s1-Gc for bug-gnu-emacs@gnu.org; Sat, 20 Aug 2016 03:23: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: Sat, 20 Aug 2016 07:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24267-submit@debbugs.gnu.org id=B24267.14716777627163 (code B ref 24267); Sat, 20 Aug 2016 07:23:02 +0000 Original-Received: (at 24267) by debbugs.gnu.org; 20 Aug 2016 07:22:42 +0000 Original-Received: from localhost ([127.0.0.1]:34651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb0c5-0001rT-Mh for submit@debbugs.gnu.org; Sat, 20 Aug 2016 03:22:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bb0c2-0001rE-QJ for 24267@debbugs.gnu.org; Sat, 20 Aug 2016 03:22:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb0bu-0001gN-Ki for 24267@debbugs.gnu.org; Sat, 20 Aug 2016 03:22:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb0bu-0001gJ-Hj; Sat, 20 Aug 2016 03:22:30 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1102 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bb0bt-0007s7-5d; Sat, 20 Aug 2016 03:22:29 -0400 In-reply-to: (message from Artyom on Fri, 19 Aug 2016 23:48:17 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122405 Archived-At: > From: Artyom > Date: Fri, 19 Aug 2016 23:48:17 +0300 > > When I scroll, most of the buffer redraws immediately, but a few > lines at the bottom of the buffer only redraw after a noticeable > delay (200ms or so, I would guess). You can see a screen recording > here: > > http://files.artyom.me/emacs.mkv > > Steps to reproduce: > > 1. emacs -Q > 2. Open a file with lots of syntax to be highlighted (for instance, > just save https://en.wikipedia.org/wiki/Emacsas an HTML page > and open it in Emacs). > 3. Start scrolling with C-v, and wait a couple of seconds after > each scroll. I cannot reproduce this: I don't see these redraws at all, using the HTML page you pointed to. It could be some issue specific to the default font you use (you don't say which font is that). Or some other issue local to, or triggered by, your local setup. Because this: > It's easiest to reproduce with a big file with syntax highlighting > enabled, but it also manifests on many other occasions: > > * When scrolling an ordinary textfile(with font-lock disabled) > * When pressing Enter in a buffer, forcing other lines to shift > * When switching the focus from one buffer to another, > cursor moves only after a delay > * Sometimes parts of selection don't disappear after C-g > * Sometimes parts of the buffer that take longer to redraw > are just few characters in the middle of a line (i.e. it's not > necessarily a prefix/suffix of visible text) actually says the problem should be highly visible, and yet it was not reported until now, at least not with such intensity. I cannot play your screencast here, so I'm not even sure that when you talk about redrawing you mean the same thing I do. Therefore, one possibility is that something is wrong with your X setup or even with your video hardware and software. > This all only started happening after I upgraded my system. > Unfortunately, the upgrade was pretty huge and so it's hard to > pinpoint a specific package that caused this. The version of Emacs > stayed the same. Which is a serious argument in favor of my theory that this is not an Emacs problem. Maybe someone else bumped into such problems and could advise you where to look. Thanks.