From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WFhLGK+zkWWM1wAAkFu2QA (envelope-from ) for ; Sun, 31 Dec 2023 19:32:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aLiwEK+zkWX7RAAAe85BDQ (envelope-from ) for ; Sun, 31 Dec 2023 19:32:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=aGPRPeiy; 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=1704047535; 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=MUJIz4Fy035NmIWSJAJlBk73mPxKXWPiU2H5qR62DzA=; b=g0YfONihJ6WLXkjeRqLNNUwIbyeB5j8Uur8q3knuPTyxJZ3/6kTADDBGZQXqBlkHb2rsy8 +j5J8j+xcV1g2W7S/vgiY2C1m5duN14VrqfFwXdhchEOECFrGtqOB3NUUgWauiuL2lPMtm 6BTYG2QTCrX/Z0OCGpHryuDS9nUXrWnJzC1uxxG7USmchJBn2kEZvP5+pMG0tOpxlyhV9R JUEKVIgfgpRU8914/4xQ3Dl0TfVKifVY6twd7R0uaxJWpt8+AzfSUpkrWvOT5Im1x4mKB3 yZ/Xa2eeuZSH+vSNJzR4NGG9M4VNVJnQeY6ORq0QA2gK1v13VGT69mkWw7r+2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=aGPRPeiy; 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-Seal: i=1; s=key1; d=yhetil.org; t=1704047535; a=rsa-sha256; cv=none; b=MDrYUL2Ikkbf1jL70y9Z/iPY7z5iUJ5t/f0xqBQ4LZl2PJHP0rOqTit709kOoiJbckqPoD eZQMR2Nifz844kL78USoYNBUywDkefHE9MpFHj7eaFvse9y1PuEhltbTMggrFx8cwxPlcm JKW+p4r5y1yAXboToaYhJJHqLyKfoGk5jX313q7eof30DIO+D4EmT/Pp3VzLjABKy6uozg 8ZIab8DK1sJAsGU7jXe6nWiotkPOQjq7MJW/WEocM+YR8VRZhiibgWP+EvuSOrjsqqopkQ cnkFH1iw+xVFEr/c1Sw0+6YhMOBiizB0wolMSepaQoh83VQ7DePr7XqoA+VGTg== 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 115A420554 for ; Sun, 31 Dec 2023 19:32:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rK0aq-0001S1-37; Sun, 31 Dec 2023 13:31:24 -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 1rK0ao-0001Rs-9o for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 13:31:22 -0500 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rK0am-0001mf-D2 for emacs-orgmode@gnu.org; Sun, 31 Dec 2023 13:31:21 -0500 Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-5bdbe2de25fso6467695a12.3 for ; Sun, 31 Dec 2023 10:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704047477; x=1704652277; 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=MUJIz4Fy035NmIWSJAJlBk73mPxKXWPiU2H5qR62DzA=; b=aGPRPeiylD3Dzww5SbKu3S6LHE7SQc52DNk4MdvzRSLqwBc2C2h1BABfr1gbg0nz8e SMO544Cz6OuoOSRe4rK/mNEezbMv1qr4uTeejLci5ua02/ZzYBYJ71/zdPBJFNHhTvu+ 3dXEQ/iZWaRBQnxJgXkJ7mjAIRRZOwDvavpdfw2bYbfBWDXDBSKO9q0UmDdOsy/N6y7q PesHcnWGLiRPxsfhg6Csna01/W1K7Nc9GcnwbWXprec+nZXJEr56wgrrIByMx6Q1L6sz 2mMwxS2sRmaGLQPCU/fGlRiAHhMu6shXKe/Go15GbMc0KQmBIEtbIKgShkDLiHzz6nqY aO+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704047477; x=1704652277; 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=MUJIz4Fy035NmIWSJAJlBk73mPxKXWPiU2H5qR62DzA=; b=Ho4JGp8/nJrL4VDohrpCyuYc1WUzkrl1JF/XMvk/ftIgES4fSXfy2/aks2LHTqlGw/ OX68qzi1/KpdZ7xLDNSPHZNI+jI6ohkuwO9al03vXmen0zTMN4LV0q768ctBvcTGMx+P +MoZXb86hKEGlVOjVxkcuHk7RRFNWtIyT5K10nfWcOhyYYP2ky2gcCfdkcFWmmiloyRg 6JvNnECp7mtqfxdJCrXBweJmpONsWr+jys7GDFVyzjXECdeTni4Bmgf7sreTMrIb8FyP U/qcLvoTAy55Skfp54KMUAFG5eaSFlSKj/KDjlOfCivjJe0M3hcwPkxJ+gtjQCYCZd5n /3cA== X-Gm-Message-State: AOJu0Yw/t9B2bGBckupPuc0N8Jutq7YdkO5NdU1syg0EQx4Ho/+QuXPK zM7EsgRta5h9goDWaPAHOXCgDDEMz/E= X-Google-Smtp-Source: AGHT+IGfP0DpPZlrt0Vds0Nky/iCodGoK3KzYpDO956Uz0MdmSRdCibXVXDwRvKhmomZKFDIj/jlog== X-Received: by 2002:a05:6a21:1507:b0:196:2fb1:8014 with SMTP id nq7-20020a056a21150700b001962fb18014mr11943435pzb.37.1704047477346; Sun, 31 Dec 2023 10:31:17 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id e12-20020a63500c000000b005ce998b9391sm137259pgb.67.2023.12.31.10.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Dec 2023 10:31:16 -0800 (PST) From: Jack Kamm To: Ihor Radchenko Cc: Liu Hui , emacs-orgmode@gnu.org Subject: Re: [PATCH] Set Python shell in Org edit buffer In-Reply-To: <87bkaak0ol.fsf@localhost> References: <87zfyosw8n.fsf@localhost> <87ttovlb1u.fsf@localhost> <878r6647vv.fsf@localhost> <87bkb2rqer.fsf@localhost> <87edfwsuvx.fsf@localhost> <87sf4bsm1w.fsf@localhost> <87mstw18r4.fsf@gmail.com> <87bkaak0ol.fsf@localhost> Date: Sun, 31 Dec 2023 10:31:16 -0800 Message-ID: <87ttnyz0jv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=jackkamm@gmail.com; helo=mail-pg1-x52b.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.38 X-Spam-Score: -9.38 X-Migadu-Queue-Id: 115A420554 X-Migadu-Scanner: mx10.migadu.com X-TUID: cxPPCgEsrB4A Ihor Radchenko writes: >> 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? > > Because I am still thinking about the idea with global customization and > `org-babel--associate-session'. It's great that you're thinking about this -- it would be nice to have better consistency between ob-R, ob-python, etc, and to have better configurability on this. In particular, ob-R's behavior to automatically start a session is annoying for me, especially when editing on my HPC's login node which forbids starting R, python, etc outside of slurm. However, the most recent version of Liu's patch is very small, and the changes should be easy to modify in future, whatever your conclusion on `org-babel--associate-session'. So I would suggest not to let it be blocked by this for too long.