From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4751: 23.1; `read-char' inserts accented chars when you use `M-' modifier Date: Sun, 18 Oct 2009 22:15:42 -0400 Message-ID: References: <5FBBD1BB0E704C769D622880A6ED636B@us.oracle.com> Reply-To: Stefan Monnier , 4751@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255919292 12197 80.91.229.12 (19 Oct 2009 02:28:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 02:28:12 +0000 (UTC) Cc: 4751@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 04:28:02 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 1Mzhyc-0004Z5-9v for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 04:28:02 +0200 Original-Received: from localhost ([127.0.0.1]:48852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzhyb-00038n-Q6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Oct 2009 22:28:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mzhxw-0002ZC-Iw for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:27:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mzhxr-0002WM-7F for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:27:19 -0400 Original-Received: from [199.232.76.173] (port=49733 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mzhxq-0002WG-U9 for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:27:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36665) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mzhxq-00069G-DQ for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 22:27:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J2RCIT007449; Sun, 18 Oct 2009 19:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9J2P8jC007022; Sun, 18 Oct 2009 19:25:08 -0700 Resent-Date: Sun, 18 Oct 2009 19:25:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 19 Oct 2009 02:25:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4751 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4751-submit@emacsbugs.donarmstrong.com id=B4751.12559185506148 (code B ref 4751); Mon, 19 Oct 2009 02:25:08 +0000 Original-Received: (at 4751) by emacsbugs.donarmstrong.com; 19 Oct 2009 02:15:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J2Fmpd006136 for <4751@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 19:15:49 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsYEAPto20pLd/m0/2dsb2JhbACBUtdFhDEEiAU X-IronPort-AV: E=Sophos;i="4.44,582,1249272000"; d="scan'208";a="47776786" Original-Received: from 75-119-249-180.dsl.teksavvy.com (HELO ceviche.home) ([75.119.249.180]) by ironport2-out.pppoe.ca with ESMTP; 18 Oct 2009 22:15:42 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C7E83B408B; Sun, 18 Oct 2009 22:15:42 -0400 (EDT) In-Reply-To: <5FBBD1BB0E704C769D622880A6ED636B@us.oracle.com> (Drew Adams's message of "Sun, 18 Oct 2009 14:44:45 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 18 Oct 2009 22:27:19 -0400 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:32086 Archived-At: > This is probably a feature, not a bug. But I don't really see it > explained, and it confuses me, at least. read-char is a very low-level function, and it has many quirks in this respect (it doesn't perform all the keyboard decoding usually performed for read-key-sequence). Fixing them is generally very difficult. That's why I introduced `read-key'. I don't guarantee that it'll fix your problems, but if you can try and use it and tell us of problems you find with it, that would be helpful. Stefan