From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EPhdA7K+i2VnGQAAkFu2QA (envelope-from ) for ; Wed, 27 Dec 2023 07:05:38 +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 gOH3N7G+i2WVKwAAqHPOHw (envelope-from ) for ; Wed, 27 Dec 2023 07:05:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dPnXOK3P; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703657137; 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=buBc/OZd+QggTVBHeai0LwmuCDQHnGKcgDvHLgDR5kM=; b=bnHFtG1B7phZw6fKSxDTZmvg2d0M/aNl/NNa1wYkF6DseiHy1y6IViR//THiYmfGutVQTN 3VLRy8mJuCD+MxccjnCUCmBeSu/HpQ4yIyKuX9fLkLi80EddgssHzd/asADhtE1UJBH0D+ X9LaPVEJ0pAGsqSez/LsN+LaN5ipXvL5OMYKtIUQdXTgs0LmoNr2udxwi0B5w+AVRH0szt SXF2X654ULukJU5ZsVzORXnKf4Qg59CE7Leq3LtGq264pdZEs/BG99eAUOD4HFYn7v83On COG6DaBRCR5FG7UY+KE8Po/9yqDedwt20Tl1r4zFmHUcsSqsDQn8VXnKtuwoMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703657137; a=rsa-sha256; cv=none; b=PmWphyVUWv6oEwAd5p0O5b8tFsVY0uncdqIREaoYdSBLLyYJrZ29g+D0OQRHXmJHXeKol0 5EIXhnO5loQlZ/bKXw9Cz1iVkA3IIlJQ+Iwyve0Aq/ig09cGKVYvtO8tJNSabDg/YWMxNa h60lEOjjrJrR/tIDiM7hYEPma4429KyBRY3qnqz4HNTZMmwAdCZpezKo7UnPU2VPVcrwSm FHWGi2JmRw2h/eqg1xEvCKxOD/H6v/oSIudSR7RwQDKXsNGB96fCqxWURpaC2i9UPtgfGs yZe9Shi533r/XjlE8ka5mJB9NKqdUX5S8uqjhgeZjx6Txxbev7nfbxCaeZcsgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=dPnXOK3P; 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=gmail.com 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 B4DCF2077A for ; Wed, 27 Dec 2023 07:05:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIN20-0007c4-4b; Wed, 27 Dec 2023 01:04:40 -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 1rIN1x-0007bo-0Q for emacs-orgmode@gnu.org; Wed, 27 Dec 2023 01:04:37 -0500 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIN1v-00075Q-JM for emacs-orgmode@gnu.org; Wed, 27 Dec 2023 01:04:36 -0500 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-594ce2083easo306863eaf.2 for ; Tue, 26 Dec 2023 22:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703657074; x=1704261874; 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=buBc/OZd+QggTVBHeai0LwmuCDQHnGKcgDvHLgDR5kM=; b=dPnXOK3PrguXl+Yn9qQkwHp7rYDrOFG6Us4++KE2idoZvZ9YbqvEreN7srgmoO/WsF RugFFqm3RttnfjNRcF0lnU4oRLF4JTMCchnWJMsJRuGmXv3kq1EtGDKPFI9TFUBjXP63 GXp1rPb0YByJVuJ8FiuKNsTGhYAsm+jji3h5QIxQnmxMON4ev7DVLnTt7hUdnOX5b8Wz 0Me/YzeqZLufOZ7h67tow9xxxwzAnXvgzurYxDgAxgHpBSCGqhSWnuLuJp8tU7hqCjr9 6Xnjiu06ZHCa/sWGqZNbLz9kN+bu76/i1oxsYuIUkW5ml3eE0+scyUH0wbxNzpGiB9vs mX2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703657074; x=1704261874; 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=buBc/OZd+QggTVBHeai0LwmuCDQHnGKcgDvHLgDR5kM=; b=uzApXCcgLsNpVb8xeSGUxu/HSb10M/fv3E1av2EGV4y9zh3cOaZzhu4+ubaIp+re6I z1xYm+KWAFRZfetASdnqnXtMv39eKD8g8VIJG/ldx3HL4RCYunuAzxjq5YL9GGkyTe+w dcgylYEdohRZRGnc0cpYRJCFPQHRWSn3sWOVrpqaCjeHBVLEGlX4RKDQFvAJ7ZTMJ6cB spASews0vdcYfEx9ZuUl7+OtZv+zvaO7VWr8o5V9T2MdtG6Fp+jFmlFsFoachwP+RG06 0r41+M8IlafsUb/QLsiqzzzm6sxXD8l16rRnOmzGBHYvuY8Yp0F3oBujZS41y39SlzN8 4LqA== X-Gm-Message-State: AOJu0Yyj67G14fQgMirBs7t6iZfoxRi5RWXXYfK9XTZbQECWi9hEqNnN WqiJhLDkGYsV5OvFlZJ9dEk= X-Google-Smtp-Source: AGHT+IHQyOOPgrij7KzKW2TTkJq6ON1zaG9wIdxnk8STTT9UYRyB/macVhrQT7ubmxv7eucKSSlScQ== X-Received: by 2002:a05:6359:2ea4:b0:172:f968:51f1 with SMTP id rp36-20020a0563592ea400b00172f96851f1mr7063001rwb.55.1703657073534; Tue, 26 Dec 2023 22:04:33 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id sj10-20020a17090b2d8a00b0028b845f2890sm9785630pjb.33.2023.12.26.22.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 22:04:32 -0800 (PST) From: Jack Kamm To: Liu Hui , Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Set Python shell in Org edit buffer In-Reply-To: References: <87zfyosw8n.fsf@localhost> <87ttovlb1u.fsf@localhost> <878r6647vv.fsf@localhost> <87bkb2rqer.fsf@localhost> <87edfwsuvx.fsf@localhost> <87sf4bsm1w.fsf@localhost> Date: Tue, 26 Dec 2023 22:04:31 -0800 Message-ID: <87mstw18r4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::c2f; envelope-from=jackkamm@gmail.com; helo=mail-oo1-xc2f.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-Spam-Score: -9.53 X-Spam-Score: -9.53 X-Migadu-Queue-Id: B4DCF2077A X-Migadu-Scanner: mx12.migadu.com X-TUID: miBhT7RZzhAK Liu Hui writes: > I just want to set 'python-shell-buffer-name' in the edit buffer > according to the :session header and don't need to start the session > even if the session doesn't exist. Sorry that I missed this thread. I agree that `python-shell-buffer-name' should be set according to the :session header, and that Liu's patch fixes a problem in ob-python. Is there any objection if I go ahead and apply it? I think the question of what to do when a session doesn't exist is a separate issue. Liu's patch doesn't change the status quo on this matter (C-c C-c still tells you to call run-python either way). And I'm not convinced there is a problem with the status quo anyways, though additional customization could be nice.