emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: "begin_src R :session" opens R session when file first visited
Date: Sat, 16 Oct 2021 13:41:15 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2110161319080.141579@shell3.miskatonic.org> (raw)

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


             reply	other threads:[~2021-10-16 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-16 17:41 William Denton [this message]
2021-10-17  3:06 ` "begin_src R :session" opens R session when file first visited Greg Minshall
2021-10-17 12:04   ` Jeremie Juste
2021-10-23 20:11     ` William Denton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2110161319080.141579@shell3.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).