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: Tue, 20 Oct 2009 15:56:22 -0400 Message-ID: References: <5FBBD1BB0E704C769D622880A6ED636B@us.oracle.com> <51BBB2631ACF4B43B6E9691BDA0B11F7@us.oracle.com> <5915254BB95348E2BB2962DF2A524778@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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1256069256 9286 80.91.229.12 (20 Oct 2009 20:07:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2009 20:07:36 +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 Tue Oct 20 22:07:25 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 1N0KzN-00030S-JV for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Oct 2009 22:07:25 +0200 Original-Received: from localhost ([127.0.0.1]:33155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0KzN-0002su-5R for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Oct 2009 16:07:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N0KzI-0002rM-U6 for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 16:07:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N0KzD-0002iq-9o for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 16:07:19 -0400 Original-Received: from [199.232.76.173] (port=56108 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N0KzD-0002ia-5e for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 16:07:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44034) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N0KzC-0002Dv-IQ for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2009 16:07: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 n9KK7Ctm026174; Tue, 20 Oct 2009 13:07:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9KK55uO025201; Tue, 20 Oct 2009 13:05:05 -0700 Resent-Date: Tue, 20 Oct 2009 13:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 20 Oct 2009 20:05:04 +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.125606859024141 (code B ref 4751); Tue, 20 Oct 2009 20:05:04 +0000 Original-Received: (at 4751) by emacsbugs.donarmstrong.com; 20 Oct 2009 19:56:30 +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.181]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9KJuScR024138 for <4751@emacsbugs.donarmstrong.com>; Tue, 20 Oct 2009 12:56:30 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgFAOqy3UpLd/m0/2dsb2JhbACBUdoUhDEEiAo X-IronPort-AV: E=Sophos;i="4.44,593,1249272000"; d="scan'208";a="47896518" Original-Received: from 75-119-249-180.dsl.teksavvy.com (HELO pastel.home) ([75.119.249.180]) by ironport2-out.pppoe.ca with ESMTP; 20 Oct 2009 15:56:23 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4AF4780E7; Tue, 20 Oct 2009 15:56:22 -0400 (EDT) In-Reply-To: <5915254BB95348E2BB2962DF2A524778@us.oracle.com> (Drew Adams's message of "Tue, 20 Oct 2009 08:05:55 -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: Tue, 20 Oct 2009 16:07: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:32134 Archived-At: > I'm also confused about `characterp' and the notion of a character. > `(elisp)Character Type' says that only integers/chars from 0 to > 4194303 can be in strings or buffers. > But ?\M-t is 134217844, Yes. > yet "\M-t" is a string with that char (`o' circumflex), \M-t in strings is a special case inherited from ASCII days where the meta modifier was used to represent the upper 8th bit. We still support it because it's very commonly (mis)used in .emacsen for key bindings, but I'd strongly recommend to stay very far away from it. And whenever \M-t is turned into =F4 (or vice-versa), this is a pretty much a bug (tho there are a few cases where fixing this bug may be difficult). The only case I know where it's a "feature" is for C-q M-t. > and (insert-char ?\M-t 1) inserts it in a buffer. I believe the patch I installed earlier to fix read_char also fixed this on= e. > a string or buffer. What is that subset (it seems to be chars < > 4194304)?=20 Yes, currently this is the subset. In Emacs-22 it was different, and who knows what the future may bring. > Wrt `read-char' what is/are the intention(s) - use cases? I really wish I knew. Stefan