From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GHAcBrgbTWWGtAAAG6o9tA:P1 (envelope-from ) for ; Thu, 09 Nov 2023 18:49:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GHAcBrgbTWWGtAAAG6o9tA (envelope-from ) for ; Thu, 09 Nov 2023 18:49:44 +0100 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 81006627AD for ; Thu, 9 Nov 2023 18:49:43 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=AZ9Qm0s1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1699552184; a=rsa-sha256; cv=pass; b=VwUz65hAqXd7sco/oIzuRGYf2IKtNGbC2g/4csmf7ObO5PWhE4UdMntpeEofWV0OK1+V6b Tsn4/smnswsJckXsO5zUYAchNE5MstoaKI55gWAzB3in3bpSWjRWT3JPELzHwY+mC2DTfC McwlyCOsvbgIy2OjIQo/ucZ/yEr+z8Dkk8dteauLa7n/JAMtTukfO8eSSSjLZ1/H3ybcc2 nOh7e8i4aQErS27S9584wfJk7nmzYbJseQ593ISBF3KOM4N0heF1/12I5W064LUhqL2+hK MHpGnRpVWZUdsGk4cKy4p9ayc2SnN4VvalGIXAWXivofCxCo7ER2qSRt33TyuQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=AZ9Qm0s1; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699552184; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=okQvP9fcJXDTvkNOKG9IV5tDqLZ1fMLSEoDoMGs7EZs=; b=oE4WTDXe3wAqzderIVTOJaBl/uSouy8UWfGCKc012cZ85hQ5ekjr1I/pxkHE7CTdiFwFMn 2JdWZ/s0yUHuuyedv3ur1KnG5U1ggvrinyvsJdYhLGV9b0dA2WzpETyputIWkH1BXpnq2d se6f4n5BNDTCY+FO43TGAM+mEgOJ8NkuT00SA8Bvxe3mDWp8QOrudeQaILcqsuIL0XuMJS Z11g21WiZUbQ0nisQNgYaFuAiZFT/UMYK77VcG2IppzmK6ORGCylTyTEIGsJh+to6o+nz6 3bcN6e0AbKhlDOoGt6+rw866xL/tVERONMhz9DWMxyN0Aap5xZf8TBj+CDikAg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r199H-0005gM-CY; Thu, 09 Nov 2023 12:48:59 -0500 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 1r199E-0005fN-Kx for emacs-orgmode@gnu.org; Thu, 09 Nov 2023 12:48:56 -0500 Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r199C-00069G-Jk for emacs-orgmode@gnu.org; Thu, 09 Nov 2023 12:48:56 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1699552131; cv=none; d=zohomail.com; s=zohoarc; b=POaGlApP1g2iPGASBeA19sAHHg7SdxdrO4VlKqfPLVgwleb4hd6gFKLJ2SIcErtDXTJ5rELjC5GiXCoPiGkUuG4sNb96/6C437YZSBuzgFvh91gvLmLL92ju4eZdNAIBFHGrqg9SCRtdZjaN9AaZf5n9K9+uqJRlAAFxBHFZL4M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699552131; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=okQvP9fcJXDTvkNOKG9IV5tDqLZ1fMLSEoDoMGs7EZs=; b=iwNIfJfVjBuc3uIIHfubRwrZcFPqk4PrjCZdYFLIxn8UjZKA7kurzAcEKkQ9LAPxT3Izr/kjm+SSjphZhXlffjO/R7ofBGLedRUKLK+ynFd+0HiOP0jIX9clxtJLo8Mmhu5HMg5/J14q/m+mc5qM0cq8NIPtEdKQwafyS6PcjNw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1699552131; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=okQvP9fcJXDTvkNOKG9IV5tDqLZ1fMLSEoDoMGs7EZs=; b=AZ9Qm0s1rh+8jCSrymKQsH9lFuGXJPHXMeej5O5nOAGrqQkHurgnzJ7Hbvmuc3xX XOe3CUbS6uRE2J6A8z+kOxf8RWhTRZYOyZq6sCWO30clN+Poik/LPOCnrkhLFeXMG7p 3mFjk/NzlOaHgpeDqcp+whasGJDCoUVVowf284Dw= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1699552129887875.9297143518257; Thu, 9 Nov 2023 09:48:49 -0800 (PST) Date: Thu, 09 Nov 2023 18:48:49 +0100 From: Matt To: "Ihor Radchenko" Cc: "emacs-orgmode@gnu.org" Message-ID: <18bb5337346.dfcd5ebb1139895.801408740607633332@excalamus.com> In-Reply-To: <877cmr2ke4.fsf@localhost> References: <25912.63830.726070.953843@gargle.gargle.HOWL> <87bkcmlor9.fsf@t14.reltub.ca> <87o7gldb78.fsf@localhost> <25914.26693.101108.954656@gargle.gargle.HOWL> <87fs1xbis1.fsf@localhost> <25916.238.191509.652552@gargle.gargle.HOWL> <653f8a93.050a0220.f2202.5816@mx.google.com> <87zfzr2ejj.fsf@localhost> <18ba5e231e3.f989cde147196.3154436412643995109@excalamus.com> <875y2e2b9y.fsf@localhost> <18bb07473e2.1007b1565819307.6938164403009000496@excalamus.com> <877cmr2ke4.fsf@localhost> Subject: Re: bash source code block: problem after ssh commands MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.15; envelope-from=matt@excalamus.com; helo=sender4-op-o15.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 81006627AD X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.22 X-Spam-Score: -6.22 X-TUID: rn2QmAapauis ---- On Thu, 09 Nov 2023 13:13:36 +0100 Ihor Radchenko wrote --- > A bigger problem is that errors *Org Babel Error > Output* are not clickable: Interesting. > So, it looks like we may need an alternative `org-babel-eval' function > that works with script files rather than input and arranges > stdout/stderr separation. Yes, it seems like a separate handler may be in order. > We should reuse `process-file' in this scenario as well, > but utilizing its ARGS argument + arrange to generate the temporary > script file in the appropriate context - see `make-nearby-temp-file'. I was unaware of `make-nearby-temp-file'. Thank you. It's helpful for this situation. I'm not in a position to address these points right now. My main focus is re-familiarizing myself with the =ob-shell= and =ob-comint= source. When I was implementing async shell evaluatation earlier this year, I remember having the impression that execution paths, especially `org-babel-comint-with-output', could probably be simplified. It seems to me that everything we're talking about in this thread aligns with that objective. I've made a note of your points and have every intention to return to them when I get to writing code. However, don't let me stop you if this is something you were interested in doing. I'll do what I can to assist.