GNU bug report logs - #5193
23.1; single-key-description problem

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 12 Dec 2009 16:10:05 UTC

Severity: normal

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#5193: closed (23.1; single-key-description problem)
Date: Mon, 19 Sep 2011 21:29:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 19 Sep 2011 23:23:14 +0200
with message-id <m2r53ctef1.fsf <at> igel.home>
and subject line Re: bug#5193: 23.1; single-key-description problem
has caused the debbugs.gnu.org bug report #5193,
regarding 23.1; single-key-description problem
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
5193: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5193
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; single-key-description problem
Date: Sat, 12 Dec 2009 08:03:33 -0800
[Message part 3 (text/plain, inline)]
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)'
 
 
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, 5193-done <at> debbugs.gnu.org
Subject: Re: bug#5193: 23.1; single-key-description problem
Date: Mon, 19 Sep 2011 23:23:14 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> 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, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


This bug report was last modified 13 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.