emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: [babel] feature request: automatically connect source code block to its session
Date: Sun, 20 Mar 2011 16:19:11 +0100	[thread overview]
Message-ID: <4D861AEF.2040806@med.uni-goettingen.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]

Hi all,

I have a feature request (if what I want is not already possible, that is).

Could a source code block, which has the :session header argument, be
associated with its session as soon as C-' is pressed?

The background to this question is, that all ess support functionality
for R (r-autoyas, autocomplete-R, and ess-eldoc) need an associated R
session.  They start to function only as soon as the first line of the
code block is evaluated, which associates the source buffer with its
session.
The autocomplete-R even fails to load without an associated R session
(byte-code: Language mode `R-mode' fails with: "Symbol nil may not be
buffer-local")
and this way cuts the connection to org, such that C-' becomes undefined.

Regards,
Andreas

[-- Attachment #1.2: andreas_leha.vcf --]
[-- Type: text/x-vcard, Size: 377 bytes --]

begin:vcard
fn:Andreas Leha
n:Leha;Andreas
org;quoted-printable:University Medicine G=C3=B6ttingen;Biostatistics/Bioinformatics (Dept. Medical Statistics)
adr;quoted-printable:;;Humboldallee 32;G=C3=B6ttingen;;37073;Germany
email;internet:andreas.leha@med.uni-goettingen.de
title:Dipl. Inf.
tel;work:+49 551 39-10710
tel;cell:+49 163 7662824
version:2.1
end:vcard


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 6432 bytes --]

             reply	other threads:[~2011-03-20 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-20 15:19 Andreas Leha [this message]
2011-03-23  3:00 ` [babel] feature request: automatically connect source code block to its session Eric Schulte
2011-03-25 13:17   ` Andreas Leha
2011-04-02 17:48     ` Eric Schulte

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=4D861AEF.2040806@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).