From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: as the accident occued... long lines in emacs buffers. Date: Fri, 13 Nov 2015 20:50:05 +0200 Message-ID: <83d1vdg2ea.fsf@gnu.org> References: <87k2q1xsg9.fsf@gmail.com> <1446668449.11811.11.camel@invergo.net> <87mvupvonu.fsf@gmail.com> <1447368233.11811.52.camel@invergo.net> <87wptmyaml.fsf@gmail.com> <1447409234.32571.1.camel@invergo.net> <87si49udez.fsf@gmail.com> <87h9kp7tm3.fsf_-_@gmail.com> <871tbtoo49.fsf@fencepost.gnu.org> <87wptln999.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1447440641 19152 80.91.229.3 (13 Nov 2015 18:50:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 18:50:41 +0000 (UTC) Cc: jwiegley@gmail.com, brandon@invergo.net, as1789@gmail.com, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 13 19:50:32 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZxJQa-0004fC-70 for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 19:50:28 +0100 Original-Received: from localhost ([::1]:54700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxJQZ-0000qM-Ko for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 13:50:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxJQV-0000pz-IK for emacs-devel@gnu.org; Fri, 13 Nov 2015 13:50:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxJQU-0007gm-Mt for emacs-devel@gnu.org; Fri, 13 Nov 2015 13:50:23 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:52778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxJQP-0007fg-Ti; Fri, 13 Nov 2015 13:50:18 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NXR00M00NTZZ300@mtaout28.012.net.il>; Fri, 13 Nov 2015 20:49:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXR00MFRO9YZT10@mtaout28.012.net.il>; Fri, 13 Nov 2015 20:49:11 +0200 (IST) In-reply-to: <87wptln999.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194398 Archived-At: > From: David Kastrup > Date: Fri, 13 Nov 2015 17:40:02 +0100 > Cc: John Wiegley , Brandon Invergo , > =09emacs-devel@gnu.org >=20 > > I'll settle for "as fast as one would expect given its behavior o= n short > > lines". >=20 > Though purportedly this should have been somewhat addressed by >=20 > cache-long-scans is a variable defined in =E2=80=98C source code= =E2=80=99. > Its value is t No, this variable is unrelated. It only helps when Emacs looks for a newline. By contrast, redisplay slowness with long lines has almost nothing to do with searching a buffer for newlines, its main cause is that to move to the next visual line the display engine must completely traverse the current line.