emacs-devel
[Top][All Lists]
Advanced

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

Re: Line wrap reconsidered


From: Ihor Radchenko
Subject: Re: Line wrap reconsidered
Date: Wed, 27 May 2020 00:43:41 +0800

> I think he means that, in such a file:
>
> BODY TEXT…
> BODY TEXT…
>
> | LONG TABLE |
> | LONG TABLE |
>
> BODY TEXT…
> BODY TEXT…
>
> We only truncate lines in LONG TABLE, and wraps BODY TEXT. There is no
> way to know if some text is table or body without major mode adding
> text properties to distinguish them. 

Yes, this is precisely what I mean.
Thanks!

Regards,
Ihor



Yuan Fu <address@hidden> writes:

>> On May 26, 2020, at 12:31 PM, Eli Zaretskii <address@hidden> wrote:
>> 
>>> From: Stefan Monnier <address@hidden>
>>> Cc: Ihor Radchenko <address@hidden>,  address@hidden,
>>>  address@hidden
>>> Date: Tue, 26 May 2020 11:59:21 -0400
>>> 
>>>> I don't understand what you mean by "not wrap the table".
>>> 
>>> He means to truncate the lines in the table but wrap them in the rest.
>> 
>> But then why do we need to mark text with some property?
>
> I think he means that, in such a file:
>
> BODY TEXT…
> BODY TEXT…
>
> | LONG TABLE |
> | LONG TABLE |
>
> BODY TEXT…
> BODY TEXT…
>
> We only truncate lines in LONG TABLE, and wraps BODY TEXT. There is no way to 
> know if some text is table or body without major mode adding text properties 
> to distinguish them.
>
> Yuan

-- 
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong 
University, Xi'an, China
Email: address@hidden, address@hidden



reply via email to

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