all messages for Emacs-related lists mirrored at yhetil.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 22:17:50 +0300	[thread overview]
Message-ID: <CAFtxn2mst7P5hRZvMQD8=xPd5VPYJamnXYmXzYVmmn=8o0n=vQ@mail.gmail.com> (raw)
In-Reply-To: <CAFtxn2mjUm8oN1xoJXcc0Ek5kXZ2r77jhWtF91RDTvTDm9F1zg@mail.gmail.com>

On Thu, Oct 1, 2015 at 8:45 PM, arto <artur.penttinen@gmail.com> wrote:
> 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 :(


  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





  reply	other threads:[~2015-10-01 19:17 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
2015-10-01 19:17     ` arto [this message]
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='CAFtxn2mst7P5hRZvMQD8=xPd5VPYJamnXYmXzYVmmn=8o0n=vQ@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 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.