Browse Source

moving language-specific files into their own directory

Eric Schulte 16 years ago
parent
commit
b64be81363

+ 0 - 0
lisp/org-babel-R.el → lisp/langs/org-babel-R.el


+ 0 - 0
lisp/org-babel-python.el → lisp/langs/org-babel-python.el


+ 0 - 0
lisp/org-babel-ruby.el → lisp/langs/org-babel-ruby.el


+ 0 - 0
lisp/org-babel-shell.el → lisp/langs/org-babel-shell.el


+ 1 - 0
lisp/org-babel-init.el

@@ -39,6 +39,7 @@
 (require 'org-babel-comint)
 
 ;; language specific files
+(add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
 (require 'org-babel-ruby)
 (require 'org-babel-python)
 (require 'org-babel-shell)

+ 8 - 3
org-babel.org

@@ -498,11 +498,11 @@ c = a + b
 
 #+srcname: task-call-use-last-output
 #+begin_src ruby :var last=ruby-use-last-output :results replace
-last.flatten.size
+last.flatten.size + 1
 #+end_src
 
 #+resname: task-call-use-last-output
-: 4
+: 5
 
 ***** ruby sessions
 
@@ -570,7 +570,12 @@ tasking + 2
 #+resname: task-use-new-eval
 : 12
 
-**** TODO Shells
+**** TODO Shells [0/5]
+- [ ] functional results working with comint
+- [ ] script results
+- [ ] ensure scalar/vector results args are taken into consideration
+- [ ] ensure callable by other source block
+- [ ] rename buffer after session
 
 *** TODO implement a *session* header argument