GNU bug report logs - #21586
24.5; Wrong type argument: characterp, 134217728

Previous Next

Package: emacs;

Reported by: arto <artur.penttinen <at> gmail.com>

Date: Tue, 29 Sep 2015 19:41:03 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: arto <artur.penttinen <at> gmail.com>
Cc: 21586 <at> debbugs.gnu.org
Subject: Re: bug#21586: 24.5; Wrong type argument: characterp, 134217728
Date: Thu, 01 Oct 2015 11:02:35 +0300
> Date: Tue, 29 Sep 2015 22:38:43 +0300
> From: arto <artur.penttinen <at> gmail.com>
> 
> I'm probably found a bug when trying load paredit.el file,
> error message:
> 
>   Wrong type argument: characterp, 134217728
> 
> After short investigation was found erroneous function:
> 
>   read-kbd-macro
> 
> (read-kbd-macro "M-)") gives this error.
> 
> In this function called edmacro-parse-keys, and in it
> code contains error:
> 
>   (cl-incf bits (cdr (assq (aref word 0)
>      '((?A . ?\A-\^@) (?C . ?\C-\^@)
>        (?H . ?\H-\^@) (?M . ?\M-\^@)
>        (?s . ?\s-\^@) (?S . ?\S-\^@)))))
> 
> This is a short snippet for demo of error:
> 
> (setq aa (assq (aref "M-)" 0)
>       '((?M . ?\M-\^@)))) -> (77 . 134217728)
> 
> (format "%s" aa) -> "(77 . 134217728)"
> 
> (cdr aa) -> Wrong type argument: characterp, 134217728
> 
> Is it a bug, or new feature or limitation?

This doesn't happen to me.  Can you reproduce this in "emacs -Q"?




This bug report was last modified 9 years and 238 days ago.

Previous Next


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