From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Babel ':session ' bug? Date: Sat, 20 Nov 2010 16:51:31 -0800 Message-ID: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from [140.186.70.92] (port=35161 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJy9s-00069g-QI for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 19:51:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJy9r-0001Qf-IQ for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 19:51:56 -0500 Received: from tajo.ucsd.edu ([137.110.122.165]:33328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJy9r-0001P6-DP for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 19:51:55 -0500 Received: from cberry (helo=localhost) by tajo.ucsd.edu with local-esmtp (Exim 4.72) (envelope-from ) id 1PJy9T-0000yG-Mc for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 16:51:31 -0800 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 `---- 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 cberry@tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901