Commit graph

315 commits

Author SHA1 Message Date
Eric Schulte cf5da73068 cleanup 2009-08-24 11:35:59 -06:00
Eric Schulte 6d4404f4cb org-babel now using the org-src-lang-modes variable newly added to org-mode 2009-08-23 12:38:16 -06:00
Eric Schulte beed8c097b added function: org-babel-tangle-clean, for cleaning up tangled files 2009-08-20 16:32:57 -06:00
Eric Schulte 101a1141cd DONE failing to write srcname to resname when evaluating a named block 2009-08-18 18:25:07 -06:00
Eric Schulte 6ca0934ead DONE new results types (org, html, latex) 2009-08-18 17:55:10 -06:00
Eric Schulte cbdd953993 DONE org-bable-tangle: no default extension if one already exists 2009-08-18 17:22:16 -06:00
Eric Schulte e56bed5fc8 adding org-src-lang-modes as place holder until something comparable makes it's way into the org core 2009-08-18 13:37:18 -06:00
Eric Schulte 57a9464d3a added the SASS css generation language (see http://sass-lang.com/) 2009-08-17 14:39:34 -06:00
Eric Schulte 5ae3234bae org-babel-exp is now using the newer org-exp-blocks.el block definition methods 2009-08-17 12:19:25 -06:00
Eric Schulte 50e29c200d recursively expanding nested noweb references 2009-08-16 21:17:16 -06:00
Eric Schulte 937e1aa981 now better at inserting wrapping comments, and using org-src-lang-modes 2009-08-16 21:14:22 -06:00
Eric Schulte c23e62cd09 small typo 2009-08-16 14:02:20 -06:00
Eric Schulte fcc0ff9010 recognizes different types of ocaml output 2009-08-16 13:59:07 -06:00
Eric Schulte cfe40c4ca1 started adding support for the ocaml language 2009-08-16 11:47:18 -06:00
Eric Schulte 2f82474d85 No longer loading all languages by default. REQUIRES A CHANGE TO YOUR CONFIG!
This fixes a bug: DONE require users to explicitly turn on each language

as we continue adding more languages (each with it's own set of major
mode requirements), we are going to want users to only turn on the
languages that they intend to use.

See the install instructions in org-babel-worg.org, also take a look
at the "Requirements" sections of org-babel-ruby.el and
org-babel-gnuplot.el for pointers to downloading and installing their
requirements (which are no longer distributed in the util directory).
2009-08-16 10:48:08 -06:00
Eric Schulte 36be1d4058 adding literate programming section to ob-worg, and fixing small tangle bug 2009-08-14 19:34:23 -06:00
Eric Schulte 99ba71d35e [BUG FIX] DONE Python session evaluation bug 2009-08-14 16:13:57 -06:00
Eric Schulte 367072d11b OK, now I really think that we're done inserting superfluous interests with results 2009-08-14 15:49:05 -06:00
Eric Schulte d07c2f3b5c [BUG FIX] DONE problem with newlines in output when :results value 2009-08-14 15:33:49 -06:00
Eric Schulte 4db86bd66f better an not inserting blank lines 2009-08-14 15:21:40 -06:00
Eric Schulte 8ba39da7e9 [BUG FIX] DONE non-orgtbl formatted lists 2009-08-14 15:15:23 -06:00
Eric Schulte 9b25adfd48 no longer adding extra lines with table output 2009-08-14 15:07:29 -06:00
Eric Schulte 945200790a fixed bug: DONE adding blank line when source-block produces no output 2009-08-14 14:57:36 -06:00
Eric Schulte fe7c63b18c STARTED new results types (org, html, latex)
added a "raw" or "org" results header
2009-08-13 13:31:51 -06:00
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