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: Sun, 10 Feb 2013 10:02:42 -0800 Message-ID: <643B66F938274427BAF3B89E418B90E2@us.oracle.com> References: <87fw15z0qu.fsf@web.de><834nhk7n5v.fsf@gnu.org><11D3A1E6631F4C87A218E72239FD5058@us.oracle.com> <83obfs5asc.fsf@gnu.org> 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 1360519549 30948 80.91.229.3 (10 Feb 2013 18:05:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2013 18:05:49 +0000 (UTC) To: "'Eli Zaretskii'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 10 19:06: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 1U4bHz-00040s-Tw for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 19:06:08 +0100 Original-Received: from localhost ([::1]:59404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bHg-0006c3-NF for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 13:05:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bHE-0006RA-7r for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 13:05:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4bG7-0002pm-26 for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 13:05:19 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:29092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4bEr-0002YJ-KA; Sun, 10 Feb 2013 13:02:53 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1AI2pId027910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Feb 2013 18:02:52 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1AI2pft003366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Feb 2013 18:02:51 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1AI2p7V007505; Sun, 10 Feb 2013 12:02:51 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 10 Feb 2013 10:02:50 -0800 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83obfs5asc.fsf@gnu.org> Thread-Index: Ac4HtX23JLiLy843Rd6hDgsxQjyLVAAArrOw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:89040 Archived-At: > > > > 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. Clearly, the error message indicates that a definition of `kbd' is being expected at runtime, but is not available then. I was just trying to work backward from there.