GNU bug report logs - #6212
23.2; ^S^Q^@ --error--> Wrong type argument: characterp, 67108896

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com (Trent W. Buck)

Date: Tue, 18 May 2010 15:11:02 UTC

Severity: normal

Found in version 23.2

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Trent W. Buck" <trentbuck <at> gmail.com>
Cc: 6212 <at> debbugs.gnu.org
Subject: Re: bug#6212: 23.2; ^S^Q^@ --error--> Wrong type argument: 
	characterp, 67108896
Date: Tue, 18 May 2010 18:05:36 +0200
On Tue, May 18, 2010 at 17:10, Trent W. Buck <trentbuck <at> gmail.com> wrote:

> Attempting to insert a literal ^@ control character worked in 23.1.
> In 23.2, it results in an error: Wrong type argument: characterp,
> 67108896

`quoted-insert' is calling `read-quoted-char', which reads C-@ as the
character 0, but then does

  (lookup-key local-function-key-map (vector char))

`local-function-key-map' inherits from `function-key-map', which in
23.2 maps C-@ to C-SPC

  ;; Hitting C-SPC on text terminals, usually sends the ascii code 0 (aka C-@),
  ;; so we can't distinguish those two keys, but usually we consider C-SPC
  ;; (rather than C-@) as the "canonical" binding.
  (define-key function-key-map [?\C-@] [?\C-\s])

Presumably, by this change:

2009-10-19  Stefan Monnier  <monnier <at> iro.umontreal.ca>

	* bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.

Stefan?

    Juanma




This bug report was last modified 15 years and 64 days ago.

Previous Next


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