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 kLW9Ae/KnGUI4gAAkFu2QA (envelope-from ) for ; Tue, 09 Jan 2024 05:26:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SIHXNu7KnGW8MQAAe85BDQ (envelope-from ) for ; Tue, 09 Jan 2024 05:26:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Zu3VfgQc; 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=1704774382; 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=lYm0UY6byrXlfwJynOVVM+uxndPtJN11Q/qxhUVXRXE=; b=TTJBY4spzSDSsthiSY6JU3ZaJGqDW4i9iReXyOgrLq9BDhNfnMdBMooPsQFRcB7MPknl6F NYcx4EAOR1QCG3vnkCgCBzGO2fZ5HFpf8QAmsPfpRDd5ngQRS9PzIIVwdaUHLvuZVhm2Sb 2GUH6TkGk+JuvIUEd1FONYomXacLLhpQbKYrhTzNvLU+YmOtHCdMIBzUJ9f1bOeMFZKuVu qtEjqt+NzY0XBT1wzAZpUzUTrOEhY619HnQ3tKTZMFA3ZQ+79aOoTusANYvTrwkfLCRAOD dkuU/VUIwZwRz/SOaZA0u0V+eflT1W2OlOtPkzI+R6/Bsb/dZVOMeykXNDQRTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Zu3VfgQc; 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=1704774382; a=rsa-sha256; cv=none; b=fefusZEZsiTxHS2uKHrlXjhxfLXFNYTi8JWy1y+rmEseSOgGD0LQFV70wpugrfodA6ehC0 4r9OT+BtA7waFdHktp9uFUsg7je3dh0HlUDTB1AqSjmqalifTCnZVg7KN1Sgk9Lw/8iaWI nxREmr676EhmBxZLm2Td5APn2daSXwfHN/LErT/rxW8z5Re0+K9dpIBmF87MVIJJbFA0fY uc8R5tfzC2E+CqGYJxxQnoxafBv0TkycWWuP93h+Utid6YJ+JgpOiwjGGMRjiJY9uixnrM fNcvr0iU0REKeMc5jlqgGZMOM3KNRnF83a1EGVvbN3um7jHLanlfCEslCh301Q== 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 B4F8A3E3B1 for ; Tue, 9 Jan 2024 05:26:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rN3g7-00042a-Lj; Mon, 08 Jan 2024 23:25:27 -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 1rN3g5-00042Q-Ub for emacs-orgmode@gnu.org; Mon, 08 Jan 2024 23:25:26 -0500 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rN3g4-0001Sp-98 for emacs-orgmode@gnu.org; Mon, 08 Jan 2024 23:25:25 -0500 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-28cf8de47e3so1208113a91.3 for ; Mon, 08 Jan 2024 20:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704774322; x=1705379122; 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=lYm0UY6byrXlfwJynOVVM+uxndPtJN11Q/qxhUVXRXE=; b=Zu3VfgQcOa+YO0VB3g9EPChK5P2wSJz6yWUXEqwwG+XizgZ4V/EBwGuBhXoH71bLsV i0KF7BbvODy9Y8FN1X99QXEJf6jHJliRpSLFwg/oddK+9Xww+DhV92E4MDtGjgWYIVR8 T5GzqJg4PX63EyAura1GzqthpReZ7tEe+DguugrsSQntVD7+KAUnKgnx3PPT9bpTVDcv XnMHfHyPaK/TQuiX4ZLhwflEBXwvPwCqvUZ/Vt8vvbSydO7iXEvdoSAzjf6MrtxjDsrZ RI3J+1aLoOIbMv7Q88DrlqlVGEoUFAdIHdvdz6lFaYUgL+VJKF3ecS4bWf39QnPkTDHV bolA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704774322; x=1705379122; 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=lYm0UY6byrXlfwJynOVVM+uxndPtJN11Q/qxhUVXRXE=; b=L5tKzm8afp3JbMOXVldmaUHPpnJxINq3zWURyhuDeL86UMnS6WJLKzEpt96JspA05v qWOo93RThYR+xeFCJJ8ilZ4ves2VBgO+MZ4H+uAG+555jM/9aFqIQ0LbEIKXgSnyAFWA omTbKXWTi3RrhfusWZgmMAbhGJcosnBVznP1reALcsI9T0dS0hE4H2PhCyPo/XkPUkjp eAzbP/E14P//tRX3mfcsVdIszrk6PNUVqVWdbbfTuqsmtxe+lCjj5Ii3Jv6c7ylAaYYK YoXmCtKZ30hJ2CSa2ysGjfXDwJEZmcfZlnXFRIaYQShNrLFDNbeipn1LBHLCWjZrfYe6 sePw== X-Gm-Message-State: AOJu0YzX3yf7bIannXpD9xQfbiKd8OHrLHjkeOzzeD9R0Ul8Oiw2dWJd sPtfoxaKvZnrhF0QEPx2kgxFoiOLOEw= X-Google-Smtp-Source: AGHT+IFSfGFc0ERb1emxaeEVnRnAFqQMFyF1HfCz9Rn9PUgM/afinupqrJKg9HW2nE0GdD5n53AG3Q== X-Received: by 2002:a17:90a:7f91:b0:28c:c2a:548c with SMTP id m17-20020a17090a7f9100b0028c0c2a548cmr1802709pjl.43.1704774322300; Mon, 08 Jan 2024 20:25:22 -0800 (PST) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id d88-20020a17090a6f6100b0028d42741efasm890175pjk.43.2024.01.08.20.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 20:25:21 -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: <87r0ir2ln8.fsf@gmail.com> References: <87ttovlb1u.fsf@localhost> <878r6647vv.fsf@localhost> <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> Date: Mon, 08 Jan 2024 20:25:21 -0800 Message-ID: <87o7dv2kwe.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=jackkamm@gmail.com; helo=mail-pj1-x1030.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-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.49 X-Spam-Score: -4.49 X-Migadu-Queue-Id: B4F8A3E3B1 X-TUID: Uwc9G9gRjyPU Jack Kamm writes: > Also it seems unnecessary to call `ess-make-buffer-current', as it's > already called by `ess-force-buffer-current' (which is called by > `ess-eval-region'). Though it doesn't hurt to call it, either. On reflection, maybe it's better to keep `ess-make-buffer-current'. Maybe it's useful for other functionality besides evaluation (e.g. completion), or on older versions of ESS. And even if it isn't necessary anymore, it doesn't hurt either.