--- Begin Message ---
Subject: |
23.1; single-key-description problem |
Date: |
Sat, 12 Dec 2009 08:03:33 -0800 |
emacs -Q
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.
In GNU Emacs 23.1.1
(i386-mingw-nt5.1.2600)
of 2009-07-29 on SOFT-MJASON
Windowing
system distributor `Microsoft Corp.', version 5.1.2600
configured using
`configure --with-gcc (4.4)'
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#5193: 23.1; single-key-description problem |
Date: |
Mon, 19 Sep 2011 23:23:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> Showing the internal representation of byte characters is clearly a bug.
Fixed on emacs-23.
> I.e. (single-key-description 4194303) could/should return something like
> "\377" either as a single char or as 4 chars.
The four char form is just the print representation and has nothing to
do with single-key-description.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--- End Message ---