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: encoded-kbd-mode Date: Mon, 02 Apr 2007 11:02:36 +0900 Message-ID: References: NNTP-Posting-Host: lo.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 1175479372 29156 80.91.229.12 (2 Apr 2007 02:02:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2007 02:02:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 02 04:02:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HYBsg-0005Qi-GQ for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2007 04:02:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYBve-0001vv-Qq for ged-emacs-devel@m.gmane.org; Sun, 01 Apr 2007 22:05:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYBvc-0001vq-6P for emacs-devel@gnu.org; Sun, 01 Apr 2007 22:05:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYBvY-0001vQ-Lq for emacs-devel@gnu.org; Sun, 01 Apr 2007 22:05:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYBvY-0001vE-Cv for emacs-devel@gnu.org; Sun, 01 Apr 2007 22:05:48 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HYBsX-0005Li-S9; Sun, 01 Apr 2007 22:02:42 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id l3222b2Q003301; Mon, 2 Apr 2007 11:02:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id l3222b3B010870; Mon, 2 Apr 2007 11:02:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id l3222a9Z003082; Mon, 2 Apr 2007 11:02:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1HYBsS-0000oo-Pr; Mon, 02 Apr 2007 11:02:36 +0900 In-reply-to: (message from Richard Stallman on Sat, 31 Mar 2007 19:20:55 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.95 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-detected-kernel: Solaris 8 (1) 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:68916 Archived-At: In article , Richard Stallman writes: > Would you please explain to me the cause of the problems > in converting Meta characters? I want to fully understand > why binding (meta ?=C3=A9) won't work on Windows. Encoded-kdb-mode is designed to convert raw-byte event sequence into character event sequence by utilizing keymap look-up mechanism. So, it creates key-translation-map that maps raw-byte events to proper commands or to deeper maps. To make it handle a raw-byte event with modifers, we must create key-bindings for all combinations of modifiers. It may leads to combinatorial-explosion. We may be able to catch all events by [t], but that requires another event parsing state (extract modifiers from the event, remember it in some variable, delete modifiers from the event, feed it again to key-translation-map, modify the last character event generator to handle the remembered modifiers, etc). Another anxiety is for those Windows user who have already found this workaround: (global-set-key [?\M-\351] ...) If we make [?\M-=E9] work for Windows now, the above setting stops working. I think people accept such a breakage more tolerantly if the change is for emacs-unicode. --- Kenichi Handa handa@m17n.org