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 <dm...@ictsoc.de> 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.... dmj...@jabber.org
> Email..... dm...@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


_______________________________________________
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

Reply via email to