0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-23 12:10:44 +00:00
Commit graph

282 commits

Author SHA1 Message Date
Eric Schulte 5b71912531 *very minimal* support for sql code blocks
see the comments in org-babel.org for more that can be done
2009-08-01 19:05:18 -06:00
Eric Schulte 9537047b14 Merge branch 'master' into sql-support 2009-08-01 18:24:28 -06:00
Eric Schulte 8506995b9d added 'var' as a possible header argument to be read from outline properties 2009-08-01 18:10:17 -06:00
Eric Schulte 735a1556b6 DONE take default values for header args from properties 2009-08-01 18:06:46 -06:00
Eric Schulte 883a174357 bringing back default values from properties
originally in commit 6b5747fdfa
2009-08-01 15:43:37 -06:00
Eric Schulte 46990352af started along the path towards supporting SQL 2009-08-01 14:00:37 -06:00
Eric Schulte 227540bce1 DONE new reference syntax *inside* source code blocks
noweb style references are now expanded on tangle
2009-07-31 17:01:40 -06:00
Eric Schulte 17b2008968 now able to return the current source-code block's body with noweb references expanded
new function is `org-babel-expand-noweb-references'
2009-07-31 16:53:02 -06:00
Eric Schulte bfdc0bbb35 DONE re-work tangling system
the tangling header arguments are now working along the new NuWeb
  inspired schema
2009-07-30 20:14:35 -06:00
Eric Schulte 5c6308d804 org-babel-load-file now working under new tangling schema 2009-07-30 20:02:18 -06:00
Eric Schulte 56b18db9b8 STARTED re-work tangling system
haven't done any debugging but all of the main code changes have
  been made in org-babel-tangle.el
2009-07-30 08:57:26 -06:00
Eric Schulte aa8bcd9f38 DONE optionally evaluate header references when we switch to =*Org Edit Src*= buffer
If `org-edit-special' is called with a prefix argument from inside a
  source-code block which has a session, then the session is prepared
  according to the header arguments of the source-code blocks.

  This is implemented at a `defadvice' because the org-edit-src-hook
  is called from inside of the edit buffer, rather than the org
  buffer, and it wasn't clear how to access a prefix arg from inside
  of the hook.
2009-07-28 08:30:23 -06:00
Eric Schulte 2fd9accd98 DONE =\C-c \C-o= to open results of source block 2009-07-25 15:48:23 -06:00
Eric Schulte 89dbf83e2a now intercepting org-open-at-point (bound to C-c C-0) with defadvice 2009-07-25 15:37:34 -06:00
Eric Schulte 97d8e85a92 added more tests, still not there 2009-07-24 22:12:52 -06:00
Eric Schulte f4f626e3e1 now able to open file links 2009-07-24 21:54:17 -06:00
Eric Schulte 3692c4b3a5 starting work on allowing opening of src-block results
not yet working
2009-07-24 20:53:13 -06:00
Eric Schulte e842d3c36b DONE asymptote
added support for asymptote (another graphing language)

  for information on asymptote see http://asymptote.sourceforge.net/
2009-07-24 20:17:49 -06:00
Eric Schulte 4bec1ece20 DONE dot
added support for the dot graphing language
  (http://www.graphviz.org/)
2009-07-24 19:39:48 -06:00
Dan Davison 3457849008 Fix naive argument parsing at #+srcname. 2009-07-23 23:11:17 -04:00
Dan Davison f53d61980f Fix argument parsing bug. 2009-07-23 22:55:29 -04:00
Dan Davison c2bef96b7f Fix parser bug. 2009-07-23 22:32:03 -04:00
Dan Davison fadb5d5093 Change looking-at-p to looking-at.
Patch from Stephan Schmitt.
2009-07-23 11:06:44 -04:00
Eric Schulte 6b5747fdfa Revert "DONE take default values for header args from properties"
This is breaking many of our tests, so I'm reverting it until I can figure out a fix

This reverts commit 9936814ffc.
2009-07-22 19:02:12 -06:00
Eric Schulte 9936814ffc DONE take default values for header args from properties 2009-07-22 18:59:10 -06:00
Eric Schulte 51cfe9e468 DONE add =:tangle= family of header arguments
these can be used to inhibit tangling
2009-07-22 18:30:30 -06:00
Eric Schulte 4f15568a96 org-babel-ded-worg looks great, I hope you don't mind I'm adding a
"Reference / Documentation" section to hold documentation on the many
header arguments
2009-07-22 17:17:06 -06:00
Eric Schulte 34cf22bdaa DONE Fix nested evaluation
and commenting out debugging statements
2009-07-22 16:05:13 -06:00
Eric Schulte 66faa937f8 DONE deeply nested arguments still fails
added a function `org-babel-ref-split-args' for splitting arguments
  into top-level balanced expressions
2009-07-22 16:04:19 -06:00
Eric Schulte fe0532e509 DONE One supplied, one default
We are now skipping results lines when resolving references which
  specify arguments, as the arguments would change the value of the
  source-code block.
2009-07-21 16:46:26 -06:00
Eric Schulte 2bfa420c6a DONE empty parens () not recognised as lob call 2009-07-21 16:27:48 -06:00
Eric Schulte 53c08df3ae so it looks like regardless of the syntax used we're not overriding
the default argument values.
2009-07-21 12:22:59 -06:00
Eric Schulte 85dc35656d DONE gnuplot sessions 2009-07-20 13:33:53 -06:00
Eric Schulte e5b2e307fa removed the result-params from the let in org-babel-gnuplot,
keeping the vars line in the let for now because of the peculiar
  handling of the vars in gnuplot.
2009-07-20 13:10:11 -06:00
Eric Schulte 809462e3ee Merge branch 'master' into gnuplot
Conflicts:
	lisp/langs/org-babel-gnuplot.el

With respect to the conflict, I will try removing the lines you
mentioned before my next commit.
2009-07-20 13:07:29 -06:00
Eric Schulte c81479b161 added a :file header argument to gnuplot 2009-07-20 13:04:40 -06:00
Eric Schulte 307c7667db still working on gnuplot variable support 2009-07-19 16:40:28 -06:00
Dan Davison b766b094a0 Using temp function definition to tidy R evaluation code. 2009-07-19 18:03:33 -04:00
Eric Schulte 9bdddde454 gnuplot: switching to using user defined variables for handling variables
This will require gnuplot version 4.2 or up
2009-07-19 15:46:05 -06:00
Dan Davison 2b66de1c1b Reorganising R evaluation code.
With this change we avoid messing about extracting the output from the
comint buffer in the :results value case (the value has already been
written to file).
2009-07-19 17:45:00 -04:00
Eric Schulte 01c6bd2b33 pulled the gnuplot variable processing out into it's own function 2009-07-19 15:30:40 -06:00
Eric Schulte 20eec8d94b additional requirements and initialization for gnuplot 2009-07-19 15:01:47 -06:00
Dan Davison 162b522728 Fixing srcname function call regexps.
But still some improvement of this to be done (see bugs section).
2009-07-19 14:29:10 -04:00
Dan Davison aa1747b065 Quite a few revisions / additions to the tasks and bugs lists. 2009-07-19 13:56:38 -04:00
Dan Davison e4d14d41ec This should have been part of the parent commit (911e77a7c9) 2009-07-19 13:55:42 -04:00
Eric Schulte 585f69d1f7 Merge branch 'master' into gnuplot 2009-07-19 11:12:09 -06:00
Eric Schulte 28c3262848 fixed variable name in org-babel-R-evaluate 2009-07-19 11:06:44 -06:00
Eric Schulte 91301b8c29 Merge branch 'master' into gnuplot 2009-07-19 11:02:17 -06:00
Dan Davison 911e77a7c9 Code rearrangement: restrict R column names changes to org-babel-R.el.
On reflection this is (currently) R-specific functionality and should
not affect the code in org-babel.el.
2009-07-19 12:01:00 -04:00
Dan Davison 8294122f8f Trying to retain whitespace in output results from R.
I don't believe this solves it, but chomp is more the right thing to
do than trim. I'd like to retain all the whitespace so that alignment
of columns is correct in stdout.
2009-07-19 01:47:37 -04:00