From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: announcing thaiword.el? Date: Fri, 25 Mar 2005 23:26:13 +0100 (CET) Message-ID: <20050325.232613.73792307.wl@gnu.org> References: <20050325.081838.163323532.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111790493 11114 80.91.229.2 (25 Mar 2005 22:41:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 22:41:33 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 25 23:41:33 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DExUb-00019L-AS for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 23:41:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DExkA-0001EZ-IY for ged-emacs-devel@m.gmane.org; Fri, 25 Mar 2005 17:57:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DExhA-0000GR-T9 for emacs-devel@gnu.org; Fri, 25 Mar 2005 17:54:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DExh2-0000CK-D1 for emacs-devel@gnu.org; Fri, 25 Mar 2005 17:54:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DExh1-00008h-OD for emacs-devel@gnu.org; Fri, 25 Mar 2005 17:54:15 -0500 Original-Received: from [212.227.126.191] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DExJD-0003Hg-GJ; Fri, 25 Mar 2005 17:29:39 -0500 Original-Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DExJC-0008F0-00; Fri, 25 Mar 2005 23:29:38 +0100 Original-Received: from [84.175.149.190] (helo=rigel.site) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1DExJC-0007zq-00; Fri, 25 Mar 2005 23:29:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by rigel.site (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j2PMQDsu012990; Fri, 25 Mar 2005 23:26:13 +0100 Original-To: monnier@iro.umontreal.ca In-Reply-To: X-Mailer: Mew version 4.2.50 on Emacs 22.0.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2dc398bc694a1e60948148ba0a42c0da X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:35169 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35169 > The explanation is that you're not talking about the same thing. > Changing the forward-word function is out of the question (it's a > function used at may places, so changing its behavior has to be done > extremely carefully). That's what Richard is talking about. OK. > Whereas you're maybe just talking about M-f and M-b, which can be > changed with something like a thai-word-mode minor mode, to which > nobody would object. Hmm, I really think that in a Thai environment the word movement functions should automatically handle Thai, without special activation. In general, a hook into forward-word and friends to handle scripts which don't use a space for word boundaries is a must IMHO as soon as we have native Unicode support. As a compromise I suggest that M-f and M-b are mapped to thai-forward-word and thai-backward-word, respectively, as soon as we enter the Thai environment. This should be a two-liner or so for the experienced Emacs Lisp hacker (which I'm not, unfortunately). Any Thai users on the list which actually want to test those functions? Werner