Thanks for your answer Kyle,

Good that you pointed me to ob-julia, was unsure that that was the correct
venue to take for a contrib package.
I posted an issue there and ones I got the changelog you posted I tried the
following change
from
(mapcar #'cdr (org-babel-get-header params :var))
to
(mapcar #'cdr (org-babel--get-vars params))

This seems to works for my setup.

regards
Andreas

2016-01-22 0:28 GMT+01:00 Kyle Meyer <k...@kyleam.com>:

> Hi Andreas,
>
> Andreas <tjandr...@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 via email to