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: Cedilla input in UTF-8 locale with dead keys. Date: Mon, 15 Oct 2007 21:09:07 +0900 Message-ID: References: <1192198027.4579.11.camel@hamlet.sagui> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=ISO-2022-JP-2 X-Trace: ger.gmane.org 1192450288 24250 80.91.229.12 (15 Oct 2007 12:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 12:11:28 +0000 (UTC) Cc: gustavo@sagui.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 15 14:11:18 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 1IhOmQ-0002s1-31 for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 14:10:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhOmJ-0006OC-5a for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 08:10:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhOlE-0005Xp-Sn for emacs-devel@gnu.org; Mon, 15 Oct 2007 08:09:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhOlD-0005Wn-Ux for emacs-devel@gnu.org; Mon, 15 Oct 2007 08:09:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhOlD-0005Wa-Qf for emacs-devel@gnu.org; Mon, 15 Oct 2007 08:09:27 -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 1IhOlC-0004Rx-Sy for emacs-devel@gnu.org; Mon, 15 Oct 2007 08:09:27 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l9FC9Kjx013245; Mon, 15 Oct 2007 21:09:21 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l9FC9Kxh004676; Mon, 15 Oct 2007 21:09:20 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id l9FC97t2006165; Mon, 15 Oct 2007 21:09:07 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IhOkt-0005je-4T; Mon, 15 Oct 2007 21:09:07 +0900 In-reply-to: <1192198027.4579.11.camel@hamlet.sagui> (message from Gustavo Maciel Dias Vieira on Fri, 12 Oct 2007 11:07:07 -0300) 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:80913 Archived-At: 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 $(D+.(B (c-cedilla) in gnome-terminal, but it inserts $(D++(B (c-acute) in Emacs. But, it seems that inserting c-cedilla is the behaviour only with GNOME/GTK applications (and OpenOffice, Mozilla). For instance, xev reports "RightAlt-' c" as c-acute, any KDE applications (e.g. kedit) insert c-acute. Gustavo, could you also try them? I'm not sure what we should do. Emacs is not a GTK application even if it is configured with --with-gtk. But, from the user point of view, I think it is better that it insert c-cedilla as well as the other GNOME applications. But, as I'm not that familiar with GTK programming, I don't know how to do that. --- Kenichi Handa handa@m17n.org ------- Start of forwarded message ------- From: Gustavo Maciel Dias Vieira To: bug-gnu-emacs@gnu.org MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Date: Wed, 3 Oct 2007 14:00:55 -0300 (BRT) Subject: Cedilla input in UTF-8 locale with dead keys. If you use the combination of Emacs 22, a US keyboard and dead keys in a UTF-8 locale, the combination of '+c will give you $(D++(B (accented-c) instead of $(D+.(B (cedilla). Granted, not everyone will want a cedilla, but some people will do. Brazilians for example. GTK2 had the same issue some time ago and they created an input method called "cedilla" that is activated based on locale.