From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: [BABEL] Redirect stderr to stdout? Date: Sat, 3 Mar 2012 16:52:29 +0100 Message-ID: <20120303155229.GA38999@kenny.fritz.box> References: <20120302112909.GA25186@kenny.local> <87mx7znfbu.fsf@gmx.com> <20120302194714.GB27465@kenny.local> <87booelpew.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rGA-0001Zb-IP for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 10:52:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3rG8-0005uk-P3 for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 10:52:38 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:53367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rG8-0005uR-DC for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 10:52:36 -0500 Received: by bkwq16 with SMTP id q16so2754700bkw.0 for ; Sat, 03 Mar 2012 07:52:33 -0800 (PST) Content-Disposition: inline In-Reply-To: <87booelpew.fsf@gmx.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Eric, Eric Schulte wrote: > Viktor Rosenfeld writes: > > > Hi Eric, > > > > Eric Schulte wrote: > > > >> Currently the only action Babel takes with STDERR is to display it in a > >> pop-up buffer when code block evaluation fails. > > > > On my system (OS X) the buffer does not popup. I just tried > > > > #+BEGIN_SRC sh > > echo foo 1>&2 > > #+END_SRC > > > > That is because the evaluation did not fail, try > > #+BEGIN_SRC sh > echo foo 1>&2 > exit 1 > #+END_SRC Thanks, that did the trick. It also explains why some error output from psql and the like does not make it into the buffer. > [Snip] > > As always demand outstrips development resources. And still, org-mode is great product! Cheers, Viktor