From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Elliott Subject: Re: Bug: Invalid function: ignore-errors [6.36] Date: Thu, 13 May 2010 15:07:50 +0000 (UTC) Message-ID: References: <19433.25860.502957.794540@morrison.gslt.hum.gu.se> <847hna4b6m.fsf@linux-b2a3.site> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34083 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCa1B-0007O6-97 for emacs-orgmode@gnu.org; Thu, 13 May 2010 11:08:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCa19-0006Bu-PI for emacs-orgmode@gnu.org; Thu, 13 May 2010 11:08:09 -0400 Received: from lo.gmane.org ([80.91.229.12]:37113) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCa19-0006Bi-J0 for emacs-orgmode@gnu.org; Thu, 13 May 2010 11:08:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OCa16-0007LB-55 for emacs-orgmode@gnu.org; Thu, 13 May 2010 17:08:04 +0200 Received: from CPE001e2a013991-CM0012257049ec.cpe.net.cable.rogers.com ([99.246.139.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 17:08:04 +0200 Received: from ae by CPE001e2a013991-CM0012257049ec.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 May 2010 17:08:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik gmail.com> writes: > org.el does this already. Just compile your .el files and things > should work. You are right, but I suspect the following: When org is compiled and installed using the Makefile, elisp source files are compiled individually. When org-list.el is compiled in isolation and the cl package is not included, the `ignore-errors' macro is not previously defined; thus Emacs assumes it's a function instead, so the resulting elc file is broken. If org is compiled within Emacs and not from a batch process, it's almost certain that the cl package will have been loaded, so this problem doesn't occur. I guess most people don't use the Makefile? Adam