From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MGmJKKqh0mUFGQEAe85BDQ:P1 (envelope-from ) for ; Mon, 19 Feb 2024 01:32:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MGmJKKqh0mUFGQEAe85BDQ (envelope-from ) for ; Mon, 19 Feb 2024 01:32:42 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Qb3Xc49r; dmarc=pass (policy=none) header.from=gmail.com; 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=1708302762; 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=BpSAAvUgBCZOBioX3glmphl0HYxxNbWf2EecdS334XU=; b=jUL8xoq1z/tPpl73awjOxTWxbOJqUnFX8BD1z+Vuczi/tB6QP5rs/VG+zh8HL62/QH36Zg mMqAA1jZzEuycV7ge62jLR09xU8JcNVioZrG2eIaFSU66ix7LlHP0haXRxWhuFLSMJQsG2 gOpFMrWYLV4QnmfpO8DvUAG094NeX14UOm1Xv9n9oAtZGnyIGBy0ZcR/XXT0HwOoWVdi0R YsB8mYLHYm7mli+gh9M4v0xjjYrx/F8hYE2FIRtvF9idfRv4xrAhoRrUxxbPH7G8rw7Mgz DuheAR5dXTN3Tp9mkbpDIMVh5SyvZqhxWqaQNYg1E/053TYXzMBHOwcpzsqMKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Qb3Xc49r; dmarc=pass (policy=none) header.from=gmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1708302762; a=rsa-sha256; cv=none; b=qMoPnaY+8YfKgPB0nvOTjVz4BJelekUjuprLky3Vv0wjltcE2HSfm70k57Hlf+OU1I+zLo /euIFMNqDUAjTxgi/vpgtojkC4sCsMlydt7Crc/nkEzuyqeBehndvHB74H0HirwyS8SVtv vXVSA7sWD0smCRJTcUiu54Oq0+SdJL1jwlQAvkIamzPi0377eZnnnHUzgIK9vsH+SJQUHT ICTLCpT9BgK0uNZ59GnRg9+wZj3xNqrGpejwO7aHCxmUYcYOiDldRmZ0/kB3bG9I5aXhvs BGyFU/IBcbDz55cGZlQcZGCFJSIFvsTDIVeKptg1W6Epz9Um7nLVcBekZNJ6hQ== 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 4682E548EF for ; Mon, 19 Feb 2024 01:32:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbrZU-0002We-Q2; Sun, 18 Feb 2024 19:31:48 -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 1rbrZT-0002WU-7g for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 19:31:47 -0500 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbrZR-0005t0-IK for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 19:31:47 -0500 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6e0507eb60cso2532148b3a.3 for ; Sun, 18 Feb 2024 16:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708302704; x=1708907504; 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=BpSAAvUgBCZOBioX3glmphl0HYxxNbWf2EecdS334XU=; b=Qb3Xc49rKHY3IK7We6QEXR7d0HV/HTP6e/IAyWp5FvKny0p2PG7tq01cUzcPUerWEy wIRA20lqdgOI/uXkAaHRv/O/5CL8jZ/K5U0ebcospS06npQIgTXl3dvaBhsY04TNgzZk pcTQzsjEdcRoAzzDkQ5VLBPZt3z7shSqpnOWo85usiyC+Sy3G28EUu3LXXYOzaxFeyXt S59bY7pkn9tfUuPoQlhAU2vxs1w6esq7HUd0hnKqIHp9ealHNCUi/8QRcKl0AZy3laT+ c3h6+HDDZDMkd4fvLV/iSP8R6muVtTGiwqUIZl1L/TXsrWQvtRarjinuaum76jrGgJI8 1gnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708302704; x=1708907504; 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=BpSAAvUgBCZOBioX3glmphl0HYxxNbWf2EecdS334XU=; b=OtdCnn9hxXm+swqJLRwz+nJd2W8sg17bZwYfZLThLl1DrIg8jjXaGza/nUmghEl3wa y4QoEqHL+spB5Srm7FkDs43J2ikKzgmSakz8oo9Wm4ykUL2Gw7S7EUEIbRJZwruja1d2 e95Wmc6GFVdX24eYFdU4W8SGDlWFYrehhZj8hKpgXQxk8pO+r81Up6Uhqa7A2k8MA1ng /Aid7DO1azHkdWzJ9AYzAhpUW0nubHpSwrUKm4KzJh1DGstPEYEXs2ghpFbI8mMH897q oIq7zTpid1qk0CQJab6kHR0rP1Tey6BY/RKn3nBh9xX0FBjx1Sj87tUasrV0z9Af62zg a87g== X-Forwarded-Encrypted: i=1; AJvYcCUogtTiNhOUwlIqkcwZob3iE8ftV7aOJLt+DR4IpQq9JmnhVqdysfLccczSojJBcQNzk9iuAjSMyQ4ni1NPLTVbsGGhcDg= X-Gm-Message-State: AOJu0YxggEE3GemHJW2Pcy1uWCFXjfGWAg0icqJDDDgBADXIPN4l0wep i6HGl0XnHAsrtd34XiEZIITPGvNFWZRTU8KWd6md1DE9SbSRlUkxv0HuVIaH X-Google-Smtp-Source: AGHT+IGdOeSS5fFnsDLXq8sLSPG3SCF0gjK49rmz9AlOGWpqBWVPjRORmIrgIThuo0jA2ia1kAecUw== X-Received: by 2002:a05:6a21:3116:b0:19e:378a:124c with SMTP id yz22-20020a056a21311600b0019e378a124cmr15534944pzb.12.1708302703933; Sun, 18 Feb 2024 16:31:43 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id ms18-20020a17090b235200b002998940b468sm1532524pjb.20.2024.02.18.16.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 16:31:43 -0800 (PST) From: Jack Kamm To: Matt , Bruno Barbier Cc: Ihor Radchenko , 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: <18dbe11968a.12c0800a31425096.5114791462107560324@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> <18dbe11968a.12c0800a31425096.5114791462107560324@excalamus.com> Date: Sun, 18 Feb 2024 16:31:42 -0800 Message-ID: <877cj1mh01.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=jackkamm@gmail.com; helo=mail-pf1-x432.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-Spam-Score: -3.80 X-Spam-Score: -3.80 X-Migadu-Queue-Id: 4682E548EF X-Migadu-Scanner: mx13.migadu.com X-TUID: I29lM7CeJB9R Matt writes: > The challenge I've found with Babel is figuring out how to make the changes. My current approach is to address bugs and to make changes that move us toward something like the ob-blub implementation. I wonder if it might help to discuss the core ideas and use a minimal reference implementation that serves as a guide for the actual changes we make. > > Curious to hear other people's thoughts! I don't remember the details, but my past self [1] thought it would be good to find a way to replace `process-file' with `make-process' in `org-babel--shell-command-on-region' or `org-babel-eval', and it seems you are thinking along those lines with `my-org-babel-eval-async'. Hope you're able to make progress on this and get the improvements into ob-eval.el eventually. [1] https://list.orgmode.org/871rczg7bi.fsf@gmail.com/#t