emacs-devel
[Top][All Lists]
Advanced

[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 22:15:21 -0400


> On May 25, 2020, at 7:32 PM, Yuan Fu <address@hidden> wrote:
> 
> 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.
> 
> Yuan
> 
> <wrap.patch>
> <bt.3>
> <bt.2>
> <bt.1>

I found the problem, now it runs ok. Sorry for the noise.

Yuan


reply via email to

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