From unknown Sat Aug 16 20:57:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#2386 <2386@debbugs.gnu.org> To: bug#2386 <2386@debbugs.gnu.org> Subject: Status: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard Reply-To: bug#2386 <2386@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:57:06 +0000 retitle 2386 23.0.60; term.el doesn't manage correctly accented characters = typed from keyboard reassign 2386 emacs submitter 2386 Matthieu Moy severity 2386 normal thanks From Matthieu.Moy@imag.fr Thu Feb 19 06:11:08 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 19 Feb 2009 14:11:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JEB4qM000443 for ; Thu, 19 Feb 2009 06:11:05 -0800 Received: from mx10.gnu.org ([199.232.76.166]:37620) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1La9aB-00041h-It for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:08:55 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1La9c9-0004hZ-Vh for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:11:02 -0500 Received: from imag.imag.fr ([129.88.30.1]:36001) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1La9c9-0004dp-G9 for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 09:10:57 -0500 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.8/8.13.8) with ESMTP id n1JE1FAM012800 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 19 Feb 2009 15:01:15 +0100 (CET) Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1La9Sl-0001Jk-AF for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 15:01:15 +0100 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1La9Sl-0002Tj-7k for emacs-pretest-bug@gnu.org; Thu, 19 Feb 2009 15:01:15 +0100 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard From: Matthieu Moy Date: Thu, 19 Feb 2009 15:01:15 +0100 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (imag.imag.fr [129.88.30.1]); Thu, 19 Feb 2009 15:01:15 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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 '=C3=A9=C3=A8=C3=A0=C3=B9' =C3=A9=C3=A8=C3=A0=C3=B9 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 "=C3=A9=C3=89=C3=A8=C3=88=C3=A7=C3=87=C3= =A6=C3=86=C3=B2=C3=92=C3=AC=C3=8C=C3=A0=C3=80=E2=82=AC=C2=B0=E2=86=90=E2=86= =93=C2=B5=C3=B9=C3=99=C3=A8=C2=AB=C2=BB=C2=A0")) (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=3Dgtk' '--prefix=3D/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: l s ' =C3=A9 g =20 M-x r e p o r t 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 th= an byte-compiled file Source file `/home/moy/usr/emacs-lisp/dvc/moy/lisp/dvc-ui.el' newer than by= te-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. --=20 Matthieu From schwab@suse.de Thu Feb 19 09:19:23 2009 Received: (at 2386) by emacsbugs.donarmstrong.com; 19 Feb 2009 17:19:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.suse.de (mail.suse.de [195.135.220.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JHJJil025334 for <2386@emacsbugs.donarmstrong.com>; Thu, 19 Feb 2009 09:19:21 -0800 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 2ED1245748; Thu, 19 Feb 2009 18:19:18 +0100 (CET) From: Andreas Schwab To: Matthieu Moy Cc: 2386@debbugs.gnu.org Subject: Re: bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard References: X-Yow: I predict that by 1993 everyone will live in and around LAS VEGAS and wear BEATLE HAIRCUTS! Date: Thu, 19 Feb 2009 18:19:17 +0100 In-Reply-To: (Matthieu Moy's message of "Thu, 19 Feb 2009 15:01:15 +0100") Message-ID: User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Matthieu Moy 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." From cyd@stupidchicken.com Thu Feb 19 17:45:12 2009 Received: (at control) by emacsbugs.donarmstrong.com; 20 Feb 2009 01:45:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1K1j8HL015949 for ; Thu, 19 Feb 2009 17:45:09 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id A681F57E20C; Thu, 19 Feb 2009 20:46:03 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 2386 Date: Thu, 19 Feb 2009 20:46:03 -0500 Message-ID: <87k57lx4mc.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 2386 thanks From unknown Sat Aug 16 20:57:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Mar 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator