emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#30432: closed (26.0.91; freeze when text wrap-pref


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#30432: closed (26.0.91; freeze when text wrap-prefix exceeds window text width)
Date: Tue, 08 May 2018 17:18:02 +0000

Your message dated Tue, 08 May 2018 20:16:50 +0300
with message-id <address@hidden>
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
address@hidden)


-- 
30432: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30432
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- 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" <address@hidden>
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]