From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728 Date: Thu, 01 Oct 2015 11:02:35 +0300 Message-ID: <83oagj9ftw.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443709811 11290 80.91.229.3 (1 Oct 2015 14:30:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 14:30:11 +0000 (UTC) Cc: 21586@debbugs.gnu.org To: arto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 16:30:01 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zherw-0003ez-Qf for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 16:30:00 +0200 Original-Received: from localhost ([::1]:50930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zherw-00078Y-5K for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 10:30:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhYpV-000803-RV for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 04:03:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhYpS-0006wV-Lq for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 04:03:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhYpS-0006wR-JC for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhYpS-0005d5-50 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 04:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 08:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21586-submit@debbugs.gnu.org id=B21586.144368656921619 (code B ref 21586); Thu, 01 Oct 2015 08:03:02 +0000 Original-Received: (at 21586) by debbugs.gnu.org; 1 Oct 2015 08:02:49 +0000 Original-Received: from localhost ([127.0.0.1]:49867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhYpF-0005cc-HM for submit@debbugs.gnu.org; Thu, 01 Oct 2015 04:02:49 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:34323) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhYpC-0005cQ-EF for 21586@debbugs.gnu.org; Thu, 01 Oct 2015 04:02:47 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NVJ000007N0NG00@mtaout29.012.net.il> for 21586@debbugs.gnu.org; Thu, 01 Oct 2015 11:03:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVJ009VQ7PZ3F90@mtaout29.012.net.il>; Thu, 01 Oct 2015 11:03:35 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107136 Archived-At: > Date: Tue, 29 Sep 2015 22:38:43 +0300 > From: arto > > 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"?