GNU bug report logs - #30432
26.0.91; freeze when text wrap-prefix exceeds window text width

Previous Next

Package: emacs;

Reported by: Paul Rankin <hello <at> paulwrankin.com>

Date: Mon, 12 Feb 2018 06:50:02 UTC

Severity: normal

Merged with 31378

Found in versions 25.2, 26.0.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Rankin <hello <at> paulwrankin.com>
Cc: 30432 <at> 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
> From: Paul Rankin <hello <at> paulwrankin.com>
> Date: Tue, 13 Feb 2018 15:57:16 +1000
> Cc: 30432 <at> 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.)




This bug report was last modified 7 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.