From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Meta characters in strings Date: Sun, 30 Nov 2008 00:35:05 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228023327 515 80.91.229.12 (30 Nov 2008 05:35:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 05:35:27 +0000 (UTC) Cc: handa@m17n.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 30 06:36:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6eyr-0008Ad-Nu for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 06:36:30 +0100 Original-Received: from localhost ([127.0.0.1]:44686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6exf-0007RY-6j for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 00:35:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6exb-0007RL-4A for emacs-devel@gnu.org; Sun, 30 Nov 2008 00:35:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6exY-0007R0-9u for emacs-devel@gnu.org; Sun, 30 Nov 2008 00:35:10 -0500 Original-Received: from [199.232.76.173] (port=40530 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6exY-0007Qx-6I for emacs-devel@gnu.org; Sun, 30 Nov 2008 00:35:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12195) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6exW-0006Ib-3U; Sun, 30 Nov 2008 00:35:06 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoEAEu1MUnO+Jkl/2dsb2JhbACBbcwhgn2BJA X-IronPort-AV: E=Sophos;i="4.33,689,1220241600"; d="scan'208";a="30443113" Original-Received: from 206-248-153-37.dsl.teksavvy.com (HELO pastel.home) ([206.248.153.37]) by ironport2-out.teksavvy.com with ESMTP; 30 Nov 2008 00:35:05 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2638F84C0; Sun, 30 Nov 2008 00:35:05 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Sat, 29 Nov 2008 23:35:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106332 Archived-At: >> > Is this text from the ELisp manual still correct? >> > Sometimes key sequences are represented as strings. When a string is >> > a key sequence, string elements in the range 128 to 255 represent meta >> > characters (which are large integers) rather than character >> > codes in the range 128 to 255. >> >> Almost: it's only true if the string is unibyte. > That's not what I see: > (multibyte-char-to-unibyte ?\M-a) > => wrong-type-argument characterp 134217825 Why do you think this is related to the text you quoted? > What am I missing? The text only talks about what happens if you do (define-key map "\M-a" 'foo) Note that "\M-a" is a unibyte string whose first byte is 225. Stefan