all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 18778@debbugs.gnu.org
Subject: bug#18778: noticeable slowdown for buffers with long lines, word-wrap, and brackets
Date: Mon, 20 Oct 2014 22:33:12 +0300	[thread overview]
Message-ID: <83k33ubkp3.fsf@gnu.org> (raw)
In-Reply-To: <87wq7ur1o7.fsf@violet.siamics.net>

> From: Ivan Shmakov <ivan@siamics.net>
> Date: Mon, 20 Oct 2014 19:17:28 +0000
> 
> 	• create a buffer with long lines (see below for the example
> 	  I’ve used), and (setq word-wrap t line-move-visual nil) there;
> 
> 	• now, enclose every line in [, ] brackets (as in: M-x
> 	  replace-regexp RET .* RET [\&] RET; parentheses or curly
> 	  braces also exhibit the issue.)
> 
> 	For the resulting buffer, operations like (next-line) or even
> 	(recenter) now result in a noticeable delay.
> 
> 	The issue doesn’t appear when word-wrap is not used, or when
> 	there’s no brackets in the buffer.  Neither the issue appears in
> 	Emacs built 2014-10-09 from a then-recent Git clone.
> 
> 	I’ve 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?  If so, what is the real-life situation
here?





  reply	other threads:[~2014-10-20 19:33 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15 14:51 Bidi reordering engine upgraded Eli Zaretskii
2014-10-15 15:22 ` Dmitry Antipov
2014-10-15 15:47   ` Eli Zaretskii
2014-10-15 16:00     ` Dmitry Antipov
2014-10-15 16:31       ` Eli Zaretskii
2014-10-15 17:28         ` Eli Zaretskii
2014-10-15 17:50           ` Eli Zaretskii
2014-10-16  3:55             ` Dmitry Antipov
2014-10-16  7:21               ` Eli Zaretskii
2014-10-16  9:42                 ` Thien-Thi Nguyen
2014-10-16 10:15                   ` Eli Zaretskii
2014-10-16 13:27                     ` Thien-Thi Nguyen
2014-10-16 13:51                       ` Eli Zaretskii
2014-10-17  5:42                         ` Thien-Thi Nguyen
2014-10-17  6:16                           ` Eli Zaretskii
2014-10-17  7:50                             ` Thien-Thi Nguyen
2014-10-17  8:25                               ` Eli Zaretskii
2014-10-17 10:27                                 ` Thien-Thi Nguyen
2014-10-17 10:31                                   ` Eli Zaretskii
2014-10-16  9:51                 ` Dmitry Antipov
2014-10-16 10:20                   ` Eli Zaretskii
2014-10-16 11:28                   ` Eli Zaretskii
2014-10-17  6:46                 ` Eli Zaretskii
2014-10-17 17:45                 ` Jan Djärv
2014-10-17 18:45                   ` Eli Zaretskii
2014-10-17 19:32                     ` Stefan Monnier
2014-10-18 12:34                     ` Jan Djärv
2014-10-18 12:54                       ` Eli Zaretskii
2014-10-18 13:13                         ` Eli Zaretskii
2014-10-19 11:45                           ` Jan Djärv
2014-10-19 13:19                             ` Eli Zaretskii
2014-10-19 11:49                           ` Jan Djärv
2014-10-19 13:20                             ` Eli Zaretskii
2014-10-20 19:17 ` bug#18778: noticeable slowdown for buffers with long lines, word-wrap, and brackets Ivan Shmakov
2014-10-20 19:33   ` Eli Zaretskii [this message]
2014-10-20 19:51     ` Ivan Shmakov
2014-10-22 16:12       ` Eli Zaretskii
2014-10-22 17:07         ` Ivan Shmakov
2014-10-29 19:31         ` Ivan Shmakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k33ubkp3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18778@debbugs.gnu.org \
    --cc=ivan@siamics.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.