From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthieu Moy Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2386: 23.0.60; term.el doesn't manage correctly accented characters typed from keyboard Date: Thu, 19 Feb 2009 15:01:15 +0100 Message-ID: Reply-To: Matthieu Moy , 2386@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1235058551 7539 80.91.229.12 (19 Feb 2009 15:49:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Feb 2009 15:49:11 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 19 16:50:27 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LaBAJ-0003dF-FH for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2009 16:50:19 +0100 Original-Received: from localhost ([127.0.0.1]:54210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LaB8z-0002j5-7Z for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Feb 2009 10:48:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1La9oV-00050t-Gu for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2009 09:23:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1La9oS-0004za-BM for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2009 09:23:41 -0500 Original-Received: from [199.232.76.173] (port=51889 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La9oR-0004z5-TT for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2009 09:23:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53443) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1La9oQ-0006xy-Q4 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2009 09:23:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1JENZuE003563; Thu, 19 Feb 2009 06:23:36 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1JEK3ex002190; Thu, 19 Feb 2009 06:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Matthieu Moy Original-Sender: Matthieu Moy Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 19 Feb 2009 14:20:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2386 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1235052668451 (code B ref -1); Thu, 19 Feb 2009 14:20:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 19 Feb 2009 14:11:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-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 Original-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 Original-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 Original-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) Original-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 Original-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 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux) 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 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 19 Feb 2009 09:23:40 -0500 X-Mailman-Approved-At: Thu, 19 Feb 2009 10:48:19 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25466 gmane.emacs.pretest.bugs:23942 Archived-At: 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