emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: diff in `src' blocks
Date: Tue, 14 May 2013 11:07:47 +0200	[thread overview]
Message-ID: <CALn3zoib3qDD6rJLJoTGJPVxyVeafWZwA5wM5N+tTjYgxph3zQ@mail.gmail.com> (raw)
In-Reply-To: <8738tqlq09.fsf@Rainer.invalid>

Hi all

On Mon, May 13, 2013 at 7:59 PM, Achim Gratz <Stromeko@nexgo.de> wrote:
> All things considered, there may be room for an argument that Babel
> shouldn't ignore the data from STDOUT on non-zero exit [...]

Yes please, and a report of the actual exit status in the babel result
would be nice, probably as an option in the source block header. In
addition babel should also not ignore stderr on exit status 0, see my
example 2) with GNU/Linux's strace in a lengthy post about my thoughts
and workarounds for stdout, stderr and exit status with babel. It
contains a complete set of the different cases as I see them:
http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=45881

Michael

  parent reply	other threads:[~2013-05-14  9:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13  7:33 diff in `src' blocks Oliver Večerník
2013-05-13  8:07 ` Oliver Večerník
2013-05-13  8:32   ` Achim Gratz
2013-05-13  9:29     ` Oliver Večerník
2013-05-13  8:30 ` Achim Gratz
2013-05-13 17:59   ` Achim Gratz
2013-05-13 19:23     ` Samuel Wales
2013-05-14  9:07     ` Michael Brand [this message]
2013-05-14  9:12       ` Michael Brand

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=CALn3zoib3qDD6rJLJoTGJPVxyVeafWZwA5wM5N+tTjYgxph3zQ@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.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).