Eric Schulte
e2d3cc7830
shell commands are working
2009-06-15 11:29:25 -07:00
Eric Schulte
f2aaba8ca6
adding support for python with :session none
2009-06-15 11:14:32 -07:00
Eric Schulte
2fd494477b
cleaned up ruby
2009-06-15 10:54:14 -07:00
Eric Schulte
00365e1fbe
ruby can now be run with NO session
2009-06-15 10:13:48 -07:00
Eric Schulte
ce1726713a
expanding
2009-06-15 09:35:02 -07:00
Eric Schulte
b60d873724
just getting started
2009-06-15 09:28:01 -07:00
Eric Schulte
f7c002bcb7
partial
2009-06-15 09:22:36 -07:00
Eric Schulte
e7591f5a14
removing the org-babel-named-src-block-regexp variable which is not used
2009-06-15 09:06:14 -07:00
Eric Schulte
ec38cffff0
not yet working
2009-06-14 22:06:11 -07:00
Eric Schulte
08565fd5c7
Merge branch 'master' into tangle
...
Conflicts:
lisp/org-babel-init.el
2009-06-14 18:58:25 -07:00
Eric Schulte
7984724a2b
expanding ** PROPOSED add =:none= session argument (for purely functional execution)
2009-06-14 18:57:41 -07:00
Eric Schulte
e985ff2014
response to shell-prompt-regexp bug
2009-06-14 18:48:43 -07:00
Eric Schulte
623831ddab
added util directory, including newest inf-ruby.el, should fix ruby bug
2009-06-14 18:42:44 -07:00
Eric Schulte
d71ee1116b
adding shell of org-babel-tangle.el
2009-06-14 18:30:29 -07:00
Dan Davison
c89a69b266
Shell problem with escape chars in prompt is still there.
2009-06-14 19:29:34 -04:00
Eric Schulte
8605c848bf
Merge branch 'master' into library-of-babel
...
Conflicts:
lisp/org-babel-ref.el
org-babel.org
2009-06-14 15:24:41 -07:00
Eric Schulte
fb995f252c
Merge branch 'master' into session
...
Conflicts:
lisp/org-babel-R.el
org-babel.org
2009-06-14 15:11:48 -07:00
Eric Schulte
d72b438f5e
Library of Babel source blocks are now available from any org-mode file
2009-06-14 15:01:55 -07:00
Eric Schulte
f1302d1cca
implemented *much* simpler lob one-liner syntax
2009-06-14 14:18:58 -07:00
Eric Schulte
fb2dcaf58a
implemented infrastructure for loading source-blocks from files
2009-06-14 14:10:04 -07:00
Eric Schulte
9040c8d246
re-organizing and re-categorizing TODOs under the task section
2009-06-14 12:36:46 -07:00
Eric Schulte
66d9bd1fb6
replies to new bugs
2009-06-14 12:22:11 -07:00
Eric Schulte
0866961436
Merge branch 'session' of git@github.com:eschulte/org-babel into session
...
Conflicts:
lisp/langs/org-babel-sh.el
org-babel.org
2009-06-14 12:16:17 -07:00
Eric Schulte
8360a676b9
passing all tests
2009-06-14 12:09:36 -07:00
Eric Schulte
a85cadced8
*** DONE function to bring up inferior-process buffer [4/4]
2009-06-14 12:02:25 -07:00
Eric Schulte
4fd1abecc5
move lisp/langs/org-babel-shell.el to lisp/langs/org-babel-sh.el
2009-06-14 11:54:31 -07:00
Eric Schulte
e962e83741
adding pop/prep session commands to org-babel-shell.el
2009-06-14 11:53:56 -07:00
Eric Schulte
88048186ac
R know how to prep and pop-to sessions
2009-06-14 11:48:11 -07:00
Eric Schulte
f2444e39e9
added some `sit-for' statements to make ruby inf session prep more reliable
2009-06-14 11:44:29 -07:00
Dan Davison
70cc6cb90f
A couple of bug reports.
...
(1) Shell evaluation is broken by weird escape chars in prompt;
(2) ruby evaluation not working for me as run-ruby expects one argument on my system.
Also fixed a harmless copy-paste error and whitespace adjustment to shorten lines.
2009-06-14 14:38:15 -04:00
Eric Schulte
2212742c54
python can now pop-to-session
2009-06-14 11:34:06 -07:00
Eric Schulte
d1bcb5e425
cleaned version of body is now added to kill ring
2009-06-14 11:10:09 -07:00
Eric Schulte
1b39a64fbe
ruby blocks can now pop to session buffer (optionally evaluating header-args)
2009-06-14 11:08:12 -07:00
Eric Schulte
5e41083bfa
adding ** TODO add =:none= session argument (for purely functional execution)
2009-06-14 10:32:10 -07:00
Eric Schulte
7d063efd28
removed debugging statement from org-babel.el
2009-06-14 10:27:29 -07:00
Eric Schulte
77c8f29968
** DONE test failing forcing vector results with =test-forced-vector-results= ruby code block
2009-06-14 10:24:29 -07:00
Eric Schulte
0019cc9c14
all tests seem to be passing
2009-06-14 10:23:44 -07:00
Eric Schulte
ba2756447d
correctly using the ARTIFICIAL flag with comint-send-input
2009-06-14 10:21:14 -07:00
Eric Schulte
3cd99d0c2f
** DONE defunct R sessions
...
turns out I just had to use inferior-ess-send-input instead of comint-send-input
2009-06-14 10:20:59 -07:00
Eric Schulte
bf2b175ba8
fleshing out bug description
2009-06-14 10:05:26 -07:00
Eric Schulte
4a4046d73d
adding two bugs...
...
** TODO defunct R sessions
** TODO test failing forcing vector results with =test-forced-vector-results= ruby code block
2009-06-14 09:22:31 -07:00
Eric Schulte
d879ac0a12
seems to have passed all tests (I'm skeptical there still may be problems)
...
Specifically with the following two issues...
1) hanging on R code blocks when we have multiple R sessions in play
2) very occasionally the results of ruby code blocks are iffy
This whole session experience proves the general point that functional
code is easier to write and debug than code with state.
2009-06-14 09:18:42 -07:00
Eric Schulte
f31b3b2af2
fixed problem with new ruby sessions sometimes not initializing
2009-06-14 09:12:19 -07:00
Eric Schulte
8931657abf
adding bug: TODO ruby fails on first call to non-default session
2009-06-14 08:42:35 -07:00
Eric Schulte
0b75d89ccf
fixed error parsing empty results from ruby
2009-06-14 08:41:52 -07:00
Eric Schulte
82e9587c72
added alternate single-line syntax for Library of Babel evaluation
2009-06-14 07:54:55 -07:00
Dan Davison
04be81dfe4
Cleaner implementation of org-babel-execute:babel.
...
It now searches for a srcname first in the current buffer, and then in
the lob.
2009-06-14 01:11:04 -04:00
Dan Davison
66b27cb951
Added get-all-src-block-infos, which creates a hash of the 'info' lists
...
for all source blocks in a buffer, keyed by srcname.
2009-06-14 01:08:27 -04:00
Dan Davison
81ee8944ae
Correcting errors in previously untested code.
2009-06-13 22:48:44 -04:00
Eric Schulte
08f92aebe5
passing some session tests, but still failing some tests
2009-06-13 19:35:48 -07:00