all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: emacs-devel@gnu.org
Cc: gustavo@sagui.org
Subject: Cedilla input in UTF-8 locale with dead keys.
Date: Mon, 15 Oct 2007 21:09:07 +0900	[thread overview]
Message-ID: <E1IhOkt-0005je-4T@etlken.m17n.org> (raw)
In-Reply-To: <1192198027.4579.11.camel@hamlet.sagui> (message from Gustavo Maciel Dias Vieira on Fri, 12 Oct 2007 11:07:07 -0300)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=ISO-2022-JP-2, Size: 1603 bytes --]

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 <gustavo@sagui.org>
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.

       reply	other threads:[~2007-10-15 12:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1IdUUG-0002a3-UI@fencepost.gnu.org>
     [not found] ` <E1IgJNl-000664-EJ@etlken.m17n.org>
     [not found]   ` <1192198027.4579.11.camel@hamlet.sagui>
2007-10-15 12:09     ` Kenichi Handa [this message]
2007-10-15 12:37       ` Cedilla input in UTF-8 locale with dead keys Andreas Schwab
2007-10-15 13:13         ` Kenichi Handa
2007-10-15 13:42           ` Andreas Schwab
2007-10-16  5:12             ` Kenichi Handa
2007-10-16  8:35               ` Andreas Schwab
2007-10-16 13:21                 ` Stefan Monnier
2007-10-15 13:13       ` Jan Djärv
2007-10-15 14:02         ` Andreas Schwab
2007-10-16  7:16           ` Jan Djärv
2007-10-15 14:05         ` Stefan Monnier
2007-10-16  2:04           ` Kenichi Handa
2007-10-03 17:00 Gustavo Maciel Dias Vieira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IhOkt-0005je-4T@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=gustavo@sagui.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.