emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel-pop-to-session
@ 2011-08-06  1:23 Vikas Rawal
  2011-08-06  5:35 ` org-babel-pop-to-session suvayu ali
  0 siblings, 1 reply; 4+ messages in thread
From: Vikas Rawal @ 2011-08-06  1:23 UTC (permalink / raw)
  To: emacs-orgmode

I am having a strange problem. I would like session-based evaluation
of my R src blocks.

I have the following defined in the header.

#+property: session harland

However, when I press C-c, the source block is not sent to the session
harland.

When I do M-x org-babel-pop-to-session I get a message saying:
if: No org-babel-initiate-session function for nil!

When I do M-x org-babel-initiate-session I get a message saying:
call-interactively: Autoloading failed to define function org-babel-initiate-session

There is obviously something silly that I am missing.

Can somebody come to help please.

Best,

Vikas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-babel-pop-to-session
  2011-08-06  1:23 org-babel-pop-to-session Vikas Rawal
@ 2011-08-06  5:35 ` suvayu ali
  2011-08-07  0:49   ` org-babel-pop-to-session Vikas Rawal
  0 siblings, 1 reply; 4+ messages in thread
From: suvayu ali @ 2011-08-06  5:35 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Aug 6, 2011 at 3:23 AM, Vikas Rawal
<vikaslists@agrarianresearch.org> wrote:
> #+property: session harland
>

I'm not sure I recognise this syntax. Are you sure this is correct?
According to my understanding it should be something like this:

#+BABEL: :session *harland*

<http://orgmode.org/manual/Buffer_002dwide-header-arguments.html#Buffer_002dwide-header-arguments>

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-babel-pop-to-session
  2011-08-06  5:35 ` org-babel-pop-to-session suvayu ali
@ 2011-08-07  0:49   ` Vikas Rawal
  2011-08-07  6:47     ` org-babel-pop-to-session suvayu ali
  0 siblings, 1 reply; 4+ messages in thread
From: Vikas Rawal @ 2011-08-07  0:49 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Aug 06, 2011 at 07:35:50AM +0200, suvayu ali wrote:
> On Sat, Aug 6, 2011 at 3:23 AM, Vikas Rawal
> <vikaslists@agrarianresearch.org> wrote:
> > #+property: session harland
> >
> 
> I'm not sure I recognise this syntax. Are you sure this is correct?
> According to my understanding it should be something like this:
> 
> #+BABEL: :session *harland*
> 
> <http://orgmode.org/manual/Buffer_002dwide-header-arguments.html#Buffer_002dwide-header-arguments>

This is confusing. I have always used #+property.
Taking the syntax from

http://orgmode.org/manual/Header-arguments-in-Org_002dmode-properties.html#Header-arguments-in-Org_002dmode-properties

Is that wrong?

In any case, I will try using #+BABEL

Thanks,

Vikas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-babel-pop-to-session
  2011-08-07  0:49   ` org-babel-pop-to-session Vikas Rawal
@ 2011-08-07  6:47     ` suvayu ali
  0 siblings, 0 replies; 4+ messages in thread
From: suvayu ali @ 2011-08-07  6:47 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

On Sun, Aug 7, 2011 at 2:49 AM, Vikas Rawal
<vikaslists@agrarianresearch.org> wrote:
>
> http://orgmode.org/manual/Header-arguments-in-Org_002dmode-properties.html#Header-arguments-in-Org_002dmode-properties
>
> Is that wrong?
>

Actually I didn't know this was possible! There is always the
possibility of a lingering bug. So it would be great if you could
definitively confirm whether it works or doesn't work.

> In any case, I will try using #+BABEL
>
> Thanks,
>
> Vikas
>

GL

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-07  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-06  1:23 org-babel-pop-to-session Vikas Rawal
2011-08-06  5:35 ` org-babel-pop-to-session suvayu ali
2011-08-07  0:49   ` org-babel-pop-to-session Vikas Rawal
2011-08-07  6:47     ` org-babel-pop-to-session suvayu ali

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).