From: Eli Zaretskii <eliz@gnu.org>
To: arto <artur.penttinen@gmail.com>
Cc: 21586@debbugs.gnu.org
Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728
Date: Thu, 01 Oct 2015 11:02:35 +0300 [thread overview]
Message-ID: <83oagj9ftw.fsf@gnu.org> (raw)
In-Reply-To: <CAFtxn2kNz-H-Z7PAOuEuEB3-abpsL9_t9=xqj420h4wokLiqPw@mail.gmail.com>
> 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"?
next prev parent reply other threads:[~2015-10-01 8:02 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 [this message]
2015-10-01 17:45 ` arto
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83oagj9ftw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=21586@debbugs.gnu.org \
--cc=artur.penttinen@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.