emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: "Sébastien Vauban"
	<public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org>
Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org
Subject: Re: [Org-Babel] Export environments for shell results?
Date: Thu, 07 Oct 2010 15:37:24 +0100	[thread overview]
Message-ID: <87eic2nk63.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <8739sidt1v.fsf@mundaneum.com> ("Sébastien Vauban"'s message of "Thu, 07 Oct 2010 15:35:40 +0200")



>> Could I ask you to make the source blocks reproducible in the future, so
>> that we can execute them without having to alter file paths etc?)
>
> Sure. I'll do.
>
> Here, I could have used another file that I can expect to be always at a fixed
> place (like grepping in ~/.emacs or some such).
>
> Generally speaking, you'd want me to pass the path as an Org :var parameter?
> Or using default environment vars from the system?

If possible, avoid using system paths at all. The behaviour you describe
can be replicated with something like

#+begin_src sh :results output
  for i in `seq 1 4`; do
      echo "autoload"
  done
#+end_src

#+results:
: autoload
: autoload
: autoload
: autoload

Dan

  reply	other threads:[~2010-10-07 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 15:04 [Org-Babel] Export environments for shell results? Sébastien Vauban
2010-10-06 15:26 ` Dan Davison
2010-10-07 13:35   ` Sébastien Vauban
2010-10-07 14:37     ` Dan Davison [this message]
2010-10-07 15:00     ` [BUG] latex export of verbatim environments Dan Davison

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=87eic2nk63.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org \
    --cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org \
    /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).