From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Error when running org-babel-execute-buffer -- Wrong type argument: consp, nil Date: Wed, 17 Nov 2010 17:07:28 -0700 Message-ID: <874obfjxz3.fsf@gmail.com> References: <0D7DA87B-B899-4BBF-9DAC-A39F0DB9E141@fastmail.net> <87vd48ncwf.fsf@gmail.com> <12A10080-909D-4C02-8081-2AAD03C2D113@fastmail.net> <4281.1289227525@gamaville.dokosmarshall.org> <87lj4vvhup.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=41237 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIs2L-0001f8-Fm for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 19:07:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIs2J-0004TR-ON for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 19:07:36 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:51154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIs2J-0004TL-Ki for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 19:07:35 -0500 Received: by gwj16 with SMTP id 16so1848967gwj.0 for ; Wed, 17 Nov 2010 16:07:35 -0800 (PST) In-Reply-To: <87lj4vvhup.wl%dmaus@ictsoc.de> (David Maus's message of "Sun, 14 Nov 2010 20:13:34 +0100") 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: David Maus Cc: Ista Zahn , Konrad Hinsen , nicholas.dokos@hp.com, emacs-orgmode Mailinglist Thanks for doing most of the debugging on this. After much banging of my head, I stumbled onto this very nice page of common problems with compiled Macros in Emacs Lisp [1], it looks like this sort of thing has happened before. :) I realized I was guilty of one of the macro sins specified above, and after rectifying that design flaw I believe (at least for my simple test case) this error should be fixed. Please let me know if you continue to run into this problem with the byte-compiled version of this macro. Best -- Eric David Maus writes: > At Mon, 08 Nov 2010 09:45:25 -0500, > Nick Dokos wrote: >> Something to do with the compilation of the org-babel-map-src-blocks >> macro, no doubt. I don't see it with uncompiled files. > > Not a solution, but some debugging showed that > `org-babel-get-src-block-info' fails to get the info of the source > block when run byte-compiled. > > If I change the last sexp of the function > > (when info (append info (list name indent))) > > to > > (if info (append info (list name indent)) > (error "EMPTY INFO")) > > And run byte-compiled Org, the EMPTY INFO error is thrown before the > invalid argument. > > Best, > -- David > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Footnotes: [1] http://www.gnu.org/s/emacs/manual/html_node/elisp/Problems-with-Macros.html