unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: arto <artur.penttinen@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21586@debbugs.gnu.org
Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728
Date: Thu, 1 Oct 2015 20:45:34 +0300	[thread overview]
Message-ID: <CAFtxn2mjUm8oN1xoJXcc0Ek5kXZ2r77jhWtF91RDTvTDm9F1zg@mail.gmail.com> (raw)
In-Reply-To: <83oagj9ftw.fsf@gnu.org>

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	other threads:[~2015-10-01 17:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29 19:38 bug#21586: 24.5; Wrong type argument: characterp, 134217728 arto
2015-09-30 21:13 ` Drew Adams
2015-10-01 17:40   ` arto
2015-10-01  8:02 ` Eli Zaretskii
2015-10-01 17:45   ` arto [this message]
2015-10-01 19:17     ` arto
2015-10-01 19:18       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFtxn2mjUm8oN1xoJXcc0Ek5kXZ2r77jhWtF91RDTvTDm9F1zg@mail.gmail.com \
    --to=artur.penttinen@gmail.com \
    --cc=21586@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).