[Top][All Lists]

[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: Sat, 15 Aug 2020 23:22:42 -0400

> On Aug 15, 2020, at 2:47 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Sat, 15 Aug 2020 14:00:16 -0400
>> Cc: larsi@gnus.org,
>> emacs-devel@gnu.org
>> On Aug 15, 2020, at 1:46 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> (which should offer that as an optional feature).
>> I don’t know what does that look like, is there a custom option that I can 
>> look at as an example?
> What I had in mind is to have a special value of word-wrap-by-category
> that would load kinsoku by calling a setup function.  

That would be confusing tho. Suppose word-wrap-by-category can be t, nil and 
‘kinsoku. If a user sets it first to 'kinsoku then to t, he would expect 
kinsoku stuff to not take effect; but in reality since kinsoku.el is loaded, it 
will be in effect until the Emacs session ends.

Since people who enable word-wrap-by-category (people who edit CJK chars) would 
probably also want kinsoku, could we just load kinsoku in the setter of 
word-wrap-by-category if it’s set to t? I think that’s ok.


reply via email to

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