From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4OCJAI7HG2TxcAEASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 04:29:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2NAWO43HG2TEhgAAG6o9tA (envelope-from ) for ; Thu, 23 Mar 2023 04:29:17 +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 D3F3E11E03 for ; Thu, 23 Mar 2023 04:29:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfBcp-00042V-Io; Wed, 22 Mar 2023 23:28:27 -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 1pfBcm-00042F-Sh for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 23:28:25 -0400 Received: from [39.171.215.161] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfBck-0003vx-S8 for emacs-orgmode@gnu.org; Wed, 22 Mar 2023 23:28:24 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 9F3B7827607E; Thu, 23 Mar 2023 11:28:11 +0800 (CST) References: <186283d230a.129f5feb61660123.3289004102603503414@excalamus.com> <87v8kd8zzw.fsf@localhost> <1863472efe9.10fdd5ba4258906.5972264927968042941@excalamus.com> <87y1p7axpe.fsf@localhost> User-agent: mu4e 1.8.14; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: Matt , emacs-orgmode@gnu.org Subject: [SUGGESTION] ob-shell async result output should not contains shell prompt Date: Thu, 23 Mar 2023 11:25:50 +0800 In-reply-to: <87y1p7axpe.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.161 (deferred) Received-SPF: softfail client-ip=39.171.215.161; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001 autolearn=no autolearn_force=no X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679542156; a=rsa-sha256; cv=none; b=cLEhYeHidHGFqPwWvo6rKz5DhWy1ZU1Sf0xosR1+bDn0dYqaxtcMTMAbUVIx/8VQy/7yVT qzs3A6slrnGAD1m26jnET5xbAhAI8vo9494ngvTPndOJIzgT3PajZJlThyXwLetuZje7tO X6WGhAF7MDnva2uWQ2i8qh6TZ2yWtlF3TF8W9pySD4x5xz4LaZfHFsxi60KY/oj3JYAeK/ sqmZXMetClpiscFA10riyOJiwPwQGDVqbLEEfDaCpnSPapo/ZTlyB991dlHcpe/li+3MBS iesWytoXl5o1p3CQFPYVOKWIMPtV6DkHgW02Lm0egKh829+IMQBzwcPe6w6i4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679542156; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=UZQHYFlH9HBAn5KRrHOIaowE6LaKHHNBAqS1Mak2NaY=; b=lnDDpNL2tORckfWgYt95EjT4atBURUa4h4BTE5XEY47Eof+V0Bu58dmUnAmA6a5tUHKIwQ o+eWKuzv81fK48hl4A6JGY+XHs5YzI4eweFhFZrra5e7+IGFiA002ndhALmo9C3R6dY5df zCQl7hpQsRWf5GdHY4uycI2901fP8UPdc3sFdNP0rVI2HdrP8eaz6sOat4MjcLF5/H62/K dYMtgsMtSOa6+aXG80/tzBJQCiQncUzY1xn54Z3iz41lmu1YKnJ0uc4oG4CsC5zQogmV9f ejjvVKg8fcqQ/MK7DeLTcjJQGwOzvxH5z4S+9Q7Ps53+n8LCK4ScHyQQNk9Hjw== Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.05 X-Spam-Score: -2.05 X-Migadu-Queue-Id: D3F3E11E03 X-TUID: a6FDHWxXeaPW --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The ob-shell async result output contains the shell prompt. I think it should not be captured. #+begin_src shell :session "test2" :async t sleep 30 echo "hello, world" #+end_src #+RESULTS[(2023-03-23 11:19:22) 461ed5de684f6e619890709175ec73e80b67b2d6]: : bash-5.2$ hello, world =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmQbx0cACgkQG13xyVro msMrbwf+OIpijaFAECFDi5MJy5G1dlB/Od2wzAhCETBotlmhKkmEpwtF6UTn5zMy S1kle1iAH7t5NjlAneOw8cL0d5kzY/QIK3jLA0ZcCLYk/O9dliFkbpra2puJ9iAm iv2zMChrMPMYkRWqEDIOdcyAodC9aionZbNqyFQ8DY0W+vN8Ks7uWTAGhe5/XUPm /++NU7UYgp4QWe1UzC1c4WKTjWnCP/LN2x2I1Yw2hHGj7kgKjdSi0bsZQor0+tOW tlSOe8pzTnEP8UhXDiBVeXgBfZUCRfS4nP2xLz5KhZnPGw73qYEwf0a7kQ7kxCFL UzKexSQYB5Y5YYuTKyCnATsDq2bX8g== =ahhT -----END PGP SIGNATURE----- --=-=-=--