From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17412: 24.3; Unicode key events broken, not usable in input method Date: Tue, 06 May 2014 12:06:47 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399413651 22536 80.91.229.3 (6 May 2014 22:00:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 22:00:51 +0000 (UTC) Cc: 17412@debbugs.gnu.org To: Stefan Dorn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 07 00:00:42 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WhnPa-00015O-Rj for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 00:00:30 +0200 Original-Received: from localhost ([::1]:36248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whhtr-0005lB-60 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 May 2014 12:07:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Whhtf-0005e1-Iq for bug-gnu-emacs@gnu.org; Tue, 06 May 2014 12:07:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhhtW-0006E2-SA for bug-gnu-emacs@gnu.org; Tue, 06 May 2014 12:07:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhhtW-0006Dq-OK for bug-gnu-emacs@gnu.org; Tue, 06 May 2014 12:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WhhtW-0002bG-C5 for bug-gnu-emacs@gnu.org; Tue, 06 May 2014 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 May 2014 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17412-submit@debbugs.gnu.org id=B17412.13993924159970 (code B ref 17412); Tue, 06 May 2014 16:07:02 +0000 Original-Received: (at 17412) by debbugs.gnu.org; 6 May 2014 16:06:55 +0000 Original-Received: from localhost ([127.0.0.1]:53007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhhtO-0002ai-U5 for submit@debbugs.gnu.org; Tue, 06 May 2014 12:06:55 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:18537) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhhtL-0002aR-3h for 17412@debbugs.gnu.org; Tue, 06 May 2014 12:06:52 -0400 Original-Received: from ceviche.home ([24.201.53.56]) by VL-VM-MR002.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0N5500HISU3CLK90@VL-VM-MR002.ip.videotron.ca> for 17412@debbugs.gnu.org; Tue, 06 May 2014 12:06:50 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 392AC66094; Tue, 06 May 2014 12:06:47 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88643 Archived-At: > Digging around in keyboard.c, I found that read_char() only passes > events with keycode < 256 (line 3050ff) to input-method-function: Indeed, this has been in the input-method design from the start. I'd be interested to know why. Handa? > [322] as key event seems strange to me. The XLib keycode for "=C5=82" (as > reported by xev) is 0x1000142. Maybe Emacs cuts off the leading bit? 322 =3D U+0142, so it's really not strange at all: Emacs uses Unicode internally. Stefan