From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.60; substitute-command-keys incorrect for self-insert-command Date: Tue, 13 May 2008 20:56:23 -0700 Message-ID: <004b01c8b576$7a3dfbb0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210737442 14942 80.91.229.12 (14 May 2008 03:57:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 03:57:22 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 05:57:57 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 1Jw87o-00028K-3c for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 05:57:56 +0200 Original-Received: from localhost ([127.0.0.1]:53241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw874-0004rd-TW for ged-emacs-devel@m.gmane.org; Tue, 13 May 2008 23:57:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jw86y-0004r9-Gw for emacs-devel@gnu.org; Tue, 13 May 2008 23:57:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jw86x-0004qw-CV for emacs-devel@gnu.org; Tue, 13 May 2008 23:57:03 -0400 Original-Received: from [199.232.76.173] (port=60861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jw86x-0004qt-77 for emacs-devel@gnu.org; Tue, 13 May 2008 23:57:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jw86w-0007xv-Qi for emacs-devel@gnu.org; Tue, 13 May 2008 23:57:02 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:39272) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jw85z-0001Lx-Ki for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:56:03 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jw86t-0007xR-3j for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:57:02 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:32313) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jw86s-0007xJ-Pb for emacs-pretest-bug@gnu.org; Tue, 13 May 2008 23:56:58 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m4E3uu1P028998 for ; Tue, 13 May 2008 21:56:56 -0600 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m4E3utkC005269 for ; Tue, 13 May 2008 21:56:56 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3671801281210737379; Tue, 13 May 2008 20:56:19 -0700 Original-Received: from dradamslap1 (/141.144.72.233) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 May 2008 20:56:18 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Aci1dnm/0hexmKA7QdKHz3gAgu0cxw== X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97115 gmane.emacs.pretest.bugs:22305 Archived-At: emacs -Q In *scratch* buffer, type this, then use C-x C-e after it: (princ (substitute-command-keys "\\{global-map}") (current-buffer)) You will see this: key binding --- ------- \200 .. \377 self-insert-command C-@ set-mark-command C-a move-beginning-of-line etc. The bug is that the \200 and the \377 are treated differently. The \200 is a single octal character; the \377 is four characters, \, 3, 7, 7. This has consequences for code that uses this output as input. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-05-04 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'