From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id n8saJVdBgWJ6dAAAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 20:07:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gBwEI1dBgWJwgAAAG6o9tA (envelope-from ) for ; Sun, 15 May 2022 20:07:19 +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 2C5CC9F22 for ; Sun, 15 May 2022 20:07:19 +0200 (CEST) Received: from localhost ([::1]:35306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqIeD-0004Bz-9W for larch@yhetil.org; Sun, 15 May 2022 14:07:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqIdQ-0004Bq-Lh for emacs-orgmode@gnu.org; Sun, 15 May 2022 14:06:28 -0400 Received: from gallois.livando.com ([31.170.109.33]:50990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqIdO-00020K-HX for emacs-orgmode@gnu.org; Sun, 15 May 2022 14:06:28 -0400 X-PDA-ORIGIN: gallois.livando.com Received: (qmail 759117 invoked from network); 15 May 2022 18:06:24 -0000 Received: by simscan 1.4.0 ppid: 759110, pid: 759113, t: 0.1460s scanners: clamav: 0.103.6/m:62/d:26541 Received: from unknown (HELO ?192.168.0.77?) (christian@gladbachcity.de@95.90.192.16) by 0 with SMTP; 15 May 2022 18:06:23 -0000 Message-ID: <4c9235234536450d7bece1b3043008d96da3a504.camel@gladbachcity.de> Subject: Re: Bug: ob-R.el breaks when :session is specified From: Christian Heinrich To: emacs-orgmode Date: Sun, 15 May 2022 20:06:23 +0200 In-Reply-To: <87wnemg9ts.fsf@gmail.com> References: <877d6n2p6t.fsf@localhost> <87wnemg9ts.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-kWnv6wzs1WYzYx0C5JRm" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Received-SPF: none client-ip=31.170.109.33; envelope-from=com-orgmode-mailinglist@gladbachcity.de; helo=gallois.livando.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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=1652638039; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=3rQDkMijzphS5MJqkJclyXsMMIEclDSTCvSBzAl4LEY=; b=AZc98WJISvj/L/s6cnq0UOl6MPHYXrWWOnnq8HA3UttbHY0yhdBaeRlOB/cgrlt7475maa vgg9WY5HQZ+fsicqsVEtsel3AS5aU5px9ydeacCnW/L+RolWKxXC56InDPNr50dyRnnKIZ ubLT6nfH6AHPt1V08b2iOhGdq1uq8wlVLFUMeSddGMOGEKCVZHhW5jZEjKuBF5CggWaKd2 j3fcUrFsXVw3ERtl9uzvOs4vqIBkzU9IwaV0v4c1Bljdm584cD9VemQ9o8xnd0i0SsutLO DJo9cpTkoJhNW6rQM2FagJkqzcWSczGKGcdpYgnWlrR1ylIcDR+WLgsikNx9tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652638039; a=rsa-sha256; cv=none; b=c0JLNqkmXBZF+1/duQWJ8vC301gmr1lvTI43zrsXYHR48DisDq4s8ec8yKEIJw6AVP5qPh WhNvn02iV6/qb/nOoPXFksjFY/71mV7kcAz2TIVt+CLEiZbUHdklliE6YlwpKrtVkqVexf 6WhaQOiXCd85/tWTajHSfDw/G6Z9VGinR8CfTcq/Rkkli0cZKiM6VR/UMAMYTsHQrC2Gqe nJmSmai1/SKGyadxoZ7Xil054sGyLHl1I3lmwPtxreiW4PIAndMtVpP/0FzEUKwXixd77+ dkv8MXXflZfjn8P7TTEsJHrftciuaVq1w5phdbIYHGtIeiIpdT3xoHb932CvBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.23 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 2C5CC9F22 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1RkeS8FDtn8Y --=-kWnv6wzs1WYzYx0C5JRm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 v= ersion 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 messages= 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 =20 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 =20 I anticipated that this would not be obvious, since this feature is used to= o 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 or= g-mode and tried > > > executing the > > > contained R source blocks. Unfortunately, emacs got stuck in the exec= ution 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 --=-kWnv6wzs1WYzYx0C5JRm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+9lGLw1S8YBUC27di84V01FvzDwFAmKBQR8ACgkQi84V01Fv zDwPQhAAl0/Z2/qCw5vcQti/c9cfb0OgAbmVU1Fg4LPMY1++oFz2x1ls9pV8uWSs uD7KY0MHoU1JrKsHAaBusdNeRH4qc2P0lyRlWhRGs01zzkvA15VxpVosaK8XZ6kj 1vJB+jtwXatbl/WDnuBF9Vb1ZR5AVKsrYpW6zv+zIeBMFggsxgCridqwpkYHgsBN biOM1ieQXwvDgg38wDLCd548hcRS+pfVjMTnZxDwwhEylhAu/aqwvJ7Oh99XtRVX azTUcp/S/ZSaxFC5vgTNzbQE9v6YPhkI3M++6n58dMCewPLgqWVhYPdjVrbJrBeV uoMS5oNjRBxexHLVVcBgLvgGDdxK7LDuJQEy6BysrUZ212BNGJnG5qw9BU0Zz3By 4S739UHtnCM8/eJnXMtOXOoqnxeP3DMkxCfi2UPruoLw5tWU2aFMN8c6/yk77IFD 3My9DWaA9jdZwdx5KiWIImAO+KTC3vz0La4gbuxsYfwSR9o+vIVfk2UiSf3Ihy7T 2/MkDNhW+ojjJ3FHOjKV4IJialcwX2s3b8KVon9IdtC94qMhGMgnUuKv/wAyMuwb RwyHDfqQpV9UoI0NYOWNQ+JrrnHPjXp2O2K9YoaDICYwQVgG0LTqeA/8kzV3XWYR nIMVpSu172O68skqYMlCWnGGyhZsYf8e+KblHGeP/tJI+cIQt0U= =EGhw -----END PGP SIGNATURE----- --=-kWnv6wzs1WYzYx0C5JRm--