Dan Davison
e5d8764de6
babel: Declare R-specific header arguments
...
* babel/lisp/langs/org-babel-R.el
(org-babel-header-arg-names:R):
New variable to contain R-specific header args
2010-05-28 09:53:13 -04:00
Michael Sperber
6fc2ea3b9b
Xemacs incompatibilities
...
Carsten Dominik <carsten.dominik@gmail.com> writes:
> On May 17, 2010, at 4:39 PM, Michael Sperber wrote:
>
>> In particular, fixing the require won't be enough: org-babel-python.el
>> uses `run-python' and interacts with the inferior Python, whereas
>> python-mode.el defines `py-shell'.
>>
>> Should I try to abstract over the differences?
>
> Yes, this would be much appreciated. (I think, Eric or Dan?)
OK, I've attached a patch that makes `org-babel-python' work on XEmacs.
Most of the issues are pure XEmacs issues. Notes:
- XEmacs doesn't have [[:digit:]] - I hope to rectify this in the
future, but it seems there's no downside in this particular case to
replacing by [0-9].
- XEmacs doesn't have `move-end-of-line', but does have `end-of-line'.
I don't understand the intent of having both of these, but the code
seems fine with `end-of-line'.
- It seems there are way too few `require's throughout org-babel. I
don't know if it's OK to add the ones I needed.
- `org-babel-python-evaluate' looked broken as-is: It doesn't use the
`body' argument properly, the result is (I think) processed in the
wrong order and not properly split into lines. I've fixed all these,
but a review is probably in order.
2010-05-26 22:45:01 -06:00
Carsten Dominik
38b4fcc90c
XEmacs compatibility
2010-05-14 14:40:44 +02:00
Eric Schulte
98af57cdbd
babel: ob-sh.el now respects the :results "scalar" option
2010-05-07 17:18:38 -06:00
Dan Davison
2d1025298e
babel: More concise matlab/octave code template
...
Patch by Christopher Long
2010-05-03 21:45:27 -04:00
Dan Davison
245d98786d
babel: matlab: detect end of evaluation under Emacs Link
...
Currently, this uses the presence of a temporary file to signal that
Matlab Emacs Link evaluation is not yet complete.
Emacs Link support added in collaboration with Christopher Long.
2010-05-03 21:45:01 -04:00
Benjamin Andresen
c133dd394e
babel: Fix org-babel-screen after expand changes
2010-05-02 21:30:13 -04:00
Dan Davison
d2b9343029
babel: Avoid trouble with '%' in matlab/octave output
...
Patch by Christopher Long
2010-05-02 18:26:22 -04:00
Dan Davison
65a98e3282
babel: fix editing error in org-babel-octave.el
2010-05-02 00:41:53 -04:00
Dan Davison
a61de7b130
babel: matlab: don't try matlab-shell if using emacs link
2010-04-30 18:23:36 -04:00
Dan Davison
6f399c20b6
babel: Allow EmacsLink to be used for matlab session evaluation
...
To use EmacsLink, the user will need to set
org-babel-matlab-with-emacs-link to a non-nil value, and also arrange
that (matlab-with-emacs-link) evaluates to a non-nil value.
2010-04-30 14:39:31 -04:00
Dan Davison
10a07a644b
babel: R: allow forcing of colnames without hline
2010-04-30 14:14:27 -04:00
Dan Davison
7f3e64bfb4
babel: R: output colnames when other languages would
2010-04-30 14:14:13 -04:00
Eric Schulte
6a1f5b2bcb
babel: ob-emacs-lisp now wraps body in a progn on execute
2010-04-27 13:55:48 -06:00
Eric Schulte
b8adc74894
babel: ob-emacs-lisp and ob-clojure now only wrap bodies in `let' forms when variables are present
2010-04-24 09:21:14 -06:00
Eric Schulte
2f71d79e5e
org-babel-c: now using org-babel-read on outline-property parameters
2010-04-23 10:10:00 -06:00
Eric Schulte
9124e9055d
fixed bug in org-babel-execute:C
2010-04-23 10:10:00 -06:00
Eric Schulte
59251c8d08
babel: fixed bug in org-babel-execute:gnuplot related to body-expand changes
2010-04-23 10:10:00 -06:00
Dan Davison
d0dde7c6d5
babel: flip default values of :hlines header arg
2010-04-23 10:10:00 -06:00
Dan Davison
9fdd058669
org-babel-expand-body:R
2010-04-23 10:10:00 -06:00
Eric Schulte
32c7ae42c3
babel: remove superfluous newlines from tangled C code bodies
2010-04-23 10:10:00 -06:00
Eric Schulte
626cb079e4
babel: fixed bug in org-babel-expand-body:sass
2010-04-23 10:10:00 -06:00
Dan Davison
8872454566
org-babel-expand-body:R
2010-04-23 10:10:00 -06:00
Eric Schulte
0917218da5
babel: fixed bug in org-babel-expand-body:python
2010-04-23 10:10:00 -06:00
Eric Schulte
0734bf96ba
org-babel-expand-body:sql
2010-04-23 10:09:59 -06:00
Eric Schulte
1fdc012e3d
org-babel-expand-body:sh
2010-04-23 10:09:59 -06:00
Eric Schulte
e6c979f0d7
org-babel-expand-body:screen
2010-04-23 10:09:59 -06:00
Eric Schulte
35434e1389
org-babel-expand-body:sass
2010-04-23 10:09:59 -06:00
Eric Schulte
394031eb38
org-babel-expand-body:ruby
2010-04-23 10:09:59 -06:00
Eric Schulte
1bcafa5d9f
org-babel-expand-body:python
2010-04-23 10:09:59 -06:00
Eric Schulte
598dc1ad67
org-babel-expand-body:perl
2010-04-23 10:09:59 -06:00
Eric Schulte
41663b0ce4
org-babel-expand-body:oz
2010-04-23 10:09:59 -06:00
Eric Schulte
2759b6621d
org-babel-expand-body:octave
2010-04-23 10:09:59 -06:00
Eric Schulte
8e9f4eec88
org-babel-expand-body:ocaml
2010-04-23 10:09:58 -06:00
Eric Schulte
e07aced178
org-babel-expand-body:matlab
2010-04-23 10:09:58 -06:00
Eric Schulte
7bd0712ac2
org-babel-expand-body:latex
2010-04-23 10:09:58 -06:00
Eric Schulte
dd500005ef
org-babel-expand-body:haskell
2010-04-23 10:09:58 -06:00
Eric Schulte
58c8ddd5c6
org-babel-expand-body:gnuplot
2010-04-23 10:09:58 -06:00
Eric Schulte
01918dffc4
org-babel-expand-body:dot
2010-04-23 10:09:58 -06:00
Eric Schulte
4d862912b2
org-babel-expand-body:ditaa
2010-04-23 10:09:58 -06:00
Eric Schulte
b805089eb8
org-babel-expand-body:css
2010-04-23 10:09:58 -06:00
Eric Schulte
6d61edd1ea
org-babel-expand-body:clojure
2010-04-23 10:09:58 -06:00
Eric Schulte
4ba08f9b5b
org-babel-expand-body:asymptote
2010-04-23 10:09:58 -06:00
Eric Schulte
34eed9b48d
org-babel-expand-body:c, org-babel-expand-body:c++
2010-04-23 10:09:58 -06:00
Eric Schulte
8c8c96972e
org-babel-expand-body:emacs-lisp
2010-04-23 10:09:58 -06:00
Dan Davison
c777e729fb
babel: bring R row- and col-names into line with others
2010-04-23 10:09:57 -06:00
Julien Barnier
bd3c85ed60
babel: add :rownames header arg for R
2010-04-23 10:09:57 -06:00
Eric Schulte
b9aa92ba21
org-babel: splitting `org-babel-pick-name' into it's own function
...
also renaming org-babel-manicure-tables to org-babel-disassemble-tables
2010-04-23 10:09:57 -06:00
Eric Schulte
bfc93ca808
babel: added row/col-name support to all applicable languages
2010-04-23 10:09:57 -06:00
Eric Schulte
7cbb35920d
org-babel-c: new header argument ":main no" allows inhibiting main wrap
2010-04-10 15:54:40 -06:00