From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WFIzMWjYwWV6dgEAqHPOHw:P1 (envelope-from ) for ; Tue, 06 Feb 2024 07:57:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WFIzMWjYwWV6dgEAqHPOHw (envelope-from ) for ; Tue, 06 Feb 2024 07:57:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NmdoGyUY; 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=1707202664; a=rsa-sha256; cv=none; b=NNjEuZQMhHqPG4wzNPbckQvVWTAfEYc/KHQappyvI/jYUQHoh99g8jy1hyMQOlDs0BK4pu R3RWc9WH54VJEhMq30ctU4ISLoScmBci+JbF1J8rPZUOVKk20T86uBUPtaNu9QI1vBfycX QY4scUB7D2sye+GgqzO0O30gHGn67lFWE92l51FtdKNQzKoWWohwagZ4Qv7RUJQAL3b2aE GYZaFXjvjtl6eZ7KfJDkRaRI/olovI4GVzE96sfzGyKxknENOcK9krpd9CyoMFQNNh3lOw 7UvfYizTkzVPmU/IiIUeQnKP7Iz+os0uCyWW5X+yiI9ge4CsdUmcbr38lZU6fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NmdoGyUY; 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=1707202664; 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=8jVmMEZz87xxTRtrQ3wd4eSk3dYW+ZwrI4gGKYlySzs=; b=cS0Kg1g5mBblpI6ejlBfTlSZ1OntvHnX6TvoqqdeNZ5MIa2/+SqTqiyzy/lPdPU0CwulL7 M2wi8mRkh0kvk0Fpqbwlck0LUs2dyOg1pRPiIv0uwN3UXui4R9UdKKbxih7LUyX4kFeUa8 FCLt6qfAZQ0E7brCZ8SCPr18KMvKEUARe5kgF6Ib9CIYBqqIINTOS/IQNTFfu+pMA02qmt vN04Z0jexSleQNWy7HtfRUPgGnO0lbZr3jvQUjmZcFAU46j8SOW+BdDcpWRcgdoDnAAHtb NwfbxSq3Wp/srB/KxFzIk8A91jNtN7Yi1dz6rg1R/8K43tUbNelh/DGZBFNRVA== 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 7FBAB25BEF for ; Tue, 6 Feb 2024 07:57:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXFNx-0000tB-7N; Tue, 06 Feb 2024 01:56:49 -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 1rXFNv-0000t0-Q4 for emacs-orgmode@gnu.org; Tue, 06 Feb 2024 01:56:47 -0500 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXFNu-0002I6-Dz for emacs-orgmode@gnu.org; Tue, 06 Feb 2024 01:56:47 -0500 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-29080973530so4300377a91.1 for ; Mon, 05 Feb 2024 22:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707202605; x=1707807405; 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=8jVmMEZz87xxTRtrQ3wd4eSk3dYW+ZwrI4gGKYlySzs=; b=NmdoGyUYIUyi71jIF7dqf9xt7zSX5zHns5sSLTzt2HBfOkyjFF2eW7jrz0lDMHtGjU 43Z9EK/OXkwy+/FLJklfKng0A9VPQLFrgLpjwqaIq6vrHoWz1ncU5pjLpvJsn6cB5qLh VkXWY2NbqU1eHHUGX1wKAyMnAm1IK5YDe+HldNc5zfJj1F2gsvDXH2VQes2uGIBXQwXV 87ESFC0CPUKGpieOrKhfp40DVyEh80gjHB7/4g0aUXieJ5DiPCkeOqyCu62yrSJycBSB 0EHT1FeUIYYdXej0976YGl8BxoOJl8apdsnn5inZ6/uyxnCTetfVbBfSSKqzeWSUgvfg MbLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707202605; x=1707807405; 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=8jVmMEZz87xxTRtrQ3wd4eSk3dYW+ZwrI4gGKYlySzs=; b=GUcci2QQGVYdfdLnijCznB2g+MZl50kwk5a5FO24wZ2fduOw9dk22/SbR3zVVD7Uhb snH/CsTf1GGhyZuxShsp3DUjx6S1D4M3/9eLNW7PHOl/aYXrk241kyyPrKikXLHPm/qq f+cUTCkk5A8KVdN92k2cEOS7NBhgzqCPlfe3+l0ouxqpz5inWZU+l0QMEkj7vqIg7erY PqTiRjaOebJm/JYdZQ1eoHum1D/1OPB7MnXCV0sLMzHY4SswyD2J/mC+DLLpyYAQhJCW CrIsdN0e8ETgxuOteYaaKM1sQf4KS3I6RYiVuXszdJsGzB8N57JPqmMwHObWMeAvvx3d nJSw== X-Gm-Message-State: AOJu0YxsF1KNpvno5/IrYHwc9VzEXzee0Z4/du+VN5sMtmoOuNg141Xb 9VAi0LQ+lkF6gFZ31cUMNzWcEdE1CgWN1Amu/P2f1WdVAUN2WFMSgxkLbqNh X-Google-Smtp-Source: AGHT+IGJIK6yj4nIEmev9Kr5Ov3KFunZIpFzgxBVODp+hBuhggzKdal/j2ZiTYy1wLkwwW64rpbU6g== X-Received: by 2002:a17:90a:f0cc:b0:296:1033:c97b with SMTP id fa12-20020a17090af0cc00b002961033c97bmr1490047pjb.49.1707202604528; Mon, 05 Feb 2024 22:56:44 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUlw0rxD+aRJI+EEFuqIG9QQsfKiTyQqoyN4cTMAobUU95EZDaA7YzjvYV9p5WPDuV1+tjRqy000UuOcpxbVFunERFVk7U= Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id e8-20020a17090a728800b0029668aee138sm681920pjg.40.2024.02.05.22.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 22:56:43 -0800 (PST) From: Jack Kamm To: Ihor Radchenko Cc: Nasser Alkmim , emacs-orgmode@gnu.org Subject: Re: Async Python src block behavior with :dir header property In-Reply-To: <87r0hr9f3b.fsf@localhost> References: <87il3a55bg.fsf@gmail.com> <8734udvjai.fsf@localhost> <86plxhely9.fsf@gmail.com> <8734udoejo.fsf@localhost> <86y1c5cztv.fsf@gmail.com> <875xz9o4nj.fsf@localhost> <87plxg95u4.fsf@gmail.com> <87msskmm47.fsf@localhost> <87mssi8ht2.fsf@gmail.com> <87plxdmtq3.fsf@localhost> <87bk8x81g3.fsf@gmail.com> <87y1c019a7.fsf@localhost> <877cjj915y.fsf@gmail.com> <87r0hr9f3b.fsf@localhost> Date: Mon, 05 Feb 2024 22:56:42 -0800 Message-ID: <871q9q84id.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=jackkamm@gmail.com; helo=mail-pj1-x102f.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-Scanner: mx10.migadu.com X-Spam-Score: -6.98 X-Migadu-Queue-Id: 7FBAB25BEF X-Migadu-Spam-Score: -6.98 X-TUID: BwUEyruIKd6k Ihor Radchenko writes: > What we can do is to introduce a new backend template function > org-babel-session-buffer: that will be passed a session name and > src block params and return the session buffer name. > > If such function is not defined, we fall back to assumption that session > buffer is named the same as the session. > > WDYT? Sounds good -- I think this is the best solution.