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 15:31:06 -0400


> On May 25, 2020, at 3:23 PM, Eli Zaretskii <address@hidden> wrote:
> 
>> From: Yuan Fu <address@hidden>
>> Date: Mon, 25 May 2020 14:13:04 -0400
>> 
>> Here is what I come up with: in redisplay code, instead of only checking for 
>> whitespace, check for a ‘no-wrap text-property, if the character has this 
>> property, don’t wrap before[1] this character (or maybe it can be the 
>> opposite, only wrap when the character has a ‘can-wrap property). And this 
>> text property is calculated and applied once. 
> 
> What are the use cases for such a feature?

I’m still trying to solve this problem: 
https://lists.gnu.org/archive/html/emacs-devel/2020-03/msg00095.html

Basically, allow Emacs to wrap at more places (between CJK char) with more 
complex rules (not before a period or comma, etc).

Yuan


reply via email to

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