bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21586: 24.5; Wrong type argument: characterp, 134217728


From: arto
Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728
Date: Thu, 1 Oct 2015 20:45:34 +0300

On Thu, Oct 1, 2015 at 11:02 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 29 Sep 2015 22:38:43 +0300
>> From: arto <artur.penttinen@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 :(



-- 
wbw, artur penttinen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]