emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.60; substitute-command-keys incorrect for self-insert-command


From: Drew Adams
Subject: 23.0.60; substitute-command-keys incorrect for self-insert-command
Date: Tue, 13 May 2008 20:56:23 -0700

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'
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]