Commit graph

122 commits

Author SHA1 Message Date
Eric Schulte 4346aadd6f cleanup and fixing bug RE: default header arguments on export 2009-09-01 15:30:39 -06:00
Eric Schulte d45e3d318f simplified insertion of file links (makes for better image export) 2009-09-01 15:14:45 -06:00
Eric Schulte cf5da73068 cleanup 2009-08-24 11:35:59 -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 36be1d4058 adding literate programming section to ob-worg, and fixing small tangle bug 2009-08-14 19:34:23 -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 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 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 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
Dan Davison 3457849008 Fix naive argument parsing at #+srcname. 2009-07-23 23:11:17 -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 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
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 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 062bc09d84 Adding support for column names (header line) when using R.
Unlike the other languages, it's central to R to be able to index
columns of a data frame d, either by d[,"columnname"] of d$columnname.

With this change, if colnames are present in the *input* from
org-babel, the corresponding R variable is *always* constructed with
the colnames.

In addition, with the :colnames header arg, the *output* to elisp/org
buffer contains the colnames separated from the rest of the table by
'hline. This behaviour is not default because other languages may
expect a simple table without the 'hline.
2009-07-19 01:07:07 -04:00
Dan Davison ef6668df61 Merging examplizing-output into master 2009-07-18 18:10:14 -04:00
Dan Davison bcfa3b95c7 Add ability to remove #+begin_example blocks of output. 2009-07-18 17:47:30 -04:00
Eric Schulte fcfe110fef correctly handling exclusive :exports params 2009-07-18 14:24:47 -06:00
Eric Schulte 44ff72261c moved org-babel-merge-results into anonymous function in flet 2009-07-18 14:24:46 -06:00
Dan Davison c2b255e0da Changing default min lines for block output to 10 2009-07-18 15:52:51 -04:00
Dan Davison 4dfe45cdf1 Trivial: function name change for clarification. 2009-07-18 15:39:00 -04:00
Dan Davison 04a4a4862e Using #+begin_example...#+end_example blocks for output. 2009-07-18 15:38:21 -04:00
Eric Schulte fdae720848 removed large block of lang-specific comments from org-babel.el
I assume that since all tests are passing we no longer need this old
code.  Either way we can always retrieve it from version control.
2009-07-17 22:10:43 -06:00
Eric Schulte 6661bb70d5 new default export parameters 2009-07-17 22:08:02 -06:00
Eric Schulte bda750be2f combination of :results parameters now takes mutually exclusive parameter groups into consideration 2009-07-17 22:06:37 -06:00
Eric Schulte 8408187f4a using org-babel-merge-params for inline header arguments 2009-07-17 21:36:47 -06:00
Dan Davison 017d46e50f Reinstated force-results-to-vector: passing all tests in table. 2009-07-17 14:37:43 -04:00
Dan Davison 8c9d8b6c28 Don't attempt to remove result when :results silent. 2009-07-17 13:58:04 -04:00
Dan Davison 9ebb554527 o-b-merge-params function was not allowing whitespace around the '=' sign.
At some point it might be useful (to me at least) to clarify our rules
regarding whitespace, and make guidelines for using " \t\f\n\v\r" et
al (and [:space:]?).
2009-07-17 13:27:56 -04:00
Dan Davison 7eecca6db5 Reinstating a previous change that got lost in the last merge somehow. 2009-07-17 10:49:26 -04:00