From: Dave Love <d.love@dl.ac.uk>
Subject: change in X character input processing
Date: 31 Oct 2002 10:55:28 +0000 [thread overview]
Message-ID: <rzqadku3mjj.fsf@albion.dl.ac.uk> (raw)
I've changed the handling of character input under X to consider the
definitions of keysyms rather than trying to decode everything for
some locale which may be inappropriate. Thus, for instance, my euro
key will work in a Latin-1 environment like the pound key (and doesn't
depend on Latin-9 support in the X libraries).
I think this DTRT generally, but if some sort of input doesn't work
right, please let me know. There seems to be a shortage of useful
documentation in this area.
Note that a given keysym produces a character from a fixed charset,
e.g. Odiaeresis always produces (make-char 'latin-iso8859-1 86). The
Kana keysyms produce mule-unicode since I'm not sure how to map them
onto CJK charsets from the defined unicodes; if anyone is sure how to
translate them, please update the table in term/x-win.el which
populates `x-keysym-table'.
Note also that input via a Compose key and other sorts of X input
methods will be different. Thus with typical XKB rules, `Compose e ='
won't produce € in a Latin-1 locale but `AltGr 4' will. (That's using
X's Multi_key and Mode_switch.)
next reply other threads:[~2002-10-31 10:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-31 10:55 Dave Love [this message]
2002-10-31 15:20 ` change in X character input processing Stefan Monnier
2002-11-01 13:54 ` Dave Love
2002-11-01 15:54 ` Stefan Monnier
2002-11-01 19:53 ` Stefan Monnier
2002-11-02 13:51 ` Dave Love
2002-11-03 3:06 ` Stefan Monnier
2002-11-06 19:04 ` Dave Love
2002-11-06 19:19 ` Stefan Monnier
2002-11-07 10:34 ` Kim F. Storm
2002-11-11 20:08 ` Dave Love
2002-11-11 19:59 ` Dave Love
2002-11-11 20:35 ` Stefan Monnier
2002-10-31 15:31 ` Stefan Monnier
2002-11-01 13:58 ` Dave Love
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rzqadku3mjj.fsf@albion.dl.ac.uk \
--to=d.love@dl.ac.uk \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).