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 4PeNFw7wnmWLVQEAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 20:29:18 +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 eKuPEA7wnmVwBAAAqHPOHw (envelope-from ) for ; Wed, 10 Jan 2024 20:29:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jhdD8jpn; dmarc=pass (policy=none) header.from=posteo.net; 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=1704914958; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bQDLwQfD2CDkGG5NBuoFUypAw3ltQmFHVSTdCvQir60=; b=VzMPqn4lgaYzNHDCXJD7F4GELcmGCTOWQpO1lBN+Zj9FyJEwHX7jSjtnCOFkeOkiSUB0eR Cic2gwM9cqTg3svY21Rxae0VQeWWy33kSLOKwIuO9AAhCAewmTUiJOgslBH7817nyXgfAS x/S+6KYW970uuBuakr4GLY6zikKAOTMmNRfEKprqiuHRrmOTYG19r3dxJM+uu/fw6sJ+1p WtDWx2homlEtc7ABOfUNPPlV0jpZsIQDV9bGWQbwkWAP3k7spxPAoMjnhPpvc9IfQmIGrK 13lI330EGORxG43ynNVPgls0c1w+WWPeJ8NHYLhT4OKq9hHyYWI7u+1MNL5w2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=jhdD8jpn; dmarc=pass (policy=none) header.from=posteo.net; 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=1704914958; a=rsa-sha256; cv=none; b=gYOcCsh+m+NLM5NiyTNGADsXl4ROR36Amue2afreuG2CCQ3TCXLTnrxBYMoMjv2Ww9wf3Y 2JGQ4QuZakOPS9L5duLT6OUAXOk/AEYM+yEBe/QJsrkzNpJorkP7FyxAiKDbM27yxjjhT0 I5DGyCDZ6+eg32njpkG3S1aHL0uHz9Ba5iUG5uiVmtFCHjig8wJHLg00Su7ZsYQCdHMgOc eqUVslUP+3dRkiMhISkyaEnVbudSnFnlAV9n+2G1ihcglUsnysljB4oDN3batIHXeznzAT 3r9i0nGwNxL7Fr6qttSjSJSbohPb/wAEIV7gO16ROxhea2DVRnuZ3WoKmi2RtA== 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 E79C913153 for ; Wed, 10 Jan 2024 20:29:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNeFP-0008Ln-P7; Wed, 10 Jan 2024 14:28:19 -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 1rNeFI-0008L0-0V for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 14:28:12 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNeFD-0005gd-E2 for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 14:28:11 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id F2025240028 for ; Wed, 10 Jan 2024 20:28:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704914883; bh=KNeBUC4wJubEVA9qDF09JWSl73DLbU5da382wO0n2ns=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=jhdD8jpnlGpXeoAzR3LUI6NfZlSPXEGv21KI/DyupTS3UkHU+UzSzI89ihHbNh6GV jOgyg44KDkFKNDjeyQ8+slxfqlokAmjNUmvQXNMHfBrEwsgCgWL40llRiaPqRJUzD1 B8f/SYKcjuVSuOEl7T11r/lue0YjLio7uEJi62SHd8M9OxnA/ki4Qs7AHlf19I3vMn 1J4tU9ZikqygSmTgNsMfl5eKUzsOOUWlWNeCVFv6r99YWXp2XC8xBwZ7YyTc53sX9H Ti0WE8w6t4dxFtmp6+qEiW0MKGv8Q9eVkiTNGVD2TfdLPByYdGZoYWZxjBk00NijyX Rdrs8NxpJS0UQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9Hrf27whz9rxN; Wed, 10 Jan 2024 20:28:01 +0100 (CET) From: Ihor Radchenko To: "Sparapani, Rodney" Cc: Jack Kamm , "ESS-core@r-project.org" , Liu Hui , "emacs-orgmode@gnu.org" Subject: Re: [FR] Add buffer-local setting to request specific ESS process/session name (was: [PATCH] Set Python shell in Org edit buffer) In-Reply-To: References: <87bkb2rqer.fsf@localhost> <87edfwsuvx.fsf@localhost> <87sf4bsm1w.fsf@localhost> <87mstw18r4.fsf@gmail.com> <87bkaak0ol.fsf@localhost> <87ttnyz0jv.fsf@gmail.com> <87wmsn6ghw.fsf@localhost> <87o7dxu15h.fsf@gmail.com> <87msthwbfz.fsf@localhost> <87le91t13e.fsf@gmail.com> <87zfxgxb8m.fsf@localhost> <87r0ir2ln8.fsf@gmail.com> <87zfxewewe.fsf@localhost> <87le8x3e0a.fsf@gmail.com> <87cyu9qt4e.fsf@localhost> Date: Wed, 10 Jan 2024 19:31:10 +0000 Message-ID: <877ckhkmtd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: mx12.migadu.com X-Migadu-Queue-Id: E79C913153 X-Migadu-Spam-Score: -9.23 X-Spam-Score: -9.23 X-TUID: WdxaU/fknhok "Sparapani, Rodney" writes: > Hi Ihor: > > Do you have a patch? I=E2=80=99m not an org-mode user so I can=E2=80=99t= test this myself. > Thanks Well. I am not exactly ESS user, so I wanted to get a general feedback first before trying anything blindly. I think I can demonstrate the problem we are facing without forcing you to use Org mode though: 1. create and open test.R file containing x =3D "foo" 2. M-: (setq-local ess-gen-proc-buffer-name-function (lambda (_) "session1"= )) 3. M-x ess-eval-line 4. Observe "session1" R comint buffer displayed 5. create and open test2.R file containing y =3D "bar" 6. M-: (setq-local ess-gen-proc-buffer-name-function (lambda (_) "session2"= )) 7. M-x ess-eval-line 8. Observe that the line still goes to "session2" As a non-user, I am not sure if the above is a bug or just some kind of missing feature. However, for comparison, python.el allows setting `python-shell-buffer-name' and doing steps similar to the above will yield two independent python shells to interact with. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at