emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernd Weiss <bernd.weiss@uni-koeln.de>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: [babel] Cannot use R and sh
Date: Thu, 20 Oct 2011 14:58:52 -0400	[thread overview]
Message-ID: <4EA06F6C.4010201@uni-koeln.de> (raw)
In-Reply-To: <28702.1319136540@alphaville.dokosmarshall.org>

On 20.10.2011 14:49, Nick Dokos wrote:

[...]

> AFAIK, the syntax is (note the BABEL and the :session)
> 
> #+BABEL: :session *R*
> 
> With that, I can certainly reproduce what you get and it
> is indeed the global session that causes it. If you
> want a global session for all the other code blocks but
> want to override it for the single shell block, you can do:
> 
> #+BEGIN_SRC sh :session *SH*
> ls -a
> #+END_SRC


Thanks, Nick, for your reply! I hadn't thought about overriding the "R
session". Good idea!

With respect to the "#+BABEL..." syntax, I vaguely remember that this is
deprecated. The Org Mode Manual, however, (still) mentions both ways...
<http://orgmode.org/org.html#Header-arguments-in-Org_002dmode-properties>.


Again, thanks,

Bernd

  reply	other threads:[~2011-10-20 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20 18:31 [babel] Cannot use R and sh Bernd Weiss
2011-10-20 18:49 ` Nick Dokos
2011-10-20 18:58   ` Bernd Weiss [this message]
2011-10-20 19:10     ` [babel] Specifying buffer-wide header arguments: #+property vs #+babel (was: Cannot use R and sh) Bernd Weiss
2011-10-20 19:21       ` [babel] Specifying buffer-wide header arguments: #+property vs #+babel 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

  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=4EA06F6C.4010201@uni-koeln.de \
    --to=bernd.weiss@uni-koeln.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).