From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: chinese word mode Date: Fri, 08 Nov 2013 11:36:28 +0800 Message-ID: <87li0z5zur.fsf@ericabrahamsen.net> References: <87zjpg2yt0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383881730 8002 80.91.229.3 (8 Nov 2013 03:35:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2013 03:35:30 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 08 04:35:34 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vecr3-00073G-VS for ged-emacs-devel@m.gmane.org; Fri, 08 Nov 2013 04:35:30 +0100 Original-Received: from localhost ([::1]:43704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vecr3-0007aG-HY for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 22:35:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vecqv-0007aA-0d for emacs-devel@gnu.org; Thu, 07 Nov 2013 22:35:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vecqp-0007do-SG for emacs-devel@gnu.org; Thu, 07 Nov 2013 22:35:20 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vecqp-0007df-Ks for emacs-devel@gnu.org; Thu, 07 Nov 2013 22:35:15 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vecqn-0006Nk-IV for emacs-devel@gnu.org; Fri, 08 Nov 2013 04:35:13 +0100 Original-Received: from 123.122.38.242 ([123.122.38.242]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Nov 2013 04:35:13 +0100 Original-Received: from eric by 123.122.38.242 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Nov 2013 04:35:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.38.242 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:y061wvR/O5YUzpQGyZStFEqxe1I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165060 Archived-At: Kenichi Handa writes: > In article , Stefan Monnier writes: > >> > Assuming I fix this problem and other inevitable bugs, would this >> > library be of general interest to Emacs? The dictionary comes from the > >> Handa? Any comment on this suggestion? > > I agree that such a feature is useful for Chinese users. > But I have one question. > >> The idea is that an entire dictionary of words are provided in a nested >> char table, and then a minor mode both remaps most word-related commands >> to use that dictionary, and fill-find-break-point-function is rewired to >> do the same. > > I understand that such commands as M-f and M-d will get more > convenient on Chiense text, but I don't understandd the > latter part; i.e. the need for working on > fill-find-break-point-function. As far as I know, Chinese > text (as well as Japanese text) can be broken at any point > except for "kinsoku" processing. So there's no need to > change the current behavior as to line-breaking. Am I > missing something? Huh, interesting -- I'd been thinking entirely in terms of making Chinese editing easier on the eyes, rather than Chinese typographical conventions. But you're right, breaking words is perfectly okay. I can add a chinese-word-enable-kinsoku option, and then add the "<" and ">" categories to the characters that need them. Eric