From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mFxkH9G7ImQOLwAASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 12:05:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wCVzH9G7ImTMegAA9RJhRA (envelope-from ) for ; Tue, 28 Mar 2023 12:05:05 +0200 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 55044EADD for ; Tue, 28 Mar 2023 12:05:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ph6C1-00056u-Nm; Tue, 28 Mar 2023 06:04:41 -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 1ph6C0-00051c-5v for emacs-orgmode@gnu.org; Tue, 28 Mar 2023 06:04:40 -0400 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 1ph6By-0005Ke-DU for emacs-orgmode@gnu.org; Tue, 28 Mar 2023 06:04:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 57090240317 for ; Tue, 28 Mar 2023 12:04:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679997876; bh=t04ONbPdT7jRaDDLTMXml1iF4hRaq3UrGhy0peebdYw=; h=From:To:Cc:Subject:Date:From; b=AVQ0ZmbrkQZ7RddW4dlSoelcyalT6Q8beSgQfIvBrr4h3pW0vVzrCsrAmQq8U3VrX G4IEqr69Bu2bkRwOPNqgO8fgIcp+cU6D+/OlO1oWWsyxvWjmVdSLmSzP656ua7ZBGm bfY77/eeOgUSCWhOnGn5/yrCyr3RwhwHXl62tA59jYu6zsYI2idn/JGQay8AmHWD/w uzfICvHj2FpeSgzLc+O/d9ISW6p8pkBN++u7i8qHyjKTwNv1RNjHxa+jxQBbEcC3De CC28eF7uMW7B9h39LGros1g8XNvYlKSEwIEDMuwOg7sRTlyhY7SkzyWnWubTC816ec ukrSANYipEGuw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Pm4zR4rtkz9rxL; Tue, 28 Mar 2023 12:04:35 +0200 (CEST) From: Ihor Radchenko To: Matt Cc: emacs-orgmode Subject: Re: [PATCH] Async evaluation in ob-shell In-Reply-To: <1872622dfc3.bc166abd104246.2200427223545260563@excalamus.com> References: <186283d230a.129f5feb61660123.3289004102603503414@excalamus.com> <87sff73r0g.fsf@localhost> <18658639a30.dec640641420614.2364646537016397698@excalamus.com> <87lekwd10z.fsf@localhost> <1866bf50874.bc4ef1a92164564.1238825567948423531@excalamus.com> <87r0ukefzv.fsf@localhost> <1866fda933d.cf33745c2396994.7118762013608820270@excalamus.com> <87sfeyc7qr.fsf@localhost> <1869ff63e3e.f8c4ed671354538.4585567073216319262@excalamus.com> <87bkl96g6e.fsf@localhost> <186a89b5a24.cc4913fe1885630.21323979015166045@excalamus.com> <87ilffz95g.fsf@localhost> <186b5aa9d56.1238923db2169250.3173443400140454866@excalamus.com> <87ttywg26t.fsf@localhost> <186c771ebdb.fadb25d63466542.8590370552765842508@excalamus.com> <873562z66c.fsf@localhost> <18705dca9b8.f4f7e70c165671.6021704484862511260@excalamus.com> <87bkkjn0ub.fsf@localhost> <1870ff849df.d1dd8428801951.6882979561396816717@excalamus.com> <87ttyay0jl.fsf@localhost> <1872622dfc3.bc166abd104246.2200427223545260563@excalamus.com> Date: Tue, 28 Mar 2023 10:06:33 +0000 Message-ID: <878rfhw5p2.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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679997905; a=rsa-sha256; cv=none; b=MTIeWetjACAWWJG9lZZO70/rZyXV1FR2Q3zVBhldeJ551eorvWUiD+UKGoY5Tc7h/beywl 0Jh96FEZKQOvhvepSfqmYeeKkSuqY017AgGewWQRT5E3JewD9MFQj9Vm3eEzWiyixRm6o9 4zatPH/5jG7UA8yO1lzVJ5iBxq8thvLJXlk/hkDVIdK/EUv5veU+eZ024PkF9oj1Wtn4bI 73IniPkIWBVGvMtrAtuZMVWK4SeTxDqi7VvDrj7SEJTrxCxyLv7O+idp8LlM/CiCxDhS4t hM++D+Q5rOhD8x3oDjm8Gv3CbX3OVo4kRltbSou41DGaUA0gd+af4shh34ZSqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AVQ0Zmbr; dmarc=pass (policy=none) header.from=posteo.net; 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=1679997905; 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=EyKaHSFrK8qnOKFsrHzYdqXmDPeNN/GmxnN270ulJj4=; b=CRzgcY4oPYfKB18oQORdJpG0PhRxVRCXCIeS6IOZngLOqoyCK6pjoLtIR0DXMoq6+P+NfG XI2dgKljDfAofjOMMMLuVHPOwT96Ibdo21ixl3Q1gp5bbLNWo8FrAkdJfR27J+WuNYUwle bgaT4et+Uos0ietpjFC4Vi9KwVoTUUVjF2UyLAFkCJNluMn7hjjJodVdvOhJha2dZRaWPT YOBV3zTNagKLsACPrfSIIUHaBVyKshYPmUbVn10jNWitkETQRLVtpmfXTdQr4hlyKumWR5 +aIpgoqNUClcRgjGVEfXGBv1irljffaGT6HXwSVuaoFtQ6FSYTyLL2vRi8v1Vw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AVQ0Zmbr; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.75 X-Spam-Score: -4.75 X-Migadu-Queue-Id: 55044EADD X-TUID: tSw+393SMIEu Matt writes: > - (session (assq :session params))) > + (sessionp (not (member (cdr (assq :session params)) '("no" "none"))))) > + (if (and async (not sessionp)) > + (error (org-babel-eval-error-notify 1 "ERROR: must use 'async' with 'session'"))) This is reasonable, but please do not use `org-babel-eval-error-notify'. Just a simple `user-error'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at