* bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard
@ 2009-02-19 14:01 Matthieu Moy
2009-02-19 17:19 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Matthieu Moy @ 2009-02-19 14:01 UTC (permalink / raw)
To: emacs-pretest-bug
Hi,
I have $LANG: en_US.UTF-8, and emacs22 used to accept accented
characters typed in a *ansi-term* buffer :
(from emacs22 -Q with M-x ansi-term RET)
$ echo 'éèàù'
éèàù
Emacs23 fails here: accented characters appear when I type them, and
disapear immediately after I type anything else. This seems to be
because accented letters are bound to `self-insert-command' instead of
beign bound to `term-send-raw' as it used to be the case with Emacs22.
As a workaround, I have this:
(dolist (letter (string-to-list "éÉèÈçÇæÆòÒìÌàÀ€°←↓µùÙè«» "))
(define-key term-raw-map (vector letter) 'term-send-raw))
But I'm sure a cleaner fix is possible.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/moy/local/usr/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2008-09-10 on bauges
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-x-toolkit=gtk' '--prefix=/home/moy/local/usr/''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Term
Minor modes in effect:
erc-track-mode: t
recentf-mode: t
global-whitespace-mode: t
global-hl-line-mode: t
icomplete-mode: t
auto-image-file-mode: t
which-function-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
Recent input:
<f11> l s <return> ' é g <backspace> <backspace> <backspace>
M-x r e p o r t <tab> <return>
Recent messages:
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-defs.el' newer than byte-compiled file
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-site.el' newer than byte-compiled file
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-utils.el' newer than byte-compiled file
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-buffers.el' newer than byte-compiled file
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-ui.el' newer than byte-compiled file
Loading /home/moy/usr/emacs-lisp/dvc/moy/dvc-load.el (source)...done
Loading /home/moy/usr/emacs-lisp/nxml-mode-20041004/rng-auto.el (source)...done
Loading .emacs.el : Done
Agent pid 5584
For information about GNU Emacs and the GNU system, type C-h C-a.
--
Matthieu
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard
2009-02-19 14:01 bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard Matthieu Moy
@ 2009-02-19 17:19 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2009-02-19 17:19 UTC (permalink / raw)
To: Matthieu Moy; +Cc: 2386
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
> I have $LANG: en_US.UTF-8, and emacs22 used to accept accented
> characters typed in a *ansi-term* buffer :
>
> (from emacs22 -Q with M-x ansi-term RET)
>
> $ echo 'éèàù'
> éèàù
>
> Emacs23 fails here: accented characters appear when I type them, and
> disapear immediately after I type anything else.
Fixed.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-19 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 14:01 bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard Matthieu Moy
2009-02-19 17:19 ` Andreas Schwab
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).