emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Andreas <tjandreas@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ob-julia, src block execution undefined function org-babel-get-header
Date: Thu, 21 Jan 2016 18:28:20 -0500	[thread overview]
Message-ID: <87wpr2a4x7.fsf@kyleam.com> (raw)
In-Reply-To: <CAC=rykdNhGwFNnkJFGJ=J7mRkBOtQQaPrAUzxgwyHCxRnBrBdw@mail.gmail.com> (Andreas's message of "Thu, 21 Jan 2016 23:55:46 +0100")

Hi Andreas,

Andreas <tjandreas@gmail.com> writes:

> Hi list,
> I was hoping to get some help with this issue
>
> I use:
> Org-mode version 8.3.3 (release_8.3.3-468-gf3f4b2)
> GNU Emacs 25.1.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.16.7) of 2016-01-17
> ess-version: 15.09-2 patched [git: 6d05ba7c89371764c43e30a436d7166417cabd4d]
> julia version 0.4.2
>
> I'm trying to execute julia code src blocks but have come across a problem.
>
> When trying to do C-c C-c in the src block emacs complain about an
> undefined function org-babel-get-header.

org-babel-get-header was removed in 0d000f5 (babel: small change in API,
2015-10-29) and has the following NEWS entry:

    *** ~org-babel-get-header~ is removed.
    Use ~org-babel--get-vars~ or ~assq~ instead, as applicable.

However, ob-julia, along with several other packages in contrib, still
use org-babel-get-header.

> I think I have tracked down the error to ob-julia where org-babel-get-header
> is used.
> I found a reference to a similar problem for ob-html package here:
> https://github.com/zweifisch/ob-http/issues/12
> I tried to edit the ob-julia file based on that fix but failed to make it
> work.

I think something like the fix at that link should work.  What did you
try and how did it fail?

Also, perhaps it's worth raising the issue here:

    https://github.com/gjkerns/ob-julia

--
Kyle

  reply	other threads:[~2016-01-21 23:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 22:55 ob-julia, src block execution undefined function org-babel-get-header Andreas
2016-01-21 23:28 ` Kyle Meyer [this message]
2016-01-23  0:46   ` Andreas

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpr2a4x7.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tjandreas@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).