From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Using quail input methods to translate buffer text. Date: Fri, 21 Jul 2006 13:16:59 +0900 Message-ID: References: <87k66rlqys.fsf@heslin.eclipse.co.uk> <87y7v5fvp2.fsf@dur.ac.uk> <8764i9caau.fsf@heslin.eclipse.co.uk> <87zmfkhqfm.fsf@catnip.gol.com> <87u05shq6q.fsf@catnip.gol.com> <87ac7hupt2.fsf@heslin.eclipse.co.uk> <87lkqob2fe.fsf@heslin.eclipse.co.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1153455522 25018 80.91.229.2 (21 Jul 2006 04:18:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2006 04:18:42 +0000 (UTC) Cc: emacs-devel@gnu.org, pj@heslin.eclipse.co.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 21 06:18:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G3mTF-0000dJ-VV for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 06:18:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3mTF-0005Fw-AD for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2006 00:18:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G3mSQ-0004bf-LU for emacs-devel@gnu.org; Fri, 21 Jul 2006 00:17:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G3mSP-0004a6-BW for emacs-devel@gnu.org; Fri, 21 Jul 2006 00:17:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3mSP-0004Zk-32 for emacs-devel@gnu.org; Fri, 21 Jul 2006 00:17:45 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G3mSh-0007N5-7e; Fri, 21 Jul 2006 00:18:03 -0400 Original-Received: from smtp4.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k6L4HefX000072; Fri, 21 Jul 2006 13:17:40 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp4.aist.go.jp with ESMTP id k6L4Hdte004476; Fri, 21 Jul 2006 13:17:39 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1G3mRf-0001XF-00; Fri, 21 Jul 2006 13:16:59 +0900 Original-To: Miles Bader In-reply-to: (message from Miles Bader on Fri, 21 Jul 2006 11:56:58 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) 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 Xref: news.gmane.org gmane.emacs.devel:57408 Archived-At: In article , Miles Bader writes: > Kenichi Handa writes: >> I think it's not worth working on quail-conv to make it work >> correctly for all cases. How about just make it work well >> for simple input methods (i.e. ones that (quail-simple) >> return t) and reject complicated input methods. > That doesn't seem right -- (quail-simple) returns nil for Japanese, but > still, just the roman letters -> hiragana functionality of Peter's > function seems useful. Even for japanese, it can't do correct converions of "kanji" or "ippai" (I've not yet read quail-conv.el in detail why it doesn't work for them). > I'd say don't "reject" anything, simply put a note in the docstring that > the behavior is not necessarily useful for more complicated interactive > input methods. Ummm, that may be ok. But, if quail-conv gives up handling of complicated one, I think the code can be far simpler (like the original version). --- Kenichi Handa handa@m17n.org