From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EEsbOamNCmTs7AAASxT56A (envelope-from ) for ; Fri, 10 Mar 2023 02:53:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uBpjOKmNCmRpSQAAG6o9tA (envelope-from ) for ; Fri, 10 Mar 2023 02:53:45 +0100 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 9C8DD2EBEF for ; Fri, 10 Mar 2023 02:53:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paRw7-0002DM-BU; Thu, 09 Mar 2023 20:52:47 -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 1paRw5-0002Cs-5q for emacs-orgmode@gnu.org; Thu, 09 Mar 2023 20:52:45 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paRw3-0002oO-QX for emacs-orgmode@gnu.org; Thu, 09 Mar 2023 20:52:44 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1paRw1-0001Pn-Ct for emacs-orgmode@gnu.org; Fri, 10 Mar 2023 02:52:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [PATCH] Async evaluation in ob-shell Date: Fri, 10 Mar 2023 08:52:35 +0700 Message-ID: References: <186283d230a.129f5feb61660123.3289004102603503414@excalamus.com> <87v8kd8zzw.fsf@localhost> <1863472efe9.10fdd5ba4258906.5972264927968042941@excalamus.com> <87y1p7axpe.fsf@localhost> <1863d69188f.11e078bd1228881.451172865246440158@excalamus.com> <87fsbcbf47.fsf@localhost> <186471d8980.c36aecd0374444.2548279362371712281@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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US In-Reply-To: <186c771ebdb.fadb25d63466542.8590370552765842508@excalamus.com> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678413224; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=cvhAFseqUTIlWz2mcNiJcUluc59GtyNVcAc3WVjlu7s=; b=HOVhCjjozqlcGxZpzJAGEPc8gik+gRYdDxdyFq9ghPp5juddGHVTKebxR3zFmSD/WT5mb1 AVqEQIcBaEzmZNL9/ysOMoGMNHHag3bxo7jeGtkVGDaB6fOG2+90GCnpgyfrFL28KVosHF /sdEGYg2BOrMocN11djcn1d/OXTqV6F/WpRzlIdABhVFVw2mTOyNfMNsshTa1MVEKBJ7oU M5wAQnsxbeDWnktQ5C25p5xNc3fvbszTn/VPR8ds7mMJzjeSsVWfcvd8O3BUbvn213mjjk +z5iRb7fesAceu0jDDP8IVRJ3jBeq0HI101OfO36zQfnq52IYGCBktTfPtGnWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678413224; a=rsa-sha256; cv=none; b=Ul17X1kfl3KQORwkqCB4yDSpphCsQN+uf11VUT0PBbFXra06NYpICVjnzfH3BtYE2u1e7H wne+Wfdm8VJe4CLoiXjYf5Me7NWSz/q6/e9UtP4s+4qXDfPJ4VScgBr03XJRkJuTNLu+tc FjGeLCftQfXIMHNJmdFrpYk46kBmWgm+yWODrCV1gcjr6wn/UJWcYGQhgGVZinfTwBzKep 88kMI3p5VuCzdbty/CFLpHSG4nGaDy23ClokBcfOYQm7vj2YAOWUaerWEd6VFUYODY2bTX 32ZqEDXfISSnJFCTrFkos/YZBL2L8uySQOENm1zzRppCsfR+Gr/Up551tDfELg== Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: 2.50 X-Spam-Score: 2.50 X-Migadu-Queue-Id: 9C8DD2EBEF X-Migadu-Scanner: scn1.migadu.com X-TUID: qkH/tzOyID2u On 10/03/2023 00:36, Matt wrote: > (concat "^" (regexp-quote org-babel-sh-prompt) " *") -> "^org_babel_sh_prompt> *" > > Currently, the two combine via the concat to give*two* spaces in the regexp. "*" means zero or more, so " *" with two spaces acts like " +" one or more space characters. It is unsafe to append just "*" or "+" to another regexp since you can not ensure what is the trailing pattern of the preceding regexp.