unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Rankin <hello@paulwrankin.com>
Cc: 30432@debbugs.gnu.org
Subject: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width
Date: Tue, 20 Mar 2018 19:10:28 +0200	[thread overview]
Message-ID: <83sh8ullkr.fsf@gnu.org> (raw)
In-Reply-To: <A5E64A2F-F0CA-4DF2-8720-77D03CCD0F60@paulwrankin.com> (message from Paul Rankin on Tue, 13 Feb 2018 15:57:16 +1000)

> From: Paul Rankin <hello@paulwrankin.com>
> Date: Tue, 13 Feb 2018 15:57:16 +1000
> Cc: 30432@debbugs.gnu.org
> 
> > I agree the result is not good even if Emacs behaves like it does on
> > my system, which is not a total freeze.  I'll try to see if I can find
> > some reasonable way out of this situation.
> 
> A few more bits of info:
> 
> - I think the freeze is entirely temporary, however the time frozen *seems* to increase linearly depending on the number of offending lines, so a buffer with only one or two extending lines might recover in a second or two, but a buffer with many offending lines will appear permanently frozen.
> 
> - Move attempted point motion on offending lines appears to prolong the freeze.
> 
> - The freeze will be very minimal (a second or two) if point skips over the wrap-prefix text entirely, e.g. apply wrap-prefix to lines in the middle of buffer, then M-> to eobp.
> 
> - No freeze occurs if point is at eobp and moves back to bobp with M-< in the same circumstances as above.
> 
> - The freeze will occur if the wrapped text is scrolled into view from below, e.g. same circumstances as above, move point to eobp then mouse wheel up.
> 
> - When point moves to an affected position and things become frozen, the line number in the mode line will display as "??"

Thanks, I think I fixed this.  Please try the latest master branch.

(It turns out wrap-prefix handling already had a smart defense against
such calamities, but it needed help when the prefix was created by the
likes of (space ...) properties.)





  reply	other threads:[~2018-03-20 17:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12  6:49 bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width Paul Rankin
2018-02-12 19:51 ` Eli Zaretskii
2018-02-13  2:15   ` Paul Rankin
2018-02-13  2:18     ` Paul Rankin
2018-02-13  2:30       ` Paul Rankin
2018-02-13  5:15     ` Eli Zaretskii
2018-02-13  5:57       ` Paul Rankin
2018-03-20 17:10         ` Eli Zaretskii [this message]
2018-03-29  5:00           ` Paul W. Rankin
2018-03-30 12:59             ` Eli Zaretskii
2018-05-07 18:38               ` Eli Zaretskii
     [not found]                 ` <0C03687D-D0D4-46CE-B409-6A2E55C8A5FA@paulwrankin.com>
     [not found]                   ` <2F164141-0F75-45C9-8211-ADAF2B005C16@paulwrankin.com>
2018-05-08 17:16                     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83sh8ullkr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30432@debbugs.gnu.org \
    --cc=hello@paulwrankin.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).