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 KOl/D9/tXGP2swAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 11:09:51 +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 ULtOD9/tXGO8RQEAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 11:09:51 +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 0EF18BD15 for ; Sat, 29 Oct 2022 11:09:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oohpQ-0008FD-7U; Sat, 29 Oct 2022 05:08:32 -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 1oohpN-0008EQ-Tu for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 05:08:29 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oohpL-0001Cg-Nz for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 05:08:29 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B4530240028 for ; Sat, 29 Oct 2022 11:08:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667034505; bh=Io/43b9Kq6tVI41hkc8MrCKdVLHGPbffVJ/OXcdyrqA=; h=From:To:Cc:Subject:Date:From; b=SJPNXNl7cixXk5+G+y0XMDG5CpyI+5O0kGxylHa63rnY7k7yKZI/F32IW2i2vBBo/ dZB/+HyAWQarteo7HzWOnLsLW5B4xv1ZhU+MryywJhe3EboODpiw9iPCVMNLsq7M7D 87em1tPFESJMB9yPsn440gJekCbgaHft5N+IwWnWmoa8zTAhRk/ItZYxpGAWZL9LlH GkEsS+YUInqtdFCQXs7BtQZTH78DTHZ142oDPENqHzc5ouiNiqdZnoWE2XyrwjMXBw WRMT7kfvha1Gnzj5PPFb9Kuq5iEZgIbVcG9LLQH5kaPjpEDVwnagOiEq78gV5Sql4r SZhBe9PGl+4PQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mztqn5pGWz9rxF; Sat, 29 Oct 2022 11:08:21 +0200 (CEST) From: Ihor Radchenko To: tomas@tuxteam.de Cc: Samuel Wales , 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) In-Reply-To: References: <87a65o15ut.fsf@localhost> <87fsffqi49.fsf@localhost> <87wn8lorc1.fsf@localhost> <87v8o4krel.fsf@localhost> <87tu3njmv4.fsf@localhost> Date: Sat, 29 Oct 2022 09:09:04 +0000 Message-ID: <871qqrhu8f.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.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: 43EXmUYTGgh2 tomas@tuxteam.de writes: > 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. Note that what we are discussing here is different from your description. A popup window accumulating stderr is displayed upon code evaluation. stderr does not go into results. What you are describing would better fit into a new :results option. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at