From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: arto Newsgroups: gmane.emacs.bugs Subject: bug#21586: 24.5; Wrong type argument: characterp, 134217728 Date: Thu, 1 Oct 2015 22:17:50 +0300 Message-ID: References: <83oagj9ftw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1443728266 28867 80.91.229.3 (1 Oct 2015 19:37:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 19:37:46 +0000 (UTC) Cc: 21586@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 21:37:37 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 1ZhjfU-0003Y6-6H for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 21:37:28 +0200 Original-Received: from localhost ([::1]:55739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjfT-0002EA-Jz for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 15:37:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjMk-0004OL-BZ for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 15:18:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhjMg-0006Mq-4t for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 15:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjMg-0006Ml-2B for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 15:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhjMf-0002i9-OB for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 15:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: arto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 19:18:01 +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: moreinfo unreproducible Original-Received: via spool by 21586-submit@debbugs.gnu.org id=B21586.144372707410408 (code B ref 21586); Thu, 01 Oct 2015 19:18:01 +0000 Original-Received: (at 21586) by debbugs.gnu.org; 1 Oct 2015 19:17:54 +0000 Original-Received: from localhost ([127.0.0.1]:51025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhjMX-0002ho-IG for submit@debbugs.gnu.org; Thu, 01 Oct 2015 15:17:53 -0400 Original-Received: from mail-wi0-f181.google.com ([209.85.212.181]:33912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhjMV-0002hf-KA for 21586@debbugs.gnu.org; Thu, 01 Oct 2015 15:17:52 -0400 Original-Received: by wicfx3 with SMTP id fx3so4768102wic.1 for <21586@debbugs.gnu.org>; Thu, 01 Oct 2015 12:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iqgbfoDrZd5AExDWKTBCBrinZxjuNGVqtxT8lJr+w+E=; b=Pg/LiK0GgYkRNShgU5+esH3S920GOrdCoxDasEpzAydpgerotJXELYT+jjfdS5+nL/ FtCny/9AThsNSWZf9yLox7EjppYgA04o7lMEHXyg9k7ts8dQfEjz0iuvSQsSTOzd8Znh x1EDUr0FfLq1gKcwAzggDwelu+dfuNhTZMLiGndlUT18pfotHuNSOK9LJXwWbB1Ct1Y1 t1wZDhjeJd6xoyVk0XWleeKzjvewSMdkOb/t9WFfSg+rgVxR6x8Yd1KiOPbqsNT2SuxM JswHylLgiw8krF4YUTKRNXtcBalS80IUKHmEiwSX56qaDrLPdhgUDW6xoS5eC0wNwocT UFcw== X-Received: by 10.180.108.162 with SMTP id hl2mr346267wib.89.1443727071028; Thu, 01 Oct 2015 12:17:51 -0700 (PDT) Original-Received: by 10.28.224.84 with HTTP; Thu, 1 Oct 2015 12:17:50 -0700 (PDT) In-Reply-To: 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:107179 Archived-At: On Thu, Oct 1, 2015 at 8:45 PM, arto wrote: > On Thu, Oct 1, 2015 at 11:02 AM, Eli Zaretskii wrote: >>> 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"? > > 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