Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Christian Heinrich
Hi Charles, ob-R.el requires ess and the (require 'package) makes sure the ~/.emacs.d/elpa/ directory was added to the load path. But you were somewhat right already: the loaded ESS was years old and caused the issue. Thanks for your help! Christian On Sun, 2022-05-15 at 19:58 +, Berry, C

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Christian Heinrich
Hi Jeremie, thank you for providing this example! The ess that was found in the load path was years old and once updated, all issues were resolved. In fact, my so-called minimum init still used (require 'package) and I didn't even think about ESS causing this trouble. It's now a bit clearer ho

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Christian Heinrich
Hi Jeremie, thank you for providing this example! The ess that was found in the load path was years old and once updated, all issues were resolved. In fact, my so-called minimum init still used (require 'package) and I didn't even think about ESS causing this trouble. It's now a bit clearer ho

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Jeremie Juste
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 >

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Berry, Charles
Um... > On May 15, 2022, at 2:46 AM, Christian Heinrich > wrote: > > I run > > emacs -q --load /tmp/init.el --file=/tmp/test.org > > with my /tmp/init.el being only > >> (require 'package) >> (package-initialize) >> (add-to-list 'load-path "~/.emacs.d/straight/repos/org/lisp/") >> (requi

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Christian Heinrich
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 t

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Jeremie Juste
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 k

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Christian Heinrich
Hi, thanks, that's what I had expected since that patch has been around for a long time. I run emacs -q --load /tmp/init.el --file=/tmp/test.org with my /tmp/init.el being only > (require 'package) > (package-initialize) > (add-to-list 'load-path "~/.emacs.d/straight/repos/org/lisp/") > (r

Re: Bug: ob-R.el breaks when :session is specified

2022-05-15 Thread Ihor Radchenko
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 th

Bug: ob-R.el breaks when :session is specified

2022-05-14 Thread Christian Heinrich
Hi there, 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: