all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: 22739@debbugs.gnu.org
Subject: bug#22739: 25.0.50; Hangs on revertig buffer
Date: Sun, 06 Mar 2016 18:22:34 +0200	[thread overview]
Message-ID: <8360wzwp85.fsf@gnu.org> (raw)
In-Reply-To: <87pov8dxtv.fsf@wanadoo.es> (message from Óscar Fuentes on Sun, 06 Mar 2016 05:39:24 +0100)

> From: Óscar Fuentes <ofv@wanadoo.es>
> Cc: 22739@debbugs.gnu.org
> Date: Sun, 06 Mar 2016 05:39:24 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > We don't have any mechanism in the display engine for "refusing to
> > display a line", AFAIK.
> 
> What about scanning the contents before entering display?

The problem is not with detecting a long line, the problem is what we
should do when we detect it.  If you just refrain from displaying it,
2 things will happen: (a) Emacs will start re-entering redisplay like
crazy, and (b) users will file bug reports about incorrect display.

So we'd need to display _something_ instead of that line which will
indicate the problem to the user.  This solves (b) above, but (a) is
still unsolved, and I don't know how to solve it in general.  Ideas
welcome.

Anyway, it turned out this is a regression wrt Emacs 24.5: a redisplay
optimization that targeted this particular use case was disabled as
part of fixing another display bug related to control characters.  I
have now partially re-enabled the optimization, which speeds up your
case by about 2 orders of magnitude.  Please take a look at the latest
emacs-25 branch.





  reply	other threads:[~2016-03-06 16:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19  3:33 bug#22739: 25.0.50; Hangs on revertig buffer Óscar Fuentes
2016-02-19  8:16 ` Eli Zaretskii
2016-02-19 12:44   ` Óscar Fuentes
2016-02-19 15:28     ` Eli Zaretskii
2016-03-06  1:28     ` Óscar Fuentes
2016-03-06  3:41       ` Eli Zaretskii
2016-03-06  4:39         ` Óscar Fuentes
2016-03-06 16:22           ` Eli Zaretskii [this message]
2016-03-07  0:29             ` Óscar Fuentes
2016-03-07 16:32               ` Eli Zaretskii
2016-02-19 13:04   ` Óscar Fuentes
2016-02-19 13:21   ` Óscar Fuentes
2016-02-19 15:45     ` Eli Zaretskii
2016-02-19 22:09       ` Óscar Fuentes
2016-02-20  8:08         ` Eli Zaretskii
2016-02-20 16:40           ` Óscar Fuentes

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=8360wzwp85.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22739@debbugs.gnu.org \
    --cc=ofv@wanadoo.es \
    /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.