From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Line wrap reconsidered Date: Sun, 16 Aug 2020 17:15:22 +0300 Message-ID: <83o8naisn9.fsf@gnu.org> References: <83tux4jmup.fsf@gnu.org> <83lfigj6tt.fsf@gnu.org> <2E390DEE-47E6-418A-8FD2-27C6D69262DC@gmail.com> <83364nkdiy.fsf@gnu.org> <84D68543-FE50-497E-BF03-17668C2F8972@gmail.com> <83v9hjiw61.fsf@gnu.org> <86409EE4-8327-4260-912E-49ED44E07DA0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36927"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 16 16:16:12 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k7JSF-0009Wx-KZ for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Aug 2020 16:16:11 +0200 Original-Received: from localhost ([::1]:43108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7JSE-0005QH-Ko for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Aug 2020 10:16:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7JRi-0004vE-VT for emacs-devel@gnu.org; Sun, 16 Aug 2020 10:15:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39335) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7JRi-0002SQ-K7; Sun, 16 Aug 2020 10:15:38 -0400 Original-Received: from [176.228.60.248] (port=4441 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k7JRi-0006Ak-4x; Sun, 16 Aug 2020 10:15:38 -0400 In-Reply-To: <86409EE4-8327-4260-912E-49ED44E07DA0@gmail.com> (message from Yuan Fu on Sat, 15 Aug 2020 23:22:42 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253846 Archived-At: > From: Yuan Fu > Date: Sat, 15 Aug 2020 23:22:42 -0400 > Cc: larsi@gnus.org, > emacs-devel@gnu.org > > > 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. OK, let's go with this method.