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#5193: 23.1; single-key-description problem Date: Mon, 19 Sep 2011 14:52:09 -0400 Message-ID: References: <3D223D285B60468AA6FFAEF418908EA5@us.oracle.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: dough.gmane.org 1316465110 3437 80.91.229.12 (19 Sep 2011 20:45:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 20:45:10 +0000 (UTC) Cc: 5193@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 22:45:06 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R5ki1-0004kT-JB for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2011 22:44:57 +0200 Original-Received: from localhost ([::1]:46819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ixt-0008Gz-VZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2011 14:53:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ixm-0008Gr-7Y for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2011 14:53:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5ixg-0007t4-7y for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2011 14:53:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5ixg-0007sw-4x for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2011 14:53:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R5j2Y-0007mR-3p for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2011 14:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2011 18:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5193 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5193-submit@debbugs.gnu.org id=B5193.131645865229867 (code B ref 5193); Mon, 19 Sep 2011 18:58:02 +0000 Original-Received: (at 5193) by debbugs.gnu.org; 19 Sep 2011 18:57:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5j1w-0007lV-MN for submit@debbugs.gnu.org; Mon, 19 Sep 2011 14:57:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5j1l-0007l7-6h for 5193@debbugs.gnu.org; Mon, 19 Sep 2011 14:57:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjcFALyOd05FpZ7x/2dsb2JhbABChFWhBoFgeIFTAQEEASMzIxALGgIYDgICFBgNJIgKoxWRXoEshDuBEQSgToRE X-IronPort-AV: E=Sophos;i="4.68,406,1312171200"; d="scan'208";a="137155952" Original-Received: from 69-165-158-241.dsl.teksavvy.com (HELO pastel.home) ([69.165.158.241]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 19 Sep 2011 14:52:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 65E1A591F1; Mon, 19 Sep 2011 14:52:09 -0400 (EDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 18 Sep 2011 11:56:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 19 Sep 2011 14:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51494 Archived-At: >> The character range (128 . 4194303) is bound to `self-insert-command'. >> (single-key-description 128) gives "\200" >> (single-key-description 4194303) gives "\377" >> However, in the former case, "\200" is a string with one character, >> \200. In the latter case, "\377" is a string with four characters, \, >> 3, 7, and 7. > Something seems to have changed here: > (single-key-description 128) =3D> "=E2=82=AC" This change is just the result of the switch from emacs-mule in Emacs-22 to emacs-unicode in Emacs=E2=89=A523 (i.e. 128 doesn't mean the sa= me char any more). > (single-key-description 4194303) =3D> "\301\277" > But it's essentially still the same -- the 128 is a string of one > character, and the other one is a string of 8 characters. > I have no idea whether this is a bug or a feature, though. Showing the internal representation of byte characters is clearly a bug. I.e. (single-key-description 4194303) could/should return something like "\377" either as a single char or as 4 chars. Stefan