From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Bug: Invalid function: ignore-errors [6.36] Date: Thu, 13 May 2010 18:02:50 +0200 Message-ID: <0E8AF217-DF3D-4405-8E21-9B950C713F01@gmail.com> References: <19433.25860.502957.794540@morrison.gslt.hum.gu.se> <847hna4b6m.fsf@linux-b2a3.site> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=60960 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCasC-0000d4-BX for emacs-orgmode@gnu.org; Thu, 13 May 2010 12:02:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCasA-0005rH-N8 for emacs-orgmode@gnu.org; Thu, 13 May 2010 12:02:56 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:35449) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCasA-0005r3-Gj for emacs-orgmode@gnu.org; Thu, 13 May 2010 12:02:54 -0400 Received: by ewy8 with SMTP id 8so590937ewy.8 for ; Thu, 13 May 2010 09:02:53 -0700 (PDT) In-Reply-To: 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: Adam Elliott Cc: emacs-orgmode@gnu.org Hi Adam, On May 13, 2010, at 5:07 PM, Adam Elliott wrote: > 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. You are right, I have added the statement to org-list.el. Thanks! - Carsten