From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)] Date: Tue, 23 Aug 2011 18:18:21 +0200 Message-ID: <87ei0ccd9u.fsf@Rainer.invalid> References: <87pqk1o39w.fsf@gmail.com> <87pqjybpg7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvtgW-00022t-Ic for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvtgV-0005cl-43 for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:18:40 -0400 Received: from lo.gmane.org ([80.91.229.12]:44964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvtgU-0005cd-VH for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 12:18:39 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QvtgQ-0007oo-4H for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 18:18:34 +0200 Received: from p57aac410.dip.t-dialin.net ([87.170.196.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 18:18:34 +0200 Received: from Stromeko by p57aac410.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2011 18:18:34 +0200 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 Michael Brand writes: > If the shell is a special case for babel anyway, why not something > like the following? Ehm, no. But I think that it would be generally useful (not just for shell blocks) to be able to capture stderr, either together with stdout or separately into a result target block and have the return status available as a variable (although that does not work for consecutive invocations in a session). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds