Commit graph

267 commits

Author SHA1 Message Date
Eric Schulte 5675e56585 sessions are now working in R 2009-06-12 15:31:52 -07:00
Eric Schulte 9623b16914 fixed some weird long-prompt issues with shell comint buffer 2009-06-12 15:20:23 -07:00
Eric Schulte 2dea1ea367 shell is now handling multiple sessions 2009-06-12 14:56:30 -07:00
Eric Schulte f4798d3e83 python can now handle multiple sessions 2009-06-12 14:49:11 -07:00
Eric Schulte 39a4a85ba1 protecting against spurious spaces in header arguments 2009-06-12 13:46:40 -07:00
Eric Schulte 368cdd2a3e brought in org-babel.org changes from master 2009-06-12 13:35:04 -07:00
Eric Schulte 8093091103 DONE rework evaluation lang-by-lang [4/4] 2009-06-12 13:10:33 -07:00
Eric Schulte 431715e6db shell support is pretty much working 2009-06-12 13:09:20 -07:00
Eric Schulte 8ab8bf6ed4 quoting "%"s in messages 2009-06-12 13:07:56 -07:00
Eric Schulte fe8393bf71 small documentation tweaks 2009-06-12 09:24:03 -07:00
Eric Schulte b64be81363 moving language-specific files into their own directory 2009-06-12 08:59:38 -07:00
Eric Schulte 1be99d1b35 python is basically up to snuff (needs more work on sessions) 2009-06-12 08:46:00 -07:00
Eric Schulte 018a8fcb98 removed spurious "\t" in ruby variable assignation 2009-06-12 08:45:43 -07:00
Eric Schulte 190a66c6af ruby now respects the scalar/vector :results header arguments 2009-06-12 08:33:51 -07:00
Eric Schulte 82e7c86ea3 R evaluation is pretty much up to snuff 2009-06-12 08:29:21 -07:00
Eric Schulte 86e4597a7a R results now obey the scalar/vector :results header arguments 2009-06-12 08:10:54 -07:00
Eric Schulte e0dcbce75e evaluation is working in R capturing both outputs and values 2009-06-12 07:55:33 -07:00
Eric Schulte 005e682948 making progress bringing org-babel-R.el into the new evaluation schema 2009-06-11 17:04:42 -07:00
Eric Schulte 0e8ae41dfc tweak variable name in org-babel-ruby 2009-06-11 16:28:21 -07:00
Eric Schulte 2c1b04eecb ruby is now working with sessions, output-based-results, and value(functional)-based-results 2009-06-11 15:34:34 -07:00
Eric Schulte 6698edbe83 finally think I'm on the right track for output vs. values, mostly working w/ruby
- moved ruby functions into their own buffer
  - removed org-babel-sessions.el
  - drastically scaled down org-babel-comint.el (may grow later if we
    find duplication between language buffers)
  - removed org-babel-script.el
  - adjusted org-babel-init.el to reflect new file layout

For the big breakthrough see `org-babel-ruby-evaluate' in
org-babel-ruby.el.  This will be the model upon which all future
language evaluations will be built.
2009-06-11 15:15:59 -07:00
Eric Schulte 8620cc414c generalizing command to read results from a file into elisp 2009-06-11 15:04:10 -07:00
Eric Schulte 9040ad657b adding string manipulation functions to org-babel.el 2009-06-11 14:31:37 -07:00
Eric Schulte 2081b95410 Revert "org-babel-comint-with-output is now fully self-contained and side-effect free"
This seems to be causing problems...

This reverts commit 0573fc4d9c.
2009-06-11 12:55:39 -07:00
Eric Schulte dc551fab04 beefed up org-babel-comint-wait-for-output but it still sometimes misses multiple outputs 2009-06-11 12:44:14 -07:00
Eric Schulte f5481ab666 looks like out comint waiting function needs some work... 2009-06-11 12:35:48 -07:00
Eric Schulte 0573fc4d9c org-babel-comint-with-output is now fully self-contained and side-effect free 2009-06-11 12:16:37 -07:00
Eric Schulte eacce7b29d `org-babel-comint-in-buffer' now declares it's indentation 2009-06-11 07:32:31 -07:00
Eric Schulte aa410df722 added nice little macro to capture output 2009-06-10 22:18:59 -07:00
Eric Schulte 8d0fd18933 working on org-babel-comint for automatically keeping a ring 2009-06-10 17:27:06 -07:00
Eric Schulte 23c61abf90 more robust org-babel-chomp 2009-06-10 16:17:04 -07:00
Eric Schulte 9c70974391 started working on ruby 'script' execution 2009-06-09 16:33:36 -07:00
Eric Schulte f3da4d0321 functional results now working with org-babel-comint and org-babel-script 2009-06-09 16:10:43 -07:00
Eric Schulte 39d1674f30 org-babel-R is now able to assign variables 2009-06-09 15:28:59 -07:00
Eric Schulte d3f1d07066 org-babel-R can now run in 'script' mode 2009-06-09 15:02:01 -07:00
Eric Schulte ccddf78dca the script/functional return values should be handled by header arguments
also, an echo header (like in R) argument would probably be
 appropriate as well.
2009-06-08 17:58:53 -07:00
Eric Schulte d724ca921a tweaking tasks for sessions and script/functional evaluation 2009-06-08 16:38:13 -07:00
Eric Schulte e6729c1cae even more thoughts on evaluation, results, models and options 2009-06-08 16:31:13 -07:00
Eric Schulte 4da3ddc623 Merge branch 'session' of git@github.com:eschulte/org-babel into session 2009-06-08 15:05:08 -07:00
Eric Schulte cdb41f5106 working on org-babel-script.el (winnowing, and using org-babel-comint.el) 2009-06-08 15:03:04 -07:00
Dan Davison 4446fd1f07 new TODO: figure out how to handle errors during evaluation 2009-06-06 21:29:35 -04:00
Dan Davison d0938cc70d More thoughts on scripting vs. functional approaches in org-babel 2009-06-06 21:21:21 -04:00
Dan Davison 1e4c3389b6 As was just done for branch master, removing all support for hlines/colnames -- they persist in branch rowcolnames. Also removing comments. These should never have been present in this branch. 2009-06-06 18:12:42 -04:00
Eric Schulte b533d9d446 cleaned up org-babel-comint and removed helper functions 2009-06-03 20:52:01 -07:00
Eric Schulte fe75562a64 org-babel-comint is basically working 2009-06-03 20:51:36 -07:00
Eric Schulte e1aeec8ab1 begun implementing org-babel-comint
a collection of functions to simplify interaction with comint-mode
  buffers
2009-06-03 20:18:18 -07:00
Eric Schulte c175d3ce0d playing with org-babel-script and comint buffers/functions 2009-06-03 17:37:50 -07:00
Eric Schulte 2a663b9e09 R is now using last output (with default session) and passing all tests 2009-06-03 15:59:27 -07:00
Eric Schulte 49db1e523c Merge branch 'master' into session
Conflicts:
	org-babel.org
2009-06-03 15:30:10 -07:00
Eric Schulte 39f7174884 Revert "Revert "Make org table result have header row and hline when appropriate...""
This reverts commit dff01091dc.

Yes, this is a reversion of a reversion, as the original commit has
been reverted in the master branch, I'm now just going to revert the
reversion and then merge with master to maintain inter-branch
cohesion.

oh, did I mention... "revert"
2009-06-03 15:26:32 -07:00