From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WICLKPG3TGf9QgEA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 19:24:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WICLKPG3TGf9QgEA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 20:24:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=R1h2EZz7; 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=1733081073; a=rsa-sha256; cv=pass; b=bTBNiI2yDrKZ+rKHUrD6UT02GUYLjCPAfEG/ld3CMsHSHw5VgCU4ArrJb3/F8Zmz0zLaGQ +1CJ8WFFfPXRxDbRSQaNFI8j/zGjg0sE+WY5J3MHliL7h74sCurv3GL2mFk4GzzPmvudg+ hXeyCkgl9MZjHFbdI/KfjELw3vFZaXhV+1NG3NpXi670z3JieK+0BV/9HdeUW2iCUVeZAz dkqK8B0JK+LCwk6FjlGa9ZaIvnjaRV7923SXL2kM2deGBxwm392cqsxmZDTD0Y0WB40DOa tcMnCvv5Wf8eYfYE4scTSMEFHdafvk7d8p4B12LWtB8Nw36MRLH61KC1ySpNQQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=R1h2EZz7; 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=1733081073; 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=KkbVv6j7Bq62ZEpTHNtvdhfNGDmd7zhgcdFIPV0sXlU=; b=pzp3Ic+EAJC6hKBEfe1cfRQ0w8KN9MLKD7Fk6kGFNa+WsN6iISsNE7u/bVNFkleTVQKJFu hbsivD4XfYvVUcPRrem9p9D/wQwA9PiIs/TnROoEKbL4mUZ7W7GwiEXOUTVJ211bYrdTB+ 65jVAJviFSMtWv2B+4qTwLFcLXDrpGEkDfu1/imZA5Q8qy0XoPq2CmpUYS4uBOGs54gFah B/ohve3H1h40TmCBnzR9Ea2FFhAvJrgsVJwT3sTvZBkCFgR1URmzEt+X6mhzusWgotkj8c MM5LmQsyhv4dy9Q2xHbobU9dj4rKz/28asvD4ZYzRdk60lMkzUhZQGdrj4+kOg== 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 2A55D19DF5 for ; Sun, 01 Dec 2024 20:24:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHpXk-0005dy-7V; Sun, 01 Dec 2024 14:23:46 -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 1tHpXe-0005dh-Ni for emacs-orgmode@gnu.org; Sun, 01 Dec 2024 14:23:38 -0500 Received: from sender4-op-o12.zoho.com ([136.143.188.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHpXa-00028W-Nj for emacs-orgmode@gnu.org; Sun, 01 Dec 2024 14:23:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733081007; cv=none; d=zohomail.com; s=zohoarc; b=lUyRDfuIFiLkCqpQ7Wob0JJYnpdezSQLTDME/v2mAZQ4DaBdI6rZHYp3j0NWbEsIagwSeSUs6Ng9LLyxzFxySW9syk6Pi0irI/WdOwSfmGDY/XrwwBJWaHJFr9R17Feq0kVfZMRLdvzTHPtl6vwZUJV58bXACe4ONjCYTPtyUO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733081007; 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=KkbVv6j7Bq62ZEpTHNtvdhfNGDmd7zhgcdFIPV0sXlU=; b=XL7fBx+zRSRQRcz1stx58k8qA6vCD69l4Jv6mYqeXlQv8iZGuyFG1zZwLHJJfYj0ib7+4RXMev4Id/6Pvq1JEx8V3N3iMcvHQqzbMRd76WjEfxpWdIZArnpGTXe57t0K//ArWVXN7wf8w3UK+W3zcPxE240ySVKNQhHOtlskgME= 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=1733081007; 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=KkbVv6j7Bq62ZEpTHNtvdhfNGDmd7zhgcdFIPV0sXlU=; b=R1h2EZz7EB5Ji/dgIe186dnynR3O7qnl0ajOdc74XIsaHWSOSJcvb1+TRsS69+kN 1ZeHmFxielykkK1tmTsu3ZZKAvTaFVzxWj+oyvVzMP90mBIIW+AjhLM1kpDsnfg7dAR FcPH2RGS4W/KEAhosBMsGGpaggBFBYQQxpUxxxt8= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1733081005843442.08147599667313; Sun, 1 Dec 2024 11:23:25 -0800 (PST) Date: Sun, 01 Dec 2024 20:23:25 +0100 From: Matt To: "Ihor Radchenko" Cc: "ParetoOptimal" , "emacs-orgmode" Message-ID: <19383ad7efc.cd8c003b57730.3402192083670632266@excalamus.com> In-Reply-To: <877c8t4wph.fsf@localhost> References: <87zfm369mt.fsf@mailfence.com> <877c8t4wph.fsf@localhost> Subject: Re: [BUG] ob-shell async session does not work with multiple blocks running [9.7.16 (9.7.16-ba9734 @ /nix/store/6la93ywyb1h055phgyqba7h7qay60p0m-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.7.16/)] 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.12; envelope-from=matt@excalamus.com; helo=sender4-op-o12.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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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: , 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-Spam-Score: 2.07 X-Spam-Score: 2.07 X-Migadu-Queue-Id: 2A55D19DF5 X-Migadu-Scanner: mx12.migadu.com X-TUID: UkKYws1iGb5a ---- On Sat, 23 Nov 2024 19:43:05 +0100 Ihor Radchenko wrote --- > ParetoOptimal pareto.optimal@mailfence.com> writes: > > > Problem: Running two shell source blocks with the same session doesn't > > properly extract out results from the sentinel value relating to each > > respective source block. > > > > This could be a known issue which might make this an enhancement request > > rather than a bug report. > > > > Expected: Running two source blocks at once to properly deal with only > > their values from the "foo-comint-indirect" buffer. > > ... > > Confirmed. > > Matthew, may you please take a look? Thank you for the bug report and for the confirmation. Unfortunately, I haven't much time at the moment to address this. It's not clear to me what causes the observed behavior. Assigning '1' and '2' to the echoes in each block shows that the results for the second block are placed in the first: #+begin_src sh :session foo :async sleep 5 echo "almost done1" sleep 3 echo "done1" #+end_src #+RESULTS: : almost done2 : done2 #+begin_src sh :session foo :async sleep 1 echo "almost done2" sleep 6 echo "done2" #+end_src #+RESULTS: : bebfd924-c3b8-4ad4-aec0-23f322d5af0f