From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SCDaEmILgWJMYAAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 16:17:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YPS2EmILgWI8HQEA9RJhRA (envelope-from ) for ; Sun, 15 May 2022 16:17:06 +0200 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 DA2132393B for ; Sun, 15 May 2022 16:17:05 +0200 (CEST) Received: from localhost ([::1]:53664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqF3Q-0005aZ-JC for larch@yhetil.org; Sun, 15 May 2022 10:17:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqF2y-0005aQ-37 for emacs-orgmode@gnu.org; Sun, 15 May 2022 10:16:36 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:35336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqF2w-0003HG-JA for emacs-orgmode@gnu.org; Sun, 15 May 2022 10:16:35 -0400 Received: by mail-ed1-x529.google.com with SMTP id y21so15294313edo.2 for ; Sun, 15 May 2022 07:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=aCvtnxafi9n6VkzxCr/eneHfcexifyIU8fHI3ytVHdg=; b=aXudrxORPECtRLSqnpL5IOgH6hayhlQ8e+IR5Doa9KtGVgc004xdxrGsIRm0QdUY0u BJO4796pNyOzDhV5dbY7UrmA9zAtCMdE+uykMrMm+AzJQ2sKHaeNjJ+48rIDMFh3pTh1 cBrGX+PWzM4Mq3nM16tvcb0yznHrnnWOkbDO1OJWcfJ4EqueVf+Jdq6t3a+LTiBdysUb mLxy9ZaiiuulrL1/Y93GFNIE/hrrz+GYLVLROy6EMg0XoMinnpEhL9PP1SPY2QucbMBr 3cRi+IhLduEFI3m8kBVvjO5c07KREzPK0fqNKv6+HtqYUAIN2CpYhYV3n48K68foucia v/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aCvtnxafi9n6VkzxCr/eneHfcexifyIU8fHI3ytVHdg=; b=fU7K6HKg0i/QBJDKTu5wa25tTeMM4/2rBFxnwU5vv4bHV5yXZlVYYHvDuNZbjhQuTg 6iLd19zcMWE8k5IyBeYH5eoxAxfbYBwQKHrV8mm+xYcG7Xkt+MGUXFMCTz2fgFXJhsJh xY+XyUIEKJz6eZIlH0PrcVAn7DNhpEEwGU4VU7ls+SsyPyNsGmlvS3u5YeIY8CcaYDTl 20HzQESA4neJxvs00J9hogGqeBAPwa4ZyARRNsOJIUrglh8lRVQqfbxpaVCZict8NgMB REDpaWIEbVn/Fgi0XvH+XUnC82rNzJyKoUUe9RKcQX6uNfCl1BDcVRi53cv1PkniblLa 0/uw== X-Gm-Message-State: AOAM532t8q2MsoDiF3mmarojvnDaqWPqzMoUXuxcQqiDUwkLixzqASSR px/xwDJOYErD5bnn1KMFNr/wA0dSKbeb5w== X-Google-Smtp-Source: ABdhPJweiyy2x+tDerWFgKqQWQmADkhcWOIQIF+dS1eB63OMAY1hrWQjjZBjDnalV+SgnB5wAQ8Eqg== X-Received: by 2002:aa7:dc09:0:b0:42a:aadd:8e71 with SMTP id b9-20020aa7dc09000000b0042aaadd8e71mr3186544edu.41.1652624192683; Sun, 15 May 2022 07:16:32 -0700 (PDT) Received: from flexignu ([2a02:908:1d0:8d20:2aa7:91e2:9eb3:be83]) by smtp.gmail.com with ESMTPSA id i24-20020aa7c9d8000000b0042aa40e76cbsm1507116edt.80.2022.05.15.07.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 07:16:32 -0700 (PDT) From: Jeremie Juste To: Ihor Radchenko Cc: Christian Heinrich , emacs-orgmode Subject: Re: Bug: ob-R.el breaks when :session is specified References: <877d6n2p6t.fsf@localhost> Date: Sun, 15 May 2022 16:16:31 +0200 In-Reply-To: <877d6n2p6t.fsf@localhost> (Ihor Radchenko's message of "Sun, 15 May 2022 16:08:26 +0800") Message-ID: <87wnemg9ts.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=jeremiejuste@gmail.com; helo=mail-ed1-x529.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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652624225; 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=aCvtnxafi9n6VkzxCr/eneHfcexifyIU8fHI3ytVHdg=; b=D0rXTYgNdQ2pPJqeBkU4gBZNyw1aSWH19F3u1HHUhZ4Ko4yPvg7BPXAqzcXRMUjQkegfZT Ij1/lJAl3pCSQdwe5d98Fztz7+2oZYSVUI7nbkeR8parpwXFA+UwySpOaq+FKeksQdXDSw U+hd6/DlxlQu2wxxdT8SMfPXhXEtLYt57dSZDLJES2Vtud7im309sP3Kyf43tCXsqrb1Hk pvdJuS9qKsqv4Jno/ddtOOUJspLygVYAYeckYgI5Yoh7corbjvIXVF4di1bF9KEQVnXj68 GLVTBZaaQ/Qq0/JCo4tTDSzziZUbdPKn3yDo3tDGrYUtJue+dJeC7zl3RBPgGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652624225; a=rsa-sha256; cv=none; b=a2LvuRYkWqlMfO3ZYz7ac9gebWEEF5ujMSNYlmczUagjGCdrHgyy6bmrhkZR4tt8ZEfOh9 S0wBUDzxsZKooDWXOLFqPzJCXbqAdl5WexO8AcQKIncYqw0dk33ACh7Qijg3z46s0AuPAy tN0FBTX4Iwg+9DEUny+mNSJyZbpQH/87rvPs5j6sgoyoQhbFBLqCgX5V/puOFseTAEgpp9 QUOOGdhz43uUNfbZhNS7KBq6/MDqSSWeY3l+wSK50O43YOjGIOtHYNUIJ/NF2NtbLKq69C mrG9v99H0YqnlwaYK2n3Mqgs84AgzGsKZyX4O/Yq9/ittgyXjxI/T8vTS0rYsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aXudrxOR; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -9.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aXudrxOR; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: DA2132393B X-Spam-Score: -9.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2UiURO8CmobV Hello Christian, Thanks for reporting but I cannot reproduce the bug with the org and emacs version below. Org mode version 9.5.3 (release_9.5.3-467-g2bd34e @ /home/djj/src/org-mode/lisp/) GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24) of 2022-01-16 Can you please let me know which version of org-mode you are actually using? Ihor, many thanks for checking. Best regards, Jeremie On Sunday, 15 May 2022 at 16:08, Ihor Radchenko wrote: > Christian Heinrich writes: > >> I got back to an org file after upgrading to the latest release of org-mode and tried executing the >> contained R source blocks. Unfortunately, emacs got stuck in the execution and was blocked; I had to >> exit using C-g. >> >> Here's a minimal example src block that causes emacs to get stuck: >> >> #+begin_src R :results output :session *R* :exports both >> a <- 10 >> a >> #+end_src >> >> R itself does start and the code is also executed correctly. However, the output from that session >> is apparently not returned to emacs or the buffer. > > I tried you example using Emacs >=26 and it works just fine. > > Best, > Ihor