unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [O] :session question
       [not found]                 ` <87fvzhmbul.fsf@med.uni-goettingen.de>
@ 2013-03-27 10:10                   ` Andreas Röhler
  2013-03-27 10:37                     ` Andreas Röhler
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2013-03-27 10:10 UTC (permalink / raw)
  To: Andreas Leha; +Cc: Eric Schulte, Emacs developers

Am 27.03.2013 10:27, schrieb Andreas Leha:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Am 26.03.2013 16:31, schrieb Eric Schulte:
>>> Achim Gratz <Stromeko@Nexgo.DE> writes:
>>>
>>>> Am 26.03.2013 13:37, schrieb Eric Schulte:
>>>>> This can be done system wide by setting the language-specific header
>>>>> arguments.
>>>>
>>>> I've yet to see an example on how to do this.
>>>>
>>>
>>>       #+begin_src emacs-lisp
>>>         (setq org-babel-default-header-args:R
>>>               '((:session . "org-R")))
>>>       #+end_src
>>>
>>>       #+RESULTS:
>>>       | (:session . org-R) |
>>>
>>>       #+begin_src R
>>>       x <- 1
>>>       x
>>>       #+end_src
>>>
>>>       #+RESULTS:
>>>       : 1
>>>
>>>       #+begin_src R
>>>       x
>>>       #+end_src
>>>
>>>       #+RESULTS:
>>>       : 1
>>>
>>>>
>>
>> Hi,
>>
>> this looks very confusing for me.
>>
>> So, what is the purpose of a named session?
>> Understood it being a name-space, whose values don't affect the other ones.
>> What's in python-mode a dedicated shell.
>
> I can't speak for python, but in R, every differently named session will
> run within its own R process.
>
> The cool thing is, that I can work on file_foo.org and file_bar.org
> simultaneously, when file_foo.org uses R-session *foo* and file_bar.org
> uses R-session *bar*.
>
> [...]
>
> Regards,
> Andreas
>

Okay, that's the expected usage.
How do you read the example displayed?

Looks like a named (:session . "org-R") affects global R namespace.

What did "org-R" say here, what might be the purpose?

Assume it should switch it on. Then "org-R" represents a boolean here?

Best,

Andreas







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

* Re: [O] :session question
  2013-03-27 10:10                   ` [O] :session question Andreas Röhler
@ 2013-03-27 10:37                     ` Andreas Röhler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Röhler @ 2013-03-27 10:37 UTC (permalink / raw)
  To: emacs-devel

Am 27.03.2013 11:10, schrieb Andreas Röhler:
Sorry, wrong list...




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

end of thread, other threads:[~2013-03-27 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <51501AF2.1070405@easy-emacs.de>
     [not found] ` <loom.20130326T004901-561@post.gmane.org>
     [not found]   ` <8738vjugwd.fsf@gmail.com>
     [not found]     ` <51516699.6090604@gmail.com>
     [not found]       ` <87ip4ezf93.fsf@med.uni-goettingen.de>
     [not found]         ` <87fvzi72ve.fsf@gmail.com>
     [not found]           ` <kis5pm$k3d$1@ger.gmane.org>
     [not found]             ` <87ip4e5gai.fsf@gmail.com>
     [not found]               ` <5152B34E.4020004@easy-emacs.de>
     [not found]                 ` <87fvzhmbul.fsf@med.uni-goettingen.de>
2013-03-27 10:10                   ` [O] :session question Andreas Röhler
2013-03-27 10:37                     ` Andreas Röhler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).