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: ucs input method bug. Date: Thu, 14 Sep 2006 11:46:54 +0900 Message-ID: References: <87k64frjzg.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1158202110 4013 80.91.229.2 (14 Sep 2006 02:48:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2006 02:48:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 14 04:48:26 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 1GNhH4-0008Q0-H8 for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2006 04:48:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNhH4-0007wx-0i for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 22:48:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNhGt-0007ws-AT for emacs-devel@gnu.org; Wed, 13 Sep 2006 22:48:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNhGs-0007wg-Pt for emacs-devel@gnu.org; Wed, 13 Sep 2006 22:48:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNhGs-0007wd-LO for emacs-devel@gnu.org; Wed, 13 Sep 2006 22:48:10 -0400 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNhIi-000218-VD for emacs-devel@gnu.org; Wed, 13 Sep 2006 22:50:05 -0400 Original-Received: from smtp3.aist.go.jp ([150.29.246.12]) by mx1.aist.go.jp with ESMTP id k8E2m6qm021580; Thu, 14 Sep 2006 11:48:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id k8E2m5jL029061; Thu, 14 Sep 2006 11:48:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 3.36 #1 (Debian)) id 1GNhFe-0000hU-00; Thu, 14 Sep 2006 11:46:54 +0900 Original-To: michael.cadilhac@lrde.org (=?ISO-8859-1?Q?Micha=EBl?= Cadilhac) In-reply-to: <87k64frjzg.fsf@lrde.org> (michael.cadilhac@lrde.org) 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:59819 Archived-At: In article <87k64frjzg.fsf@lrde.org>, michael.cadilhac@lrde.org (Micha=EBl = Cadilhac) writes: > Test case: > emacs -Q > M-x set-input-method RET ucs RET > Type =AB ut =BB it will produce =AB tut =BB. > IMO, ucs strives to be Emacs by doing the command of the faulty > (unexpected) key (here =AB t =BB) while it is not needed. > I propose just to remove the part that does that. I agree. I've just installed your change, thank you. --- Kenichi Handa handa@m17n.org > [1.1.2 uni-input.patch ] > Index: leim/quail/uni-input.el > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /sources/emacs/emacs/leim/quail/uni-input.el,v > retrieving revision 1.11 > diff -c -r1.11 uni-input.el > *** leim/quail/uni-input.el 20 Apr 2006 08:38:14 -0000 1.11 > --- leim/quail/uni-input.el 7 Sep 2006 11:25:07 -0000 > *************** > *** 100,110 **** > (progn > (push key events) > (ucs-input-insert-char key)) > - (let ((last-command-char key) > - (current-prefix-arg)) > - (condition-case err > - (call-interactively (key-binding seq)) > - (quail-error (message "%s" (cdr err)) (beep)))) > (quail-delete-region) > (throw 'non-digit (append (reverse events) > (listify-key-sequence seq)))))) > --- 100,105 ---- > Index: leim/ChangeLog > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /sources/emacs/emacs/leim/ChangeLog,v > retrieving revision 1.193 > diff -c -0 -r1.193 ChangeLog > *** leim/ChangeLog 12 Jul 2006 00:33:19 -0000 1.193 > --- leim/ChangeLog 7 Sep 2006 11:25:15 -0000 > *************** > *** 0 **** > --- 1,6 ---- > + 2006-09-06 Micha=EBl Cadilhac > +=20 > + * quail/uni-input.el (ucs-input-method): Don't make the action of > + a key not in [0-9a-zA-Z] when it was expected to be. Let the Emacs > + mechanism do it. > +=20 > [1.1.3 ] > (Note: ucs input method triggered the bug I proposed to fix in the > thread =AB The order input events are processed. =BB : just type =AB uab= t =BB > in a flyspell-ized buffer, and it will introduce the bug.) > --=20 > | Micha=EBl `Micha' Cadilhac | Un certain Blaise Pascal = | > | Epita/LRDE Promo 2007 | etc... etc... = | > | http://www.lrde.org/~cadilh_m | -- Pr=E9vert (Les paris stupides) = | > `-- - JID: micha@amessage.be --' - = --' > [1.2 ] > [2 ] > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel