emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Jarmo Hurri <jarmo.hurri@iki.fi>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Babel shell script issue
Date: Mon, 25 Apr 2016 09:04:57 +0100	[thread overview]
Message-ID: <87inz63yhi.fsf@ucl.ac.uk> (raw)
In-Reply-To: <ac5a3ce85c5243c6b2d730e422922843@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (Jarmo Hurri's message of "Mon, 25 Apr 2016 07:24:22 +0000")

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

       reply	other threads:[~2016-04-25  8:05 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 ` Eric S Fraga [this message]
2016-04-25  8:20   ` Babel shell script issue Sylvain Rousseau
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

  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=87inz63yhi.fsf@ucl.ac.uk \
    --to=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 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).