A question for R users: I run Org from the source tree, and recently (a couple of weeks ago or so) something new started happening with my Org files with R source blocks: when I open one up, an R session automatically starts, without me doing anything. For example: #+BEGIN_SRC R :session foo 1 #+END_SRC If I have that in a file, restart Emacs and visit the file, an unnamed R session begins right away (without a C-c C-c). I changed "R" to "python" and restarted, and all was normal (i.e., nothing happened) but when I edited it to say "R" again, the session began as soon as I put the letter in! I haven't changed anything in my configuration related to Org or R, and I can't see why this is happening. Looking at recent commits I saw all the R async work, and changes made to session-related code, but I can't tell if there's any connection. Are any other R users seeing this? I admit I haven't done a full investigation, but I thought I'd ask. Thanks, Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada
Bill,
> I run Org from the source tree, and recently (a couple of weeks ago or
> so) something new started happening with my Org files with R source
> blocks: when I open one up, an R session automatically starts,
> without me doing anything.
i don't see that behavior. does it do this for 'emacs -Q' (suitably
tailored to load org mode, set `org-babel-load-languages`, etc.)?
cheers, Greg
Hello William,
Many thanks for reporting your issue and many thanks to Greg for testing.
Sorry, I cannot reproduce the issue either. I don't think it is related
to async. Could you try with 'emacs -Q'?
my minimal configuration is along with emacs -Q is the following:
#+begin_src elisp
(add-to-list 'load-path (expand-file-name "~/src/gnu/org-mode/lisp") t)
(require 'org)
(add-to-list 'load-path "/home/djj/.emacs.d/elpa/ess-20200825.829")
#+end_src
My ess-version is starting to date. I'm still on ess-version: 18.10.3snapshot [elpa: 20200825.829], but I'm not aware of
any breaking changes in ESS.
Best regards,
Jeremie
On Sunday, 17 Oct 2021 at 06:06, Greg Minshall wrote:
> Bill,
>
>> I run Org from the source tree, and recently (a couple of weeks ago or
>> so) something new started happening with my Org files with R source
>> blocks: when I open one up, an R session automatically starts,
>> without me doing anything.
>
> i don't see that behavior. does it do this for 'emacs -Q' (suitably
> tailored to load org mode, set `org-babel-load-languages`, etc.)?
>
> cheers, Greg
On 17 October 2021, Jeremie Juste wrote: > Many thanks for reporting your issue and many thanks to Greg for testing. > > Sorry, I cannot reproduce the issue either. I don't think it is related > to async. Could you try with 'emacs -Q'? Thanks to you both for testing this. It was a problem with my own configuration, which, thanks to some fiddling, has now vanished. What triggered the problem I can't imagine. I have turned up a new problem that I think is reproducible with emacs -Q and I'll report that next. Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada