emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Babel ':session ' bug?


From: Charles C. Berry
Subject: Re: [Orgmode] Babel ':session ' bug?
Date: Sat, 20 Nov 2010 18:57:36 -0800


Correction in line below. CCB

On Sat, 20 Nov 2010, Charles C. Berry wrote:

I think :session without passing a string used to start a session, but
now it does not. I think this is a bug. Details:

Just did git pull and now with this:

,----
|  #+BEGIN_SRC R :session   :results output xyz
|  #+END_SRC
| | #+results: | | #+BEGIN_SRC R :session *R* :results output xyz
|  #+END_SRC
`----


Oops! That should have been

,----
| #+BEGIN_SRC R :session :results output | xyz
|  #+END_SRC
|
|  #+results:
|
| #+BEGIN_SRC R :session *R* :results output | xyz
|  #+END_SRC
`----




If I put point after 'xyz'  in the first block and do

  M-x eval-expression RET (org-babel-get-src-block-info) RET

I get

("R" "xyz
" ((:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "") (:cache . "no") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (::session\ \ ) ...) "" nil 0)

Note '(::session\ \ ).

Whilst putting point in the second block leads to

("R" "xyz
" ((:colname-names) (:rowname-names) (:result-params "output" "replace") (:result-type . output) (:comments . "") (:shebang . "") (:cache . "no") (:noweb . "no") (:tangle . "no") (:exports . "code") (:results . "output replace") (:session . "*R*") ...) "" nil 0)


Chuck


Charles C. Berry Dept of Family/Preventive Medicine
address@hidden                      UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



Charles C. Berry                            Dept of Family/Preventive Medicine
address@hidden                      UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901





reply via email to

[Prev in Thread] Current Thread [Next in Thread]