1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-11 09:20:32 +00:00
Commit Graph

520 Commits

Author SHA1 Message Date
Eric Schulte
1df8d69c7c some minor additional discussion in o-b.org 2009-07-19 11:17:32 -06:00
Eric Schulte
c9752352ea added task: "TODO gnuplot support for column/row names"
Adding support for column/row names (as currently being implemented
for R) on a language by language basis is definitely the right way to
handle this hline/header issue.  I am going to try to do the same for
gnuplot.
2009-07-19 11:11:55 -06:00
Eric Schulte
28c3262848 fixed variable name in org-babel-R-evaluate 2009-07-19 11:06:44 -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
Dan Davison
7aafbb0cfc Updating / adding discussion to o-b.org. 2009-07-19 01:45:38 -04:00
Dan Davison
daf3e210da Updating o-b.org: two new R colname tests and graphics output discussion. 2009-07-19 01:08:45 -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
Eric Schulte
2aa721a7dc replacing gnuplot task documentation lost in a merge 2009-07-18 17:57:23 -06:00
Dan Davison
1c5ac55881 Updating o-b.org, including a couple of new bugs. 2009-07-18 19:11:14 -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
Dan Davison
4b7eef1a31 Merge commit 'origin/master' 2009-07-18 16:53:11 -04:00
Dan Davison
efd48d4405 new bug: avoid stripping whitespace when :results output 2009-07-18 16:53:08 -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
09675f518e Cherry-picking org-babel.org from examplizing-output. 2009-07-18 15:46:52 -04:00
Dan Davison
20e06fe86f Updating org-babel.org. 2009-07-18 15:40:15 -04:00
Dan Davison
802c5c5292 Updating org-babel.org. 2009-07-18 15:39:47 -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
61daf1e762 promoted to TODO: use example block for large amounts of stdout output? 2009-07-18 13:14:44 -06:00
Eric Schulte
f0adc09a42 added discussion of: PROPOSED optional timestamp for output 2009-07-18 13:14:43 -06:00
Dan Davison
cfb9092ede Revising bugs and tasks in org-babel.org 2009-07-18 14:02:22 -04:00
Dan Davison
24927c2a45 Minor changes to org-babel.org 2009-07-18 13:04:00 -04:00
Dan Davison
ccc461ef54 Merging master into results. 2009-07-18 13:01:16 -04:00
Dan Davison
6cd9cb6924 Updating org-babel.org 2009-07-18 01:48:53 -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
Eric Schulte
58a427f70d agreeing with new tasks 2009-07-17 16:58:57 -06:00
Dan Davison
e11508b8b7 test-tangle.org: adding function call parentheses on to #+srcname.
These are currently needed, due to the regexp in org-babel-get-src-block-name.
Changing that needs to be done with care to make sure that expectations regarding match-string are met,
so I'm leaving it for now
2009-07-17 15:09:42 -04:00
Dan Davison
83fc113e29 This was just an idea. We could do it but I'm reverting for now.
Revert "Make org-babel-tangle comment with ;;*."

This reverts commit c6b628d3ad.
2009-07-17 14:51:49 -04:00
Dan Davison
b15beb63d2 Merging master into results to pick up new TODO. 2009-07-17 14:42:31 -04:00
Dan Davison
017d46e50f Reinstated force-results-to-vector: passing all tests in table. 2009-07-17 14:37:43 -04:00
Dan Davison
c05ac759ac Trivial: removing whitespace in org-babel.org; passing most tests now. 2009-07-17 14:00:32 -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
Eric Schulte
1f9f1564ec added task: take default values for header args from properties 2009-07-17 11:27:41 -06:00
Dan Davison
7eecca6db5 Reinstating a previous change that got lost in the last merge somehow. 2009-07-17 10:49:26 -04:00
Dan Davison
72ccd88c97 Merging master into results.
THis brings in the bugfix from 4f15280631, as well as gnuplot. The bugfix required manual resolution as it had already been partially addressed in this branch. Also, the interaction of the possibility of being on a #+lob line and the possiblity of being in the middle of an org-babel-exp-results call, meant I had to rearrange things a bit, so this commit has new changes in org-babel-where-is-src-block-result in addition to the merge.
2009-07-17 09:54:11 -04:00
Dan Davison
5d49db67ab Correcting up cut/paste mistakes made in manual conflict resolution. 2009-07-17 00:50:02 -04:00
Eric Schulte
1fa18830ab gnuplot is able to generate graphs, but needs much more work 2009-07-16 22:20:58 -06:00
Dan Davison
4f15280631 Bugfix: not assuming that we're in a source block when inserting result.
The o-b-insert-result code was assuming that we were in a source
block, where it could find the head, etc. However there are two
situations when this is not true LoB calls (although they can't output
results to buffer in this branch, they can in branch 'results'), and
org-babel-exp (which calls o-b-insert-result in an empty temp buffer).
2009-07-17 00:18:03 -04:00
Dan Davison
64a5c0e379 Merging master into results: required manual conflict resolution.
results had upgraded to using org-babel-merge-params (although
apparently not yet in org-babel-parse-inline-src-block-match).
2009-07-16 23:22:25 -04:00
Eric Schulte
cdc46b8b74 added ability for languages to change their default header argument values 2009-07-16 18:52:31 -06:00
Eric Schulte
37d5edbad9 fleshing out the gnuplot task 2009-07-16 18:35:22 -06:00
Eric Schulte
5527d419a1 added support for ditaa source blocks 2009-07-16 18:23:19 -06:00