Commit graph

291 commits

Author SHA1 Message Date
Eric Schulte 2f50cb659f DONE Allow source blocks to be recognised when #+ are not first characters on the line 2009-08-09 08:29:06 -06:00
Eric Schulte 5d4ac21aca languages are now able to specify that they don't support comments for tangling 2009-08-04 13:23:23 -06:00
Eric Schulte 96c9696064 added support for CSS 2009-08-04 12:43:06 -06:00
Eric Schulte 9df56be538 tangling now preserves order of source-code blocks from the original file 2009-08-03 11:00:42 -06:00
Eric Schulte 96c8457208 adding third-party gnuplot-mode to util directory 2009-08-03 10:41:45 -06:00
Eric Schulte e247c0d7f3 fixed small bug in org-babel-map-source-blocks 2009-08-03 08:19:16 -06:00
Eric Schulte 05567124a8 DONE LoB is not populated on startup 2009-08-02 11:36:54 -06:00
Eric Schulte 132eb91b68 no longer ensuring that noweb style references are inside comments
it was slow buggy and brought in more requirements
2009-08-01 19:33:01 -06:00
Eric Schulte cbae0b231f added org-babel-sql to org-babel-init.el 2009-08-01 19:22:41 -06:00
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