[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: |
Tue, 26 May 2020 15:10:17 -0400 |
> On May 26, 2020, at 2:57 PM, Eli Zaretskii <address@hidden> wrote:
>
>> From: Yuan Fu <address@hidden>
>> Date: Tue, 26 May 2020 12:43:57 -0400
>> Cc: Stefan Monnier <address@hidden>,
>> address@hidden,
>> emacs-devel <address@hidden>
>>
>> There is no way to know if some text is table or body without major mode
>> adding text properties to distinguish them.
>
> Of course, there is: the major mode is the one that creates the table,
> doesn't it? So the mode knows where the table is.
Yes, the major mode knows, but the redisplay code doesn’t. So presumably the
major mode tells the redisplay code what to do (truncate or wrap) by adding
text properties to the text.
Yuan
- Re: Line wrap reconsidered, (continued)
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Stefan Monnier, 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, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered,
Yuan Fu <=
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Ihor Radchenko, 2020/05/26
- Re: Line wrap reconsidered, Eli Zaretskii, 2020/05/26
- Re: Line wrap reconsidered, Stefan Monnier, 2020/05/26
Re: Line wrap reconsidered, Stefan Monnier, 2020/05/25
Re: Line wrap reconsidered, Lars Ingebrigtsen, 2020/05/25