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


View this message in rfc822 format

From: arto <artur.penttinen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 21586 <at> debbugs.gnu.org
Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728
Date: Thu, 1 Oct 2015 22:17:50 +0300
On Thu, Oct 1, 2015 at 8:45 PM, arto <artur.penttinen <at> gmail.com> wrote:
> On Thu, Oct 1, 2015 at 11:02 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>>> 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"?
>
>   Yes, emacs -Q working well.
>   Seems be error in some modules in my system :(


  Found, that problem was in Jari Aalto's _old_ "tiny" package (tinylibb.el),
  function (ti::compat-define-compatibility-defalias), as i understood
  Jari create here some aliases for internal functions (for compatibility
  between GNUEmacs and XEmacs).

  In new version all ok.

  Sorry...


-- 
wbw, artur penttinen




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.