From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AN45GtXb1GVhNwEAe85BDQ:P1 (envelope-from ) for ; Tue, 20 Feb 2024 18:05:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AN45GtXb1GVhNwEAe85BDQ (envelope-from ) for ; Tue, 20 Feb 2024 18:05:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=meES3cjN; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708448725; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NbziOcDuiDPtNKDUk8HIyPmvq4JJGqRlXhXGAaypt8U=; b=tLEndSzt/T1EZX4CI/GkPZjX/LCnWJAc7/Cnh3/7PUWXfzMYCDtL02poIx3BdXoFuDDbFm ZXmABpLIwWBTMLll3JI8ruYqHZ7LfldCcczBe0ykiXPYxegRWoHx6uvGZQ0GaboTytbJ0H E/X+glZWmrsZI67Pvk/nBQ/xT0D72i8Ie0Zpu/B+D2jMbZTgt7cYmxZtY2O89w/iKQk9hG phMUT7znIf1rpxMrD0Uu57pAMAnpUgA4+M1qS+P8rh/v6HDpU88urMhMfFUKFpWjvQ/za3 MJFPde+NXu13gr3PuqpevI+ybIrhYiu/ppkwXAuhDPKJ1hDk/lopulr/dWi1Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=meES3cjN; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708448725; a=rsa-sha256; cv=none; b=GSCm3dCstjXZfbjokoRQHr1PCLFOx5P0RX3btEq90QopbTs13448fR+j7Fca89ftRgNpb1 QfN7GYu5S63NgcubL6bcNaaPG5RfysceIXq/nnX1IxlmvNkl6/dTW+Aou97W4mtCzwwDRo CCWSuQXJHuZ0O0IHxXgNbjxYrARXGDU0Z5wc5tKcAIGL9MZ5mm9dxCW29WtJ0C+YZKz9vg 5+ff5V8yZKaa771+WcNuRXhYOsgeGPGpMKpfFj2PSaF44YA2qnkM7Sf78ebo2Oqx+DZHmc 8CcHtSxPitB8JCayCEwbrDg6M8VCqHLrVSsqPklD7xCcpTVF29XdB1UuQyhReg== 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 2D5746DF6F for ; Tue, 20 Feb 2024 18:05:25 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcTXm-0004Rt-NT; Tue, 20 Feb 2024 12:04:34 -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 1rcTXk-0004Rk-AQ for emacs-orgmode@gnu.org; Tue, 20 Feb 2024 12:04:32 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rcTXi-0006os-Rr for emacs-orgmode@gnu.org; Tue, 20 Feb 2024 12:04:32 -0500 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1d8da50bffaso28401375ad.2 for ; Tue, 20 Feb 2024 09:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708448666; x=1709053466; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=NbziOcDuiDPtNKDUk8HIyPmvq4JJGqRlXhXGAaypt8U=; b=meES3cjNogJKEb0goyv+jU9gCzChMjc18doGT1hXArUYgGNTlr+p17xYHaybd6S824 SCBj3xhLmU/Dfv5asZu+aMETDBPRDNTzU8U4YkFhvWr8H4P4/jTvu4+EQjmhBp4z8Aff pN/pYyjBWqpqbDTx3yy+GyUwbzNAA8J8zZh7HNZhE9KyL2AWbOKKvELcCW0u2F1rMzI/ pKedBYkNYse1YLT6Zr7L69YyIkR0KRnWlueVtORQCHwm3adcyTdwxDC5IAWkZHqOb7WO +2r8gwJ8A+rF7Twpd3c4eInujgoZztTiVzSyrBO6iUVlgsv4pQRfOU4my3XdJ/H2vTBq otGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708448666; x=1709053466; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NbziOcDuiDPtNKDUk8HIyPmvq4JJGqRlXhXGAaypt8U=; b=sz6I5RXhCqvcxBr8a9hHiJ4JIgJvQM3qZf0ag7PjROIAdkv8TSUhkXo7LXuepEtzks xI4A0zyId2e42i5O28FXporqgiir1UUZsfwhLsaSYOcPTasLeBxRL+EWH8GqAUqIPEEV H00SUyiY0Tr1nuETRzsFEMHHCTf5yuKcXvFEK9lUOnxkc6vOgEcaG7TENpaRvW4JJ3T/ +TzB2KgEFuLL+8w+yNowBnhTldA3Hvmn+ajVjVQYzqLEcusyf5AQLxyM7xE+TS7Z8T3j iTSGvx5Th1D7Fu4qXgSEY9exViUe1osps+gHeF+gLlx+GSJ9QA82GIFps0IZvmEgGIio lGfQ== X-Forwarded-Encrypted: i=1; AJvYcCV4Zh7Rp6saNNr8T/fIOlakh5U1LfUw/JWhGErwA83rXk7BEOxZtGWlM3KAc/gRemWfulKmOdglV6PAPWvGoGT4rGzVIRM= X-Gm-Message-State: AOJu0Yw2tytV+X7USxv3pYSF4gDn/1JClAvNaTQnnoHUw7J8PSLwgsl9 aYZzfaNNA3GO9egVBb1NmGPRrRgXLb+fzYDb1tFl88srJ/4LcRQiviZ0ozBg X-Google-Smtp-Source: AGHT+IGr9sWSEti9RshOJ28lNSyFKa3l/nie49aA+knXusu68inDvTmH6enzTFj0Wv09UG+LB/Dy+A== X-Received: by 2002:a17:903:2402:b0:1db:5b41:c59a with SMTP id e2-20020a170903240200b001db5b41c59amr13798631plo.45.1708448666156; Tue, 20 Feb 2024 09:04:26 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id e2-20020a170902b78200b001db45bae92dsm6372132pls.74.2024.02.20.09.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 09:04:25 -0800 (PST) From: Jack Kamm To: Matt , Ihor Radchenko Cc: Bruno Barbier , emacs-orgmode Subject: Re: Asynchronous blocks for everything (was Re: [BUG] Unexpected result when evaluating python src block asynchronously [9.7-pre (release_9.6.17-1131-gc9ed03.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]) In-Reply-To: <18dc2e91dd8.10f3215bc1755701.202604539690134807@excalamus.com> References: <87o7d0mm54.fsf@localhost> <65bbb108.050a0220.b60fd.6790@mx.google.com> <87jznm8hcu.fsf@gmail.com> <875xz42rp9.fsf@localhost> <874jen8zec.fsf@gmail.com> <87o7cv9e80.fsf@localhost> <65c2875f.050a0220.caf6d.8291@mx.google.com> <18dae5cab1d.bf1c7563863897.4896289306902277373@excalamus.com> <65cfa0d8.050a0220.cb569.ce34@mx.google.com> <87frxohlgo.fsf@localhost> <18dc2e91dd8.10f3215bc1755701.202604539690134807@excalamus.com> Date: Tue, 20 Feb 2024 09:04:24 -0800 Message-ID: <874je3m5if.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=jackkamm@gmail.com; helo=mail-pl1-x636.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 2D5746DF6F X-TUID: mmVpPP7BlUpQ Matt writes: > AFAIK, aside from appending "&", =make-process= is the only way. It would probably make sense to continue using =shell= though. If I understand correctly, you (and others) jump between the Org buffer block and the comint buffer? Yes, I typically use ob-R and ob-python in this way. Aside from the convenience of interacting directly with the REPL, the comint mode may provide other useful facilities, for example in ob-R the inferior ESS mode provides completion that is aware of the objects in the current session. However I think modifying `org-babel-eval' will mainly be useful to provide async to the nonsession users. Comint-based sessions mainly use functionality from ob-comint.el, not ob-eval.el, and I think that the use cases are different enough that they shouldn't be merged into a single implementation.