emacs-devel
[Top][All Lists]
Advanced

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

Re: Line wrap reconsidered


From: Eli Zaretskii
Subject: Re: Line wrap reconsidered
Date: Tue, 26 May 2020 22:59:15 +0300

> From: Yuan Fu <address@hidden>
> Date: Tue, 26 May 2020 15:10:17 -0400
> Cc: Stefan Monnier <address@hidden>,
>  address@hidden,
>  address@hidden
> 
> > 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.

The major mode could do this using techniques similar to the old
longlines.el package, for example.



reply via email to

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