From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +HKeNwbsXGMUDgAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 11:01:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MOltNwbsXGNivwAAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 11:01:58 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C9E9ABAB9 for ; Sat, 29 Oct 2022 11:01:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oohhV-00034S-9b; Sat, 29 Oct 2022 05:00:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oohhL-000307-QK for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 05:00:15 -0400 Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oohhJ-0008Ci-Cf for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 05:00:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=sWnTyuj26VfV66YYPrre9oU0Q2X13uzvGKlOBuxgY2c=; b=UgDYAYJcG1N7jOCY1Mvw/CZCIX wOoLhcoZiXZrUxrAAkjErB0ebWWIBfBcniFJ8n9mEU/lPw+4DFpjGIjwi3Y1F8tEjIGmDSc99XAnb c374B5uRrSMhr7IoKZIHptFrJZSmTBrzJ80gaE//FNylU0evETJAu/PsWGUykgftyfNnOAp1XSYjR 7lGyxMvUEq0Xc6tIzid2EdQcRT8Zq92v4f/FY6BEsJUMvS1gLs5e3CiUCBv7yqrtPOduRuupYWxgO HnnGnTuO08LUYEDsZqYbd4VIpSE6g7HC9QH0DlBhmfLwoiWsAeCqNcpk8+hxoE35RV4REkB+xms/A nmkqUq5A==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1oohhF-00035d-UH; Sat, 29 Oct 2022 11:00:06 +0200 Date: Sat, 29 Oct 2022 11:00:05 +0200 From: tomas@tuxteam.de To: Samuel Wales Cc: emacs-orgmode@gnu.org Subject: Re: [FR] Display stderr contents after executing shell blocks (even when stdout :results output is requested) (was: Org 9.6-pre and Bash sessions) Message-ID: References: <87a65o15ut.fsf@localhost> <87fsffqi49.fsf@localhost> <87wn8lorc1.fsf@localhost> <87v8o4krel.fsf@localhost> <87tu3njmv4.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kNuoKcM8TaMyMTlE" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-TUID: EdJnsX9jy99b --kNuoKcM8TaMyMTlE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2022 at 11:43:39PM -0700, Samuel Wales wrote: > long ago i made the contents of my shell blocks look like this: >=20 > { > code > } 2>&1 > : As I hinted at, I also wanted to have the exit code documented. So my setup was a bit more involved than this. Plus, I didn't want all that code scaffolding to show up in the typeset results (my audience had enough to digest as it was), so I hid all that in the prologue/ epilogue. Cheers --=20 t --kNuoKcM8TaMyMTlE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY1zrlQAKCRAFyCz1etHa RlyFAJ0SzEQ9q/m0aLDhqGtZCQjO9PN6QACeOj4GbPZnZHJ9R0ryBOdhm+UsAxM= =wJpe -----END PGP SIGNATURE----- --kNuoKcM8TaMyMTlE--