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: Cedilla input in UTF-8 locale with dead keys. Date: Tue, 16 Oct 2007 14:12:00 +0900 Message-ID: References: <1192198027.4579.11.camel@hamlet.sagui> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1192511570 18961 80.91.229.12 (16 Oct 2007 05:12:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 05:12:50 +0000 (UTC) Cc: gustavo@sagui.org, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 07:12:40 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 1IhejM-00025K-S1 for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 07:12:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhejF-0003Yr-Hw for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 01:12:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhejD-0003YI-1d for emacs-devel@gnu.org; Tue, 16 Oct 2007 01:12:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhejB-0003Y6-F2 for emacs-devel@gnu.org; Tue, 16 Oct 2007 01:12:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhejB-0003Y3-Ce for emacs-devel@gnu.org; Tue, 16 Oct 2007 01:12:25 -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 1IhejA-0007yc-OC for emacs-devel@gnu.org; Tue, 16 Oct 2007 01:12:25 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l9G5CFMN007662; Tue, 16 Oct 2007 14:12:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l9G5CBgK021842; Tue, 16 Oct 2007 14:12:11 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id l9G5C0im005695; Tue, 16 Oct 2007 14:12:00 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1Iheim-0003s3-5Z; Tue, 16 Oct 2007 14:12:00 +0900 In-reply-to: (message from Andreas Schwab on Mon, 15 Oct 2007 15:42:15 +0200) X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.aist.go.jp id l9G5CFMN007662 X-detected-kernel: by monty-python.gnu.org: 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:80990 Archived-At: In article , Andreas Schwab writes: > Kenichi Handa writes: > > In article , Andreas Schwab writes: > > >>> Kenichi Handa writes: >>> > Attached is a report about the inconsistency of dead key >>> > handling on Emacs with the other applications. I confirmed >>> > the reported behaviour with the trunk code by starting the X >>> > session in pt_BR.UTF-8 locale. Typing "RightAlt-' c" >>> > inserts =C3=A7 (c-cedilla) in gnome-terminal, but it inserts =C4=87 >>> > (c-acute) in Emacs. > > >>> Which keysym is on RightAlt-'? > > > > 0x1000107; i.e. U+0107 LATIN SMALL LETTER C WITH ACUTE > Where does the c key come into play then? Oops, my fault. The above keysym is returned by typing "RightAlt-' c". With just "RightAlt-'", xev reports these keysyms (the first one by RightAlt, the second by ': KeyPress event, serial 29, synthetic NO, window 0x3200001, root 0x4d, subw 0x3200002, time 2805295975, (32,34), root:(1428,80), state 0x0, keycode 113 (keysym 0xff20, Multi_key), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: True KeyPress event, serial 29, synthetic NO, window 0x3200001, root 0x4d, subw 0x3200002, time 2805299769, (32,34), root:(1428,80), state 0x80, keycode 48 (keysym 0x27, apostrophe), same_screen YES, XLookupString gives 1 bytes: (27) "'" XmbLookupString gives 1 bytes: (27) "'" XFilterEvent returns: True Please note that XFilterEvent is True in both cases. Thus some input method has filtered them. --- Kenichi Handa handa@m17n.org