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 11:04:23 +0900 Message-ID: References: <1192198027.4579.11.camel@hamlet.sagui> <47136773.1010302@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1192500378 29292 80.91.229.12 (16 Oct 2007 02:06:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 02:06:18 +0000 (UTC) Cc: gustavo@sagui.org, jan.h.d@swipnet.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 04:06:08 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 1Ihbo2-0002GV-Kb for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 04:05:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ihbnv-00021l-D5 for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 22:05:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ihbns-00021N-2v for emacs-devel@gnu.org; Mon, 15 Oct 2007 22:05:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ihbnq-00020w-9m for emacs-devel@gnu.org; Mon, 15 Oct 2007 22:05:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ihbnq-00020t-6m for emacs-devel@gnu.org; Mon, 15 Oct 2007 22:05:02 -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 1Ihbnp-0003dn-7d for emacs-devel@gnu.org; Mon, 15 Oct 2007 22:05:01 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l9G24YIU029709; Tue, 16 Oct 2007 11:04:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l9G24Xft003850; Tue, 16 Oct 2007 11:04:33 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id l9G24SW3010440; Tue, 16 Oct 2007 11:04:28 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IhbnD-0003qo-2B; Tue, 16 Oct 2007 11:04:23 +0900 In-reply-to: (message from Stefan Monnier on Mon, 15 Oct 2007 10:05:25 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) 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:80973 Archived-At: In article , Stefan Monnier writes: > > FWIW, Gtk+ has a special handling of this. Gtk+ also processes all compose > > itself, rather than using X. See Gtk+ sources, modules/input/imcedilla.c: > > /* The difference between this and the default input method is the handling > > * of C+acute - this method produces C WITH CEDILLA rather than C WITH ACUTE. > > * For languages that use CCedilla and not acute, this is the preferred mapping, > > * and is particularly important for pt_BR, where the us-intl keyboard is > > * used extensively. > > */ Ah! It is done by Gtk's input method. > > Since Emacs does not use Gtk+ for character input, we don't get that mapping. I see. > Looks like brain-damage on the part of the Gtk guys: if there's a problem in > this area, it should be fixed in Xlib, not in Gtk. > I'd rather follow the standard X behavior (and maybe lobby for its change), > than use some ad-hoc workaround. I fully agree. By the way, I found that c-cedilla can be input by typing "RightAlt-, c" with all applications (including Emacs) in pt_BR.UTF-8 locale. --- Kenichi Handa handa@m17n.org