From: Sylvain Rousseau <thisirs@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>,
Jarmo Hurri <jarmo.hurri@iki.fi>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Babel shell script issue
Date: Mon, 25 Apr 2016 10:20:34 +0200 [thread overview]
Message-ID: <CAJ8n831aSXqkoDHBJXLbgmzfiW-wyW5jvScCJvEetocV-sN9bA@mail.gmail.com> (raw)
In-Reply-To: <87inz63yhi.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
Hi,
I had the same problem. You actually need to use:
#+begin_src shell :results drawer
#+end_src
Using sh loads an org function that comes with your emacs and is outdated...
Btw could these functions be marked as deprecated but aliased to the new
ones?
Sylvain.
2016-04-25 10:04 GMT+02:00 Eric S Fraga <e.fraga@ucl.ac.uk>:
> On Monday, 25 Apr 2016 at 07:24, Jarmo Hurri wrote:
> > Greetings.
> >
> > I have trouble running shell scripts in Babel. I can't even reproduce
> > examples from worg. For example, this piece of org
> >
> > #+begin_src sh :results drawer
> > cat <<EOF
> > | 1 | 2
> > |--
> > | a | b
> > EOF
> > #+end_src
> >
> > from this page
> >
> > http://orgmode.org/worg/org-contrib/babel/header-args.html
> >
> > produces the following error:
> >
> > org-babel-variable-assignments:sh: Symbol's function definition is
> > void: org-babel-get-header
>
> Have you done this:
>
> (require 'ob-shell)
>
> ?
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412
>
>
[-- Attachment #2: Type: text/html, Size: 1896 bytes --]
next prev parent reply other threads:[~2016-04-25 8:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ac5a3ce85c5243c6b2d730e422922843@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-25 8:04 ` Babel shell script issue Eric S Fraga
2016-04-25 8:20 ` Sylvain Rousseau [this message]
2016-04-25 8:40 ` Jarmo Hurri
[not found] ` <a93d2d3d412d434ca9fc2e9652c2c6b4@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-04-25 8:26 ` Eric S Fraga
2016-04-25 8:37 ` Loris Bennett
2016-04-25 13:17 ` Jarmo Hurri
2016-04-25 7:24 Jarmo Hurri
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=CAJ8n831aSXqkoDHBJXLbgmzfiW-wyW5jvScCJvEetocV-sN9bA@mail.gmail.com \
--to=thisirs@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=jarmo.hurri@iki.fi \
/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.