[Top][All Lists]

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

Re: Line wrap reconsidered

From: Yuan Fu
Subject: Re: Line wrap reconsidered
Date: Mon, 25 May 2020 19:32:33 -0400

I had some problem hacking the redisplay code. For some reason, Emacs hangs 
after M-x toggle-word-wrap. I ran Emacs under lldb (gdb doesn’t work on Mac), 
and was dropped into different places each time. I attached the backtrace 
files. What could I did wrong?

Explanation for the code: basically I added a predicate function 
(char_can_wrap) that checks text property to see if a character is “wrappable”. 
And combined that predicate with the existing IT_DISPLAYING_WHITESPACE.


Attachment: wrap.patch
Description: Binary data

Attachment: bt.3
Description: Binary data

Attachment: bt.2
Description: Binary data

Attachment: bt.1
Description: Binary data

reply via email to

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