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


Message #8 received at 5193 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 5193 <at> debbugs.gnu.org
Subject: Re: 23.1; single-key-description problem
Date: Sun, 18 Sep 2011 11:56:23 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> 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.

Something seems to have changed here:

(single-key-description 128) => "€"
(single-key-description 4194303) => "\301\277"

But it's essentially still the same -- the 128 is a string of one
character, and the other one is a string of 8 characters.

I have no idea whether this is a bug or a feature, though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




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

Previous Next


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