From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: invalid-function kbd on Emacs 24.2 Date: Sat, 9 Feb 2013 14:02:57 -0800 Message-ID: References: <87fw15z0qu.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360447396 16476 80.91.229.3 (9 Feb 2013 22:03:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2013 22:03:16 +0000 (UTC) To: "'Michael Heerdegen'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 23:03:37 2013 Return-path: Envelope-to: geh-help-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 1U4IWF-0006td-EV for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2013 23:03:35 +0100 Original-Received: from localhost ([::1]:33714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4IVt-0001Xg-18 for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Feb 2013 17:03:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4IVo-0001WV-8p for help-gnu-emacs@gnu.org; Sat, 09 Feb 2013 17:03:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4IVm-000496-Hz for help-gnu-emacs@gnu.org; Sat, 09 Feb 2013 17:03:07 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4IVm-00048e-Bt for help-gnu-emacs@gnu.org; Sat, 09 Feb 2013 17:03:06 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r19M349S010871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 9 Feb 2013 22:03:04 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r19M33Vj025234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Feb 2013 22:03:04 GMT Original-Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r19M33jE028421; Sat, 9 Feb 2013 16:03:03 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 09 Feb 2013 14:03:03 -0800 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <87fw15z0qu.fsf@web.de> Thread-Index: Ac4HBG/2JfOiF6InRXqTe5uN318euQADIIKw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89032 Archived-At: > > > I just compiled emacs-24.2 and then went on to install > > > haskell-mode using the package manager. When I trigger > > > M-x haskell-mode I'm presented with the following error: > > > Debugger entered--Lisp error: (invalid-function kbd) > > > kbd("C-c C-t") > > > > This doesn't happen to me, at least not with the latest haskell-mode > > from Github. Here's what I did: > > > > emacs -Q > > M-x load-file RET haskell-mode.el RET > > M-x haskell-mode RET > > > > No error after that. > > I too can't reproduce this. > > But, FWIW, I saw this kind of error several times in the past, with > different functions. Although functions were defined, I got an > `invalid function' error. Every time, only running compiled code was > affected. I have no short recipe, however. Recall that `kbd' changed recently from a macro to a function. My guess is that that might have something to do with this. Just a hunch. Maybe an old byte-compiled file is involved somehow.