From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
Subject: bug#240: 23.0.60; substitute-command-keys incorrect for self-insert-command
Date: Tue, 13 May 2008 20:56:23 -0700 [thread overview]
Message-ID: <004b01c8b576$7a3dfbb0$0200a8c0__40666.9717318893$1210738367$gmane$org@us.oracle.com> (raw)
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'
next reply other threads:[~2008-05-14 3:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-14 3:56 Drew Adams [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-19 21:02 bug#240: 23.0.60; substitute-command-keys incorrect for self-insert-command Chong Yidong
2008-08-19 21:02 Chong Yidong
2008-08-19 21:43 ` bug#240: " Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004b01c8b576$7a3dfbb0$0200a8c0__40666.9717318893$1210738367$gmane$org@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=240@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.