[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2386: 23.0.60; term.el doesn't manage correctly accented characters
bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard
Thu, 19 Feb 2009 15:01:15 +0100
Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux)
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 126.96.36.199 (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'
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
Major mode: Term
Minor modes in effect:
<f11> l s <return> ' é g <backspace> <backspace> <backspace>
M-x r e p o r t <tab> <return>
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-defs.el' newer than
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-site.el' newer than
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-utils.el' newer than
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-buffers.el' newer than
Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-ui.el' newer than
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.
- bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard,
Matthieu Moy <=