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 OD43DLwwm2XJ3AAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 00:16:12 +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 2M4TBLwwm2URKAAAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 00:16:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=OtiwoINz; 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=williamdenton.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704669372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id: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=8PnsY5uMtsPT94TT00vGaEM3Brg3w6KmvKicNKa9Q+U=; b=debP11+lE7lQy4ASNc3Z1H1OBXhPQKeKfFOLzzxDEF/JqrKiWGpoaCGxVfXZRml2LMINhc G2Eei+6JEN1+fAjaxYRROzLPJ/FW5MJvWZxrUUwrt2SRKAG8xxzQbjIo0hoMBPmNyRnei2 dOyMt8NA9J0SYLWSuvuZK7KZkYOR65BxlB/0BuOv0Q/KUePRw0Bq54AkmILdBu6UzbRieT Du/wx4mNC12spnP66DL8eHnnIVVBvq7Lo1ullbOCxuDnU4mvRVkn/rXheqognROKUqofBC SvWYpc5jHT2bpMysuSECVv/ezGxay+Fv/Oi/6llywSNAp+q4Dv424j0Z+GfcOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704669372; a=rsa-sha256; cv=none; b=STisC+QMU0CoDe5cvEGChL8G/07qa03mFuFozI3gTglhebgiPBXTfeJeq/YHmvy4v13SXF 97CznRc0k/fLRn+xXMK4ovZU98Acn/fz9C/3bC9v2hlwBH2rK7ICFoGmaXgT4LwIpTAtxm dfw97KITGGDHqwXyJ79/ES0yosIwlF6D0KKMLbtCbLglJg1jHTSThfEezTeBQn09MLXSEr cN/iVCvU3wuWhuH6OtfkuCDP74GIGHctjKvZJ4+9Vf+tKJrX0f/9Cyytlz+Au2k6VIeU9k reJ+TAalhnsMCflYs+SANiX0owuBTVedv0U5q9BoUljq3InDO8+cxGnBi0su8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=williamdenton.org header.s=protonmail header.b=OtiwoINz; 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=williamdenton.org 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 36C061B337 for ; Mon, 8 Jan 2024 00:16:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMcMO-0001Pb-44; Sun, 07 Jan 2024 18:15:16 -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 1rMcMM-0001PE-BX for emacs-orgmode@gnu.org; Sun, 07 Jan 2024 18:15:14 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMcMI-0005fC-TZ for emacs-orgmode@gnu.org; Sun, 07 Jan 2024 18:15:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=williamdenton.org; s=protonmail; t=1704669305; x=1704928505; bh=8PnsY5uMtsPT94TT00vGaEM3Brg3w6KmvKicNKa9Q+U=; h=Date:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=OtiwoINzFxxDPKCXXQdiefrxqaT7AWs4voWx+dTLu+kvf9ekJ7sxBViFAtNmGj2hd rJ/K7DK6PHW0j8+OAipH3c8Wlizw8JHfAGODqyoqiSDsw/rSKTpu6SaRnaYj7sIXcs RdgrT3QKbJZPdTCiipzIwE3h1eBCK4ZLoSD9kLwaUPndRoP0oDbaalcT23znbA/Pck AN22OqR/xZUtBOccM39Mz3PxRTtobshMoOI/hjdHpcfwxnxeUASE1NeBUdN66+z9/Q AdyPWyV0tRSUr40b1ZDNspwxANYQ2a9CgcYnAvCaNwcCE2qHAwmMydOITyES5ZzbXk W3LwvMMyffDkw== Date: Sun, 07 Jan 2024 23:14:54 +0000 From: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Set Python shell in Org edit buffer Message-ID: In-Reply-To: <87le91t13e.fsf@gmail.com> References: <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> Feedback-ID: 95794763:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=william@williamdenton.org; helo=mail-4022.proton.ch 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, MISSING_HEADERS=1.021, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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: -2.64 X-Spam-Score: -2.64 X-Migadu-Queue-Id: 36C061B337 X-Migadu-Scanner: mx12.migadu.com X-TUID: BCgNCnQ8N3AB On Sunday, January 7th, 2024 at 14:06, Jack Kamm wrote= : > It looks like ob-R and ob-julia are the only languages that start > sessions on edit (based on grepping for "edit-prep" and > "associate-session"). >=20 > I think their behavior is peculiar enough to have an ob-R/julia-specific > option on whether to initiate session on edit, with options nil, t, and > earmuffs. Earmuffs is the current behavior, but it's surprising enough > (IMO) that it might be worth changing the default to nil or t. But still > worth keeping the earmuffs option since this behavior seems to go back > to the original implementation (30931bfe1). I'm a regular R user and think this is a great idea. A while back I had a = bunch of problems with Org unexpectedly opening R buffers unexpectedly and = I had no idea why it was happening. (In fact I never really did until read= ing this.) I fixed it by simplifying my R setup and removing some hooks an= d such, and now things work reasonably and I'm familiar with what happens w= hen. Having an option to control this would be a helpful addition. Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada