From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kJ2pBfV8gWJmhAEAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 00:21:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YENmBfV8gWI8bAEAauVa8A (envelope-from ) for ; Mon, 16 May 2022 00:21:41 +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 9893F15D9B for ; Mon, 16 May 2022 00:21:40 +0200 (CEST) Received: from localhost ([::1]:33076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqMcN-0005cL-Rn for larch@yhetil.org; Sun, 15 May 2022 18:21:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqMby-0005cA-Bx for emacs-orgmode@gnu.org; Sun, 15 May 2022 18:21:14 -0400 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:36486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqMbw-00036s-GE for emacs-orgmode@gnu.org; Sun, 15 May 2022 18:21:13 -0400 Received: by mail-ed1-x529.google.com with SMTP id fd25so3544423edb.3 for ; Sun, 15 May 2022 15:21:12 -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:content-transfer-encoding; bh=y2kWCJRoWXRFbIuDxdzWZybhphaRJutXA4k12SQMjFo=; b=Dbe0topSmxPd9WzhofoN2ZPpCUr1iGJQ1ljjDM4Fn0GnRuBoIXhmRC3tbR20bEvtx7 TOh2MUaUq8vxpJdwSSht8tD/XlFt5Hposm6Y2mkAR6X+U1eEXNgoj4IirMoDfULygIi1 bwYMpPnEiwDo5zuqXYvfr57fhm4KqnduCEv7BuuUDxAlBsOPZ9s+pHhhxDWfLRE+wlRb z/k3amgiQ+pdZLlBhCldJ10gKtYRoQYDTPRuzuM2/NZX9QXlbj+mqDUgephtjaUYACkF 5r3ApWcxq0v1Fn191TN0sMfWbXtmUJg26FjYsaMlv7BREszOdSE2g+neAwGxRCIHsp9H FnLA== 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:content-transfer-encoding; bh=y2kWCJRoWXRFbIuDxdzWZybhphaRJutXA4k12SQMjFo=; b=kVy1BP0X0AVXxzx8WH/qAxaTmhc299mYuDXs/mP4Z28+bZM9/UDmcYYWcn8L5iTlOP qK7HXJLFg1un2XEXJAh9pSIIT/6AAKWIWbLYmA24c6FKwH3OvVWqx+z7gAzo693QIyr4 UOXxexufW8OUAfPD+Yh7IxjbMKAkX9NWQ7WViKlEL4a9/zXonUBIcJFdmg49rIaQ1lKL CQDS/iMsNL+iLoo5WqrtAPJZ6D0/jm1QoIgL0i65WrGbeKcLmh3G8EvDlSeKvscEx+Ru ReQ+Co2hRjDYJAf5MDkJlzQkbcDn9S9qmbRL8FE9REH1Gh6grjQI3kbb5IDAiCeX6xbQ Sd8A== X-Gm-Message-State: AOAM530rnMbldnXS0L4CIJxvVRXXTcrZmOy89/i2SnezJwQ+rUET9fYf h4XPckP5R1yafD+0046s0aZ6UJUuMjUmcQ== X-Google-Smtp-Source: ABdhPJwFUEVPW1b5y6h83cgbpVhMo/hh4PUy5hei2un0k+VLMSNkvdfzwhtGQ1b2DK2DFeb21rc/1Q== X-Received: by 2002:a05:6402:190a:b0:427:efb7:bd81 with SMTP id e10-20020a056402190a00b00427efb7bd81mr10341398edz.63.1652653270403; Sun, 15 May 2022 15:21:10 -0700 (PDT) Received: from flexignu ([2a02:908:1d0:8d20:2aa7:91e2:9eb3:be83]) by smtp.gmail.com with ESMTPSA id p6-20020aa7c886000000b0042ab0500495sm895785eds.36.2022.05.15.15.21.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 15:21:09 -0700 (PDT) From: Jeremie Juste To: Christian Heinrich Cc: emacs-orgmode Subject: Re: Bug: ob-R.el breaks when :session is specified References: <877d6n2p6t.fsf@localhost> <87wnemg9ts.fsf@gmail.com> <4c9235234536450d7bece1b3043008d96da3a504.camel@gladbachcity.de> Date: Mon, 16 May 2022 00:21:08 +0200 In-Reply-To: <4c9235234536450d7bece1b3043008d96da3a504.camel@gladbachcity.de> (Christian Heinrich's message of "Sun, 15 May 2022 20:06:23 +0200") Message-ID: <871qwu30a3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1652653300; 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=y2kWCJRoWXRFbIuDxdzWZybhphaRJutXA4k12SQMjFo=; b=rUZOYWY8VuJ7hBYqbmlYoSJOhqn7dJmiIymiVSG/ehPpvkqiVhP7BZaEtNlJzmtCfZQu1f QdPggAcYksogFjb/HqYuGtHBx4DZixsnoV5ZA5s3OXfaQj7fo5X4GTOlhzWKNISPvuoksF lwKzmsiM2inpQHVVtx1NmFIFygoWunyeLvWmszXm0YPhscx6G0B9HdMw3itVkICIRNU1qn OvrRiy9e3cK4DXGJOSVAczhyAX8JDdPl93OFglwMAhyE0B+qnxznIoCJ5VtH3Lhyi/5FkP dBqZE6W8L+pKMvf5QPWklhQmIrJqyILBR5wddLcPMlrA1uKDJWqFkXWnT7VqTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652653300; a=rsa-sha256; cv=none; b=H3JevBR/fAfRUTIUuS7FuGlcX7xMd+WRIs2QevoAK7dnuNZw8nW8tZ5iBCqf2+L5i5/Idk 2EEDbr0S3nNg8sqUfEGDi4ZhKwKh3MBkp6ZW/DN3bcFuz81H7Mkhwc8vrsmy+6e9wN9Dvp 1P7/uyJwjhTW5TCnzA31B99KwglQdRCZwDeswj2F/XikOH4uitU9Ai9uvV3jO3sGTbbBV9 2lkeqb6xeksg6hHxRPg/l4qImVMin/pc/hPCaK6ciF7NpEvOuezxQbFlmNOJVetTCCDx8Y N6bCXNg1Symz88LLMiy06FoFICVKHoG8yC6oAKRrv9SAOA8P0YmcEkbYMQcjRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dbe0topS; 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: -5.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dbe0topS; 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: 9893F15D9B X-Spam-Score: -5.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: +6VgmNWjanIW Hello Christian On Sunday, 15 May 2022 at 20:06, Christian Heinrich wrote: > I just tested with > > Org mode version 9.5.3 (release_9.5.3-504-gcdbb1c @ > /home/heinrich/.emacs.d/straight/repos/org/lisp/) > > using > > GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo= version 1.16.0) of 2021- > 11-27, modified by Debian Many thanks for reporting back. I updated to gcdbb1c and it is still worki= ng fine. My minimum working example is the following. From the org-mode root directo= ry, $ emacs -Q -L ./lisp -l org -l ~/ess-barebone.el where ~/ess-barebone.el is the following: #+begin_src elisp (add-to-list 'load-path "/home/djj/.emacs.d/elpa/ess-20220125.2207/") (require 'ess-r-mode) (org-babel-do-load-languages 'org-babel-load-languages '((R . t))) (setq org-confirm-babel-evaluate nil) #+end_src Note that I'm still using a rather old ess version. Could you please try with the above configuration? Note that I am using a rather old ess version but the I haven't experienced issues with the newer one. Best regards Jeremie > Hi Jeremie, > > I just tested with > > Org mode version 9.5.3 (release_9.5.3-504-gcdbb1c @ > /home/heinrich/.emacs.d/straight/repos/org/lisp/) > > using > > GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo= version 1.16.0) of 2021- > 11-27, modified by Debian > > I am on Debian Testing and that is the default emacs version. > > Using the unmodified org (git hash from above) I get the following messag= es when executing a src > block with R: > > executing R code block... > Loading =E2=80=98ess-bugs-l=E2=80=99: unescaped character literals `?(= ', `?)' detected, `?\(', `?\)' expected! > Type C-h m for help on ESS version 15.09 > ess-tracebug mode enabled > Quit > Package cl is deprecated > > Note that the "Quit" is me pressing Ctrl-g after a few seconds. > > Removing the commit in question makes the block return instantaneously: > > executing R code block... > Loading =E2=80=98ess-bugs-l=E2=80=99: unescaped character literals `?(= ', `?)' detected, `?\(', `?\)' expected! > Type C-h m for help on ESS version 15.09 > ess-tracebug mode enabled > Code block evaluation complete. > Package cl is deprecated > > I anticipated that this would not be obvious, since this feature is used = too much to go unnoticed for > two years - but I am clueless as to how I should continue with debugging.= .. > > Thanks for your help! > Christian > > On Sun, 2022-05-15 at 16:16 +0200, Jeremie Juste wrote: >>=20 >> Hello Christian, >>=20 >> Thanks for reporting but I cannot reproduce the bug with the org and >> emacs version below. >>=20 >> 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 >>=20 >> Can you please let me know which version of org-mode you are actually >> using? >>=20 >> Ihor, many thanks for checking. >>=20 >> Best regards, >> Jeremie >>=20 >> On Sunday, 15 May 2022 at 16:08, Ihor Radchenko wrote: >> > Christian Heinrich writes: >> >=20 >> > > I got back to an org file after upgrading to the latest release of o= rg-mode and tried >> > > executing the >> > > contained R source blocks. Unfortunately, emacs got stuck in the exe= cution and was blocked; I >> > > had to >> > > exit using C-g. >> > >=20 >> > > Here's a minimal example src block that causes emacs to get stuck: >> > >=20 >> > > #+begin_src R :results output :session *R* :exports both >> > > =C2=A0 a <- 10 >> > > =C2=A0 a >> > > #+end_src >> > >=20 >> > > 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. >> >=20 >> > I tried you example using Emacs >=3D26 and it works just fine. >> >=20 >> > Best, >> > Ihor