From: Nick Dokos <nicholas.dokos@hp.com>
To: Austin Frank <austin.frank@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: [babel] help debugging org-babel-execute-buffer
Date: Thu, 19 Aug 2010 01:33:17 -0400 [thread overview]
Message-ID: <17530.1282195997@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Your message of "Mon, 26 Jul 2010 23:14:31 EDT." <m06301obu0.fsf@malibu.rochester.rr.com>
Austin Frank <austin.frank@gmail.com> wrote:
> I have a document that always throws an error when I call
> org-babel-execute-buffer. I'd guess that there's one particular block
> that is to blame, but I can't tell which block babel is in at the point
> when the error is thrown.
>
> The error is:
>
> #v+
> Debugger entered--Lisp error: (invalid-function org-save-outline-visibility)
> org-save-outline-visibility(t 1 nil nil)
> org-babel-execute-buffer(nil)
> call-interactively(org-babel-execute-buffer nil nil)
> #v-
>
> Looking at the macro for org-save-outline-visibility, I think the
> problem has to do with the last two arguments being passed in as nil
> nil. I don't, however, know how this is happening.
>
I think this is a bug: org-save-outline-visibility is indeed a macro,
defined in org.el, but ob.el does not require org.el, so when it is
compiled, the compiler thinks it's a function that will be defined elsewhere.
If the uncompiled ob.el is loaded, there should be no problem.
Two possible solutions:
- (require 'org) in ob.el.
- move the definition of the macro to org-macs.el (which is required by ob.el
*and* org.el.)
I'd vote for the second, but Carsten and/or Eric might have a different
preference.
Nick
next prev parent reply other threads:[~2010-08-19 5:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 3:14 [babel] help debugging org-babel-execute-buffer Austin Frank
2010-07-27 4:41 ` Nick Dokos
2010-07-27 6:33 ` Austin Frank
2010-08-19 5:33 ` Nick Dokos [this message]
2010-08-25 14:50 ` Eric Schulte
2010-08-27 14:21 ` Eric Schulte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17530.1282195997@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=austin.frank@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.