Commit Graph

30 Commits

Author SHA1 Message Date
Eric Schulte b60d873724 just getting started 2009-06-15 09:28:01 -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 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 fb2dcaf58a implemented infrastructure for loading source-blocks from files 2009-06-14 14:10:04 -07: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 7d063efd28 removed debugging statement from org-babel.el 2009-06-14 10:27:29 -07:00
Eric Schulte 0019cc9c14 all tests seem to be passing 2009-06-14 10:23:44 -07: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 dd0392a4f2 extracted the "capture all output from comint session" behavior into a macro 2009-06-13 17:08:42 -07:00
Dan Davison 317a062a9a New variable org-babel-named-src-block-regexp to match src block with
srcname, and function org-babel-named-src-block-regexp-for-name
returning regexp matching a block with a particular
name. org-babel-named-src-block-regexp is set by
org-babel-set-interpreters.
2009-06-13 18:46:26 -04:00
Dan Davison e0909d8458 New variable org-babel-named-src-block-regexp, to match a block with its srcname, and simple version of function org-babel-find-named-block. 2009-06-13 18:43:24 -04:00
Dan Davison 90094f9b7c Started again with lob implementation.
I'm now proposing to implement it, at least temporarily, as a
degenerate source block (has no body), with interpreter name
'babel'. These 'babel' blocks will use a :srcname header arg to refer
to the source code block that they will use for their body. This
source code block might be in the 'library of babel'. If so it will
use a conventional variable name for its 'main data argument' such as
__data__. Then the babel block (not to be confused with a code block
in the lob) would use :var __data__=ref, where ref is a resource
reference resolved as usual.
2009-06-12 23:45:14 -04:00
Eric Schulte b56e6b0285 removing Austin F. Frank from copyright and author lines 2009-06-12 16:55:42 -07:00
Eric Schulte d41466e5bc now really passing all basic tests 2009-06-12 16:23:28 -07:00
Eric Schulte 39a4a85ba1 protecting against spurious spaces in header arguments 2009-06-12 13:46:40 -07:00
Eric Schulte 8ab8bf6ed4 quoting "%"s in messages 2009-06-12 13:07:56 -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 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 23c61abf90 more robust org-babel-chomp 2009-06-10 16:17:04 -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 bba80bb837 working on sessions 2009-06-02 16:26:57 -07:00
Dan Davison eb29bef93f Made org-babel-remove-result interactive. Eric if you agree do you want to decide on a binding? 2009-05-30 15:59:46 -04:00
Dan Davison 2ca59eaa0f Preventing end of buffer error when no newline after #+end_src 2009-05-29 23:34:50 -04:00
Eric Schulte 9aa713be8c updated tag line 2009-05-24 14:10:03 -07:00
Eric Schulte 9247200bb0 renaming the org-babel/ directory to the lisp/ directory 2009-05-24 13:56:20 -07:00