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: Thu, 24 Mar 2005 22:11:57 +0100 (CET) Message-ID: <20050324.221157.261479181.wl@gnu.org> References: <20050324.082923.56138025.wl@gnu.org> <01c530a9$Blat.v2.4$9597ffa0@zahav.net.il> 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 1111698917 11087 80.91.229.2 (24 Mar 2005 21:15:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2005 21:15:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 24 22:15:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEZfZ-0003ZW-Ps for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2005 22:15:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEZuv-0006Aj-PL for ged-emacs-devel@m.gmane.org; Thu, 24 Mar 2005 16:31:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DEZub-00066c-Gu for emacs-devel@gnu.org; Thu, 24 Mar 2005 16:30:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DEZuX-00064z-SD for emacs-devel@gnu.org; Thu, 24 Mar 2005 16:30:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEZuX-00064H-2h for emacs-devel@gnu.org; Thu, 24 Mar 2005 16:30:37 -0500 Original-Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DEZdR-0004Gn-0w; Thu, 24 Mar 2005 16:12:57 -0500 Original-Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DEZdQ-0001SQ-00; Thu, 24 Mar 2005 22:12:56 +0100 Original-Received: from [84.175.182.89] (helo=rigel.site) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1DEZdQ-0004Gz-00; Thu, 24 Mar 2005 22:12:56 +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 j2OLBwsu000711; Thu, 24 Mar 2005 22:11:58 +0100 Original-To: eliz@gnu.org In-Reply-To: <01c530a9$Blat.v2.4$9597ffa0@zahav.net.il> 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:35113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35113 > > Shouldn't it be announced somehow in the NEWS file? > > I'd love to do that, but the file was handed to me without a single > word about its usage, not even where to put it in the Lisp > hierarchy. It's in the right place IMHO. > So I have no idea what to say in NEWS. But if you (or someone else) > write up a NEWS entry, I will gladly install it. Assuming that selecting `Thai' as the language environment activates thai-forward-word and thai-backward-word, I suggest something like this: forward-word and backward-ward now also work for Thai text if the `Thai' language environment is active. The functions thai-forward-word and thai-backward-word are mapped to forward-word and backward-word, respectively. Another useful function (defined in thai-word.el) is thai-break-words which inserts a separator string at word boundaries. > > Additionally, I think it would be a good idea to automatically use > > thai-forward-word and thai-backward-word (which are supersets of > > forward-word and backward-word, respectively) if `Thai' is > > selected as the language environment. > > Again, if you suggest a patch, I will install it. Uh, oh, I hope Ken'ichi-san can help! I don't know how to do that. It seems to me that the `setup-function' property in the language-info-alist for Thai would be the right place for a hook. Werner