From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@suse.de>
Cc: Aidan Kehoe <kehoea@parhasard.net>, 17909-done@debbugs.gnu.org
Subject: bug#17909: 24.4.50; #'read-char fails with non-ASCII characters on the TTY
Date: Thu, 03 Jul 2014 12:30:09 -0400 [thread overview]
Message-ID: <jwvsimi9zzm.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <mvmbnt6zbx6.fsf@hawking.suse.de>
tags 17909 notabug
thanks
>> From NEWS:
> * Incompatible Lisp Changes in Emacs 24.4
> ** `read-event' does not return decoded chars in ttys any more.
> As was the case in Emacs 22 and before, the decoding of terminal
> input, according to `keyboard-coding-system', is not performed in
> `read-event' any more. But unlike in Emacs 22, this decoding is still
> done before `input-decode-map', `function-key-map', etc.
Oops, indeed, the above text is incorrect. Whether the decoding is done
or not depends on the value of the `inherit-input-method' argument.
IOW, use (read-char nil t). Note that in many cases, `read-key' is
a better choice than read-char.
I changed etc/NEWS accordingly.
Stefan
prev parent reply other threads:[~2014-07-03 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 14:52 bug#17909: 24.4.50; #'read-char fails with non-ASCII characters on the TTY Aidan Kehoe
2014-07-03 15:42 ` Andreas Schwab
2014-07-03 16:30 ` Stefan Monnier [this message]
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=jwvsimi9zzm.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17909-done@debbugs.gnu.org \
--cc=kehoea@parhasard.net \
--cc=schwab@suse.de \
/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.