From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cPx8IB/BqF8OXAAA0tVLHw (envelope-from ) for ; Mon, 09 Nov 2020 04:10:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id A+RSHB/BqF+wbwAA1q6Kng (envelope-from ) for ; Mon, 09 Nov 2020 04:10:07 +0000 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 D29949404DF for ; Mon, 9 Nov 2020 04:10:06 +0000 (UTC) Received: from localhost ([::1]:38420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbyVI-0002Ul-IL for larch@yhetil.org; Sun, 08 Nov 2020 23:10:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbyUv-0002Ub-36 for emacs-orgmode@gnu.org; Sun, 08 Nov 2020 23:09:41 -0500 Received: from pb-smtp20.pobox.com ([173.228.157.52]:58353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbyUt-0005I2-An for emacs-orgmode@gnu.org; Sun, 08 Nov 2020 23:09:40 -0500 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id C6D5CF7E7A; Sun, 8 Nov 2020 23:09:36 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=/SEL12q1BdsHNpXh+SBdEn03uSw=; b=Gk3pfq QV+vRbBjGv1Pr9nHhqor2UWAs95pVCnYKoj3lDX04wBQFjQ46vefyzII8oLh82Km TPNroxJ+w/TrVonJc0PyfSkMbaXWn0C/VSrBK/H/D4FqgGIylVu83zSUpfdRFZ+9 TPHaTrs1SZSc7TQLdB2ILz+JhDtDqfg7yOsis= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id BF80EF7E75; Sun, 8 Nov 2020 23:09:36 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=a9Z4n36t3Pyl2YgxrQHDqIkIqbwcG9WkcAgcDKF9LQk=; b=l3xhf0mTMftTQmsOQDY15sC+rRPo3fJ0kv3HbtSDj81ZUC/hxYLZz9xjfH8Zw/BdyWxFrjPAfGYTSDq+gB5ij8a4Z1YqGrd/Mc/PyCM8ylM2Xxcc+WyAQKtVzeYwdzjx8kN7q0if5HIQkihE04NK8zQvLwx6QeR2uXgLYUhyb+8= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id C6394F7E74; Sun, 8 Nov 2020 23:09:33 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Jack Kamm Subject: Re: [PATCH] Async session eval (2nd attempt) In-Reply-To: <87h7qi2l2m.fsf@gmail.com> References: <87h7qi2l2m.fsf@gmail.com> Date: Sun, 08 Nov 2020 23:09:31 -0500 Message-ID: <87imafgohw.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 5FAC373A-2241-11EB-A711-E43E2BB96649-24757444!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=kyle@kyleam.com; helo=pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 23:09:37 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=Gk3pfq Q; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=l3xhf0mT; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: uSqK1Oa/7Xs9 Jack Kamm writes: > This patch adds asynchronous evaluation for session blocks in > Python. It also adds functionality to implement async session eval for > other languages using ob-comint.el. > > To test the attached patch, add ":async" to a Python session block > with a long computation (or "time.sleep") in it. Upon evaluation, your > Emacs won't freeze to wait for the result -- instead, a placeholder > will be inserted, and replaced with the true result when it's ready. > > [...] Thanks. Sounds exciting :) So... have any Babel users on the list given this a spin? Any comments or feedback?