[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
Re: Line wrap reconsidered, Stefan Monnier, 2020/05/25
Re: Line wrap reconsidered, Lars Ingebrigtsen, 2020/05/25
Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
Re: Line wrap reconsidered, Yuan Fu, 2020/05/26
Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
Re: Line wrap reconsidered, Yuan Fu, 2020/05/26
Re: Line wrap reconsidered, Yuan Fu, 2020/05/26
Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/27