From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jamezmcclain@gmail.com 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 02:01:54 -0700 Message-ID: <8637pwubct.fsf@NOTE-REPLACE.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462439023 9976 80.91.229.3 (5 May 2016 09:03:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 May 2016 09:03:43 +0000 (UTC) To: 23457@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 05 11:03: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 1ayFC0-0003o4-34 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 May 2016 11:03:32 +0200 Original-Received: from localhost ([::1]:52737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFBw-0004q6-3n for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 May 2016 05:03:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFBm-0004cV-VK for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:03:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayFBa-000152-Pn for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:03:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFBZ-00013t-Iu for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:03:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ayFBW-0001To-5G for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jamezmcclain@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 May 2016 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23457 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14624389755674 (code B ref -1); Thu, 05 May 2016 09:03:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 May 2016 09:02:55 +0000 Original-Received: from localhost ([127.0.0.1]:38713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayFBP-0001TR-1m for submit@debbugs.gnu.org; Thu, 05 May 2016 05:02:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayFBN-0001TF-Mg for submit@debbugs.gnu.org; Thu, 05 May 2016 05:02:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayFB8-0000yT-OP for submit@debbugs.gnu.org; Thu, 05 May 2016 05:02:45 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFB7-0000xQ-JB for submit@debbugs.gnu.org; Thu, 05 May 2016 05:02:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFAv-0003Vl-G1 for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:02:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayFAh-0000st-6k for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:02:17 -0400 Original-Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]:33852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayFAf-0000p1-On for bug-gnu-emacs@gnu.org; Thu, 05 May 2016 05:02:11 -0400 Original-Received: by mail-pf0-x233.google.com with SMTP id y69so35317042pfb.1 for ; Thu, 05 May 2016 02:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=4FZJbxIwlIip6VvPTQrg0PEEnXuVlZr0/aKIBIfB/r4=; b=shhxqJI+tVX3OIG5ZqYTZoPng25L+7rO7bNuSUa+uu9Fv/u0t9IXvcUAax4JDMQR9S ZLRRxwujaXHHNq+2S1cbBKO9RV+5Uep8/7DHvGyxNETQRZ3u20UIR37dLuX7FZ8/wK8M ifP2rhv+MPiJybMRqOG15ao2VwcpNvHCdLwzvxJGXz5LrXPyI5n3zfkXSexmB38rcPlJ fg1FPAltb7SSmO5Ksyv8hJQxQRfCCNi7epGmLe2QT1ub7zebhQcchtjY7rcQxu6Kj41l dw8eztT12uX2qH5aXxLjl9T2A2xoqXk2pCsi/uFE/955DtROhMl7QLJ6kBdq6QdBUtzy 5BmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=4FZJbxIwlIip6VvPTQrg0PEEnXuVlZr0/aKIBIfB/r4=; b=UdbbekkgV0/OFIljUlR3Gpig8ZMd9X86wA6IH+oCRdZqU1al+F6Lpdg7O2naPCQjGr mJB25qjNczcjBugSkmoZxEQgz5fFlsoW2Tx4kURgVo+qiNhA8qzcyrfvluPUBAceK8yz P4BqVdBtQjrT1Hvc35zYaFR8ctybnIGHiFCwHhtGPKheiI+TBrIpL5QtlNVdlD3PHbEF kC9F6cs0Xp7gWamS8wqV75LU8hIdsnbBJ3PghAE3dBrH9HVWRTKQtlQuiKoK2am+iF47 2WklRRC8HtFNxwob9W+JDfRa43fnOOQ3sZuOW7OuqvifaXWTdcmZWjkQ2ySpFDmUvbpE R3Tw== X-Gm-Message-State: AOPr4FWHz/IVoY0PrVHxBP8mCjWw+je9hzYVVEcabMua/IexT5LuL7320iu4IiKC6Y9Q1g== X-Received: by 10.98.98.69 with SMTP id w66mr8206968pfb.20.1462438910964; Thu, 05 May 2016 02:01:50 -0700 (PDT) Original-Received: from NOTE-REPLACE (c-98-255-0-47.hsd1.ca.comcast.net. [98.255.0.47]) by smtp.gmail.com with ESMTPSA id t14sm11841106pfj.12.2016.05.05.02.01.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 May 2016 02:01:50 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:117836 Archived-At: 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. My window-body-width is 115 and window-body-height is 60. 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. If the line has all spaces, one period, then a newline. (So if there is one non-space character it seems) then this lag does not happen. Frankly just curious, James In GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-05-16 on KAEL Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Checking 57 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/eshell... Checking 70 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/erc... Checking 34 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/emulation... Checking 151 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/emacs-lisp... Checking 24 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/cedet... Checking 57 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/calendar... Checking 87 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/calc... Checking 111 files in c:/ProgramData/chocolatey/lib/emacs64/tools/emacs/share/emacs/24.5/lisp/obsolete... Checking for load-path shadows...done Mark set [2 times] Quit Load-path shadows: None found. Features: (shadow sort mail-extr misearch multi-isearch noutline outline easy-mmode view emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils eieio-opt speedbar sb-image ezimage dframe find-func help-mode network-stream starttls tls erc-list erc-menu easymenu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache thingatpt pp kmacro whitespace time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 16 133688 22081) (symbols 56 23279 0) (miscs 48 130 422) (strings 32 29961 2899) (string-bytes 1 788055) (vectors 16 17076) (vector-slots 8 461686 8433) (floats 8 87 296) (intervals 56 1762 121) (buffers 960 22))