From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#18778: noticeable slowdown for buffers with long lines, word-wrap, and brackets Date: Mon, 20 Oct 2014 19:51:29 +0000 Message-ID: <87lhoar03i.fsf@violet.siamics.net> References: <834mv55quj.fsf@gnu.org> <87wq7ur1o7.fsf@violet.siamics.net> <83k33ubkp3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1413834742 28601 80.91.229.3 (20 Oct 2014 19:52:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 19:52:22 +0000 (UTC) To: 18778@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 21:52:18 2014 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 1XgJ01-0005Or-NG for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 21:52:13 +0200 Original-Received: from localhost ([::1]:46588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgJ01-0003wJ-Cs for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 15:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgIzu-0003w0-FM for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 15:52:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgIzq-0000Kv-Du for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 15:52:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgIzq-0000KX-7U for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 15:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgIzp-0004k0-Ts for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 15:52:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wq7ur1o7.fsf@violet.siamics.net> Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18778-submit@debbugs.gnu.org id=B18778.141383470518199 (code B ref 18778); Mon, 20 Oct 2014 19:52:01 +0000 Original-Received: (at 18778) by debbugs.gnu.org; 20 Oct 2014 19:51:45 +0000 Original-Received: from localhost ([127.0.0.1]:57504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgIzY-0004jS-W7 for submit@debbugs.gnu.org; Mon, 20 Oct 2014 15:51:45 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:36873) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgIzT-0004jH-4B for 18778@debbugs.gnu.org; Mon, 20 Oct 2014 15:51:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:Date:Sender:References:Subject:To:From; bh=23xiLOlvbyffmJY7E9QNzSHzIh86rUgb3+4/Q06BcXU=; b=ZVHfajWRPStJ/DXUAH4jfnmYkltAlw+0+zhdye7pXY6bgN7eh5syN3ok4/RVx5lxcZfil4U4jxgyxvnsOPDtYwtj+w3l3asm/ZhzTe1UXeH+TYwb1Vlu9gJAocklmsD6F0cMEJSSYB1+buGl/mAgRlpSIsKGsbaKU67YBe/SjHs=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XgIzR-0000TA-Ke for 18778@debbugs.gnu.org; Mon, 20 Oct 2014 19:51:38 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XgIzK-00014z-Kq for 18778@debbugs.gnu.org; Tue, 21 Oct 2014 02:51:30 +0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94840 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >>>>> Eli Zaretskii writes: >>>>> From: Ivan Shmakov [=E2=80=A6] >> For the resulting buffer, operations like (next-line) or even >> (recenter) now result in a noticeable delay. >> The issue doesn=E2=80=99t appear when word-wrap is not used, or when th= ere=E2=80=99s >> no brackets in the buffer. Neither the issue appears in Emacs built >> 2014-10-09 from a then-recent Git clone. >> I=E2=80=99ve used the output of the following Shell command as a test. >> $ head -n 8192 < /usr/share/dict/american-english | fmt -w 1024 > Is it an important use case? Is there any example of content for which using word-wrap would be reasonable, but which will never ever contain any braces? > If so, what is the real-life situation here? For one thing, MediaWiki (as in: Wikipedia) pages tend to use paragraph-long lines, and (just as any other human-readable text usually does) they use various braces more than occasionally; not to mention using [, ], {, } for the markup purposes. (A few initial lines of the https://en.wikipedia.org/wiki/Emacs page source are MIMEd.) Using word-wrap when editing such pages is also more or less an obvious measure. (Now, for sure, I can try to mass-edit the pages I=E2=80=99m interested in to fit in 80 columns, but I doubt such a move would receive a warm welcome from the community.) --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A --=-=-= Content-Type: text/mediawiki; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable {{Distinguish|eMac}} [[File:Emacs Dired buffers.png|thumb|Editing multiple [[Dired]] buffers in = [[GNU Emacs]]]] '''Emacs''' {{IPAc-en|=CB=88|i=CB=90|m|=C3=A6|k|s}} and its derivatives are= a family of [[text editor]]s that are characterized by their [[extensibili= ty]]. The manual for the most widely-used variant, [[GNU Emacs]], describes= it as "the extensible, customizable, self-documenting, real-time display e= ditor".{{cite web|title=3DGNU Emacs Manual|url=3Dhttps://www.gnu.org/s= oftware/emacs/manual/html_node/emacs/index.html|work=3DGNU Emacs Manual|pub= lisher=3DFSF|accessdate=3D24 November 2012}} Development of the firs= t Emacs began in the mid-1970s and continues actively {{as of|2014|lc=3Don}= }. Emacs has over 2,000 built-in commands and allows the user to combine th= ese commands into [[macro (computer science)|macros]] to automate work. The= use of [[Emacs Lisp]], a variant of the [[Lisp (programming language)|Lisp= ]] programming language, provides a deep extension capability. --=-=-=--