From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: invalid-function kbd on Emacs 24.2 Date: Sun, 10 Feb 2013 21:37:45 +0200 Message-ID: <83mwvc559y.fsf@gnu.org> References: <87fw15z0qu.fsf@web.de> <834nhk7n5v.fsf@gnu.org> <11D3A1E6631F4C87A218E72239FD5058@us.oracle.com> <83obfs5asc.fsf@gnu.org> <643B66F938274427BAF3B89E418B90E2@us.oracle.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360525072 13855 80.91.229.3 (10 Feb 2013 19:37:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2013 19:37:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 10 20:38:10 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 1U4cj3-00060e-NS for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 20:38:09 +0100 Original-Received: from localhost ([::1]:37182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4cij-0003pW-Kx for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 14:37:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4cie-0003pP-76 for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 14:37:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4cib-0008Ot-Tt for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 14:37:44 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4cib-0008Oa-Lo for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 14:37:41 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MI000300RTMGW00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 21:37:40 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MI0003QSRURFX20@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 21:37:40 +0200 (IST) In-reply-to: <643B66F938274427BAF3B89E418B90E2@us.oracle.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:89041 Archived-At: > From: "Drew Adams" > Date: Sun, 10 Feb 2013 10:02:42 -0800 > > > > > > So maybe the problem is a more recent haskell library that > > > > > expects `kbd' to be a function, and so does not DTRT to get > > > > > the macro `kbd' (loaded). > > > > > > > > Unlikely: I tried both with 24.2 and the current > > > > development version, and didn't get the error either way. > > > > > > Did you try with a recent Haskell library? > > > > I don't understand what that means. I loaded the latest haskell-mode > > and turned the mode on. This was said to produce the error; it > > didn't. > > I was guessing that the OP picked up recent Haskell-mode code somewhere > (official or not), and that it perhaps counted on a `kbd' function (not macro), > so it didn't do anything to load the 24.2 code that contains the `kbd' macro > definition - either at compile time or runtime. I used the latest haskell-mode available from their git repository, FWIW.