From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23457: 24.5; interactive use of next-line and previous-line (holding down C-n or C-p) lag in a buffer with all spaces and newlines Date: Thu, 05 May 2016 19:01:28 +0300 Message-ID: <83wpn8h4tj.fsf@gnu.org> References: <8637pwubct.fsf@NOTE-REPLACE.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462464164 22734 80.91.229.3 (5 May 2016 16:02:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 May 2016 16:02:44 +0000 (UTC) Cc: 23457@debbugs.gnu.org To: jamezmcclain@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 05 18:02:32 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ayLjU-00080x-34 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 May 2016 18:02:32 +0200 Original-Received: from localhost ([::1]:54222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLjQ-0006yF-7F for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 May 2016 12:02:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLjF-0006l8-SX for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 12:02:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayLj3-0005UR-O7 for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 12:02:12 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLj3-0005TG-LH for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 12:02:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ayLj0-0006iq-73 for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 12:02: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: Thu, 05 May 2016 16:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23457-submit@debbugs.gnu.org id=B23457.146246409925809 (code B ref 23457); Thu, 05 May 2016 16:02:02 +0000 Original-Received: (at 23457) by debbugs.gnu.org; 5 May 2016 16:01:39 +0000 Original-Received: from localhost ([127.0.0.1]:40437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLid-0006iD-F4 for submit@debbugs.gnu.org; Thu, 05 May 2016 12:01:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayLic-0006i1-77 for 23457@debbugs.gnu.org; Thu, 05 May 2016 12:01:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayLiN-0005GN-OE for 23457@debbugs.gnu.org; Thu, 05 May 2016 12:01:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayLiN-0005F3-LG; Thu, 05 May 2016 12:01:23 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ayLiH-0003tH-F2; Thu, 05 May 2016 12:01:17 -0400 In-reply-to: <8637pwubct.fsf@NOTE-REPLACE.i-did-not-set--mail-host-address--so-tickle-me> (jamezmcclain@gmail.com) 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:117847 Archived-At: > From: jamezmcclain@gmail.com > Date: Thu, 05 May 2016 02:01:54 -0700 > > This is pretty minor, but it surprised me. When a buffer is filled with > spaces going all the way to the last column without overwrapping. If one > tries to navigate by lines using C-n or C-p and holding them down, there > is noticable lag. > Recipe: > 1. Open emacs : Emacs -Q > 2. Open a blank buffer: C-x b test-2 > 3. Fill the buffer up with spaces until it would force a linewrap, then > use C-j to enter a newline. C-u 115 > C-j > 4. The buffer should appear blank unless you use whitespace mode, now try > holding down C-n or C-p. Emacs will lag. > > I also tested this in a tty emacs session on linux over ssh, and it > seemed the lag was also aparent over there. > > The lag lasted at most around 5 seconds. I cannot reproduce this. I don't see any lags with this recipe. > My window-body-width is 115 and window-body-height is 60. But that's not what you get with "emacs -Q", right? So maybe the problem only happens when you don't use -Q? Also, is it possible that you have some optional display features enabled, like ClearType? Finally, maybe you could try a different build, preferably of the latest pretest of Emacs 25.1, and see if you have the same problem there. Thanks.