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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#30432: closed (26.0.91; freeze when text wrap-prefix exceeds
 window text width)
Date: Tue, 08 May 2018 17:18:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 08 May 2018 20:16:50 +0300
with message-id <83po26oynx.fsf <at> gnu.org>
and subject line Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window text width
has caused the debbugs.gnu.org bug report #30432,
regarding 26.0.91; freeze when text wrap-prefix exceeds window text width
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
30432: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30432
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Rankin <hello <at> paulwrankin.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.91; freeze when text wrap-prefix exceeds window text width
Date: Mon, 12 Feb 2018 16:49:39 +1000
So this took me a while to track down because it seemed so unpredictable, but I can now reliably freeze Emacs when some text has a wrap-prefix that exceeds the window text width.

To reproduce:

1. emacs -Q
2. make sure window is 80 columns wide
3. insert a block of text that exceeds the window text width and causes wrapping
4. set region over this text
5. (put-text-property (region-beginning) (region-end) 'wrap-prefix '(space :align-to 81))
6. move point to or past this text

Expected result:

I'm not sure, but I guess window should scroll horizontally to display point.

Actual results:

Emacs freezes and needs to be killed.

Real-world use case:

In Fountain Mode (a major mode for screenwriting) text needs to aligned using line-prefix and wrap-prefix. Text for scene transitions uses a space of 45 columns. When the font size is increased, it's very easy for the 45-column space plus the transition text to exceed the current window text width.

In Emacs versions prior to 26, this use to just wrap the transition text, but something has changed with 26 to cause the freezing.

** Please do not reply asking me to change Fountain Mode to use auto-fill. The existing syntax doesn't work this way. **

-- 
https://www.paulwrankin.com



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: "Paul W. Rankin" <hello <at> paulwrankin.com>
Cc: 30432-done <at> debbugs.gnu.org
Subject: Re: bug#30432: 26.0.91; freeze when text wrap-prefix exceeds window
 text width
Date: Tue, 08 May 2018 20:16:50 +0300
> From: "Paul W. Rankin" <hello <at> paulwrankin.com>
> Date: Tue, 8 May 2018 17:29:36 +1000
> 
> All look perfect on my end when built from master.

Great, thanks for testing.  I'm therefore closing this bug.


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.