GNU bug report logs -
#2386
23.0.60; term.el doesn't manage correctly accented characters typed from keyboard
Previous Next
Reported by: Matthieu Moy <Matthieu.Moy <at> imag.fr>
Date: Thu, 19 Feb 2009 14:20:02 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2386 in the body.
You can then email your comments to 2386 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2386
; Package
emacs
.
(Thu, 19 Feb 2009 14:20:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Matthieu Moy <Matthieu.Moy <at> imag.fr>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 19 Feb 2009 14:20:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2386
; Package
emacs
.
(Thu, 19 Feb 2009 17:25:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Schwab <schwab <at> suse.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 19 Feb 2009 17:25:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 2386 <at> emacsbugs.donarmstrong.com (full text, mbox):
Matthieu Moy <Matthieu.Moy <at> 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 <at> 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."
bug closed, send any further explanations to Matthieu Moy <Matthieu.Moy <at> imag.fr>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Fri, 20 Feb 2009 01:50:06 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Fri, 20 Mar 2009 14:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.