Commit Graph

501 Commits

Author SHA1 Message Date
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 29d026816f 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:59:05 -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 78a0f21f6d tweaking tasks for sessions and script/functional evaluation 2009-06-08 16:38:24 -07:00
Eric Schulte d724ca921a tweaking tasks for sessions and script/functional evaluation 2009-06-08 16:38:13 -07:00
Eric Schulte 36480d34b9 even more thoughts on evaluation, results, models and options 2009-06-08 16:31:24 -07:00
Eric Schulte e6729c1cae even more thoughts on evaluation, results, models and options 2009-06-08 16:31:13 -07:00
Eric Schulte f49ac94e6a pulled org-babel.org from session branch 2009-06-08 15:42:47 -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
Dan Davison f6452b272a Removing all support for hlines/colnames -- they persist in branch rowcolnames. Also removing comments. 2009-06-06 18:06:45 -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
Eric Schulte b1c103890c *even more* discussion of session implementation issues 2009-06-03 15:23:45 -07:00
Dan Davison 8ac2a7daa6 Added another multilingual example. One issue is that spaces in the string cause vector output. 2009-06-03 12:33:58 -04:00
Dan Davison 02b265b2e3 Reverted tentative and hackish support for hline in R output. I have left a commented line and an unused function while I am thinking about this, and pending me learning git better. However I haven't yet reverted the ability of R to recognise hlines in var references, so the grades example still works. All sbe tests are passed. 2009-06-03 12:09:52 -04:00
Dan Davison 21d01aea91 Some notes on possible support for named fields / rows / columns in org-babel and supported languages. These are just preliminary and don't outline a solution. My feeling is that this will require a bit more thought to avoid being an unrigorous hack. 2009-06-03 11:32:24 -04:00
Eric Schulte bbf89dea08 fixed type in org-babel.org 2009-06-02 20:50:10 -07:00
Eric Schulte dccbe633c9 discuss complication of mixing functional and imperative block evaluation 2009-06-02 20:34:20 -07:00
Eric Schulte dff01091dc Revert "Make org table result have header row and hline when appropriate..."
This reverts commit e4263daf76.

I'm reverting this commit in the sesion branch because it is breaking
the tests for R, as it no longer allows R source code blocks to return
scalar values.  Hopefully this issue will be fixed in the master
branch before I merge the session branch back in.
2009-06-02 16:29:30 -07:00
Eric Schulte 517253a2d0 beginning to add sessions 2009-06-02 16:28:56 -07:00
Eric Schulte bba80bb837 working on sessions 2009-06-02 16:26:57 -07:00
Eric Schulte f383f7e30c added integration directory for org-tangle (from Eric N.'s into email) 2009-06-02 15:31:26 -07:00
Dan Davison 0df550d84c Minor updates and responses in the sessions planning subtree. 2009-06-02 16:45:31 -04:00
Eric Schulte 37758310e0 planning *session* task order, and separating "*Org Edit Src Example* buffer" tasks 2009-06-01 17:58:37 -07:00
Eric Schulte fcd5e8f272 fleshing out the *sessions* discussion and TODOs 2009-06-01 17:28:34 -07:00
Eric Schulte c38294d21f DONE Remove protective commas from # comments before evaluating 2009-06-01 16:56:59 -07:00
Dan Davison 8fef1f0509 More notes on sessions: need for header arg evaluation when we edit code, and need for removing protective commas 2009-06-01 15:14:35 -04:00
Dan Davison f03e3ed603 Further notes on org-babel session and ESS and *Org Edit Src Example* buffers. 2009-05-31 18:07:13 -04:00