From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 MDi/D66F1GX8WwAAqHPOHw:P1 (envelope-from ) for ; Tue, 20 Feb 2024 11:57:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MDi/D66F1GX8WwAAqHPOHw (envelope-from ) for ; Tue, 20 Feb 2024 11:57:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fQP3vU7A; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708426670; 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=4RADh9UL/qlcExta30yy3ZVeJb34G+bA3OzmmJN95e8=; b=QVK+tzquSGH8mx8GtwXg3h5TAVWXb6sjaetlZ6PeFB+SdSz9VH6UVeAUsDi+lLs2NgJHDJ 05pQwCx38b4RWibJ7xYi8PMm5bQLUCBUNBWHRpwR5zJFlwymWzxpDeAk2Je+vog2bXbrgO 2g0068oeyXdbOeEo5ka1biLOY8g1Msq/6bFhpF8KSyGzLw+J2YrrQNLdeiD6J3n9oDI1Cd 1RYyqIW4W5BIZSmtFcipOYTUwkinWawcKTzEdFh1cYzNif7/E4FJVXTh8I3gSW//7WbQby 6SBGJh0VWCEJYi2S8enBz/m4MTuP4wQkpLSh7mKZHwbR+8oFMBwlhJCqee1PJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fQP3vU7A; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708426670; a=rsa-sha256; cv=none; b=M3jeaIU0pnoKxJcMVE1YpinO305tc1cRYKnc3hmtCbusGAaBdsiMFdOiB33mTUgUAWRtbm 1C6mMmJv+EolReeEqT5H/ev2whgU2hCO997Wnla1RLJVoDJhCIGsfpFmCnj3Jr39T7CNEG zQGp2c1DmzNFbC60AJrwX4lPVOd8hSlkSW9Bbl6RHX4kNa2CdDNUwQpJZD69s4ym2aJMek Ikj5uRsFRPoqfftvi3u85oWDolLs+WgaK9IhY1eXVBknYMNMCVrFRw+pgBgCO6F+k+PUdK QtpUu7SeSIS2ksSvS84xMTnIHZ4bhWbyzt94xIHteliKhjBK5wB9tWMZlIUQug== 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 01BC92604C for ; Tue, 20 Feb 2024 11:57:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcNnw-0003Yc-PW; Tue, 20 Feb 2024 05:56:52 -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 1rcNnv-0003YD-70 for emacs-orgmode@gnu.org; Tue, 20 Feb 2024 05:56:51 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcNnt-0004mn-LN for emacs-orgmode@gnu.org; Tue, 20 Feb 2024 05:56:50 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 74463240027 for ; Tue, 20 Feb 2024 11:56:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708426607; bh=mVUS98X5Trd8/xA1/4wpeLNZ9MnJ9SagWSlJI5ExJM0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=fQP3vU7A7N+3axMPZmNMQstbgdPoLvJ0aSfqS/JO5YEz8xPJBN6vdBMqa5QiMNrKp PAvs4dnd2NE+ljpeDsKah83JyHV3JnQhR0xAaNYtNCQTPFMiW4ctimhv8EW0+Lh66G R8iZTk/IxegQlNJBk5YrFwhCG7UvmsDVvLqJQTHclwaZR0PahgwxluBoPi4sHWjHV+ HttgwVAMgx6himz+jn/Qgz2NBosXkU1UMH+ZdkJMxYuBjqxlTEIVkieqspnuDHPCpR dGpsoAvq/tB9C8jN07ABGjegnoUFFkJ+J6ZQh42n6JOgyLjbqA03G79RdpFkD9QIkE +gRk+CEuOjo1w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TfGYp5txVz6tm4; Tue, 20 Feb 2024 11:56:46 +0100 (CET) From: Ihor Radchenko To: tomas@tuxteam.de Cc: emacs-orgmode@gnu.org 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: References: <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> <87h6i3e8g9.fsf@localhost> Date: Tue, 20 Feb 2024 11:00:28 +0000 Message-ID: <875xyjflir.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.14 X-Spam-Score: -5.14 X-Migadu-Queue-Id: 01BC92604C X-TUID: qr7cY2lQ2ui5 writes: >> Doing everything asynchronously is not always desired. >> Consider, for example, >> >> #+begin_src bash >> echo "Contents" > /tmp/tmpfile >> #+end_src bash >> >> #+begin_src bash >> cat /tmp/tmpfile # I must run after /tmp/tmpfile is created! >> #+end_src > > You "just" [1] need a way of stating dependencies :-) > > Cheers > > [1] In quotes, because this opens a vast space of interesting > and strange worlds. The functional folks have their monads, > the compiler backend builders have their dependency graphs. > Definitely doable, but treading with care will be helpful > to not step into a mess :-) Let's not jump into this rabbit hole yet before we have async code working for less complicated scenarios. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at