Dan Davison
ee5d7af7b9
babel: org: Delete unnecessary language-specific expansion function
...
* ob-org.el (org-babel-expand-body:org): Delete
function (automatically handled by generic version)
2010-10-21 13:06:02 +01:00
Eric Schulte
2ddcf9e255
removing obsoleted optional third argument from org-babel-expand-body:LANG
...
* lisp/ob-C.el (org-babel-expand-body:c++): removing obsoleted
optional third argument
(org-babel-expand-body:c++): removing obsoleted optional third
argument
(org-babel-C-expand): removing obsoleted optional third argument
* lisp/ob-R.el:
(org-babel-expand-body:R): removing obsoleted optional third
argument
(org-babel-execute:R): removing obsoleted optional third argument
(org-babel-R-variable-assignments): removing obsoleted optional
third argument
* lisp/ob-asymptote.el:
(org-babel-expand-body:asymptote): removing obsoleted optional third
argument
(org-babel-execute:asymptote): removing obsoleted optional third
argument
* lisp/ob-clojure.el:
(org-babel-expand-body:clojure): removing obsoleted optional third
argument
(org-babel-execute:clojure): removing obsoleted optional third
argument
* lisp/ob-css.el:
(org-babel-expand-body:css): removing obsoleted optional third
argument
* lisp/ob-ditaa.el:
(org-babel-expand-body:ditaa): removing obsoleted optional third
argument
* lisp/ob-dot.el:
(org-babel-expand-body:dot): removing obsoleted optional third
argument
(org-babel-execute:dot): removing obsoleted optional third argument
* lisp/ob-emacs-lisp.el:
(org-babel-expand-body:emacs-lisp): removing obsoleted optional
third argument
(org-babel-execute:emacs-lisp): removing obsoleted optional third
argument
* lisp/ob-gnuplot.el:
(org-babel-expand-body:gnuplot): removing obsoleted optional third
argument
* lisp/ob-haskell.el:
(org-babel-expand-body:haskell): removing obsoleted optional third
argument
(org-babel-execute:haskell): removing obsoleted optional third
argument
(org-babel-load-session:haskell): removing obsoleted optional third
(org-babel-prep-session:haskell): removing obsoleted optional third
* lisp/ob-js.el:
(org-babel-expand-body:js): removing obsoleted optional third
argument
(org-babel-execute:js): removing obsoleted optional third argument
* lisp/ob-latex.el:
(org-babel-expand-body:latex): removing obsoleted optional third
argument
* lisp/ob-lisp.el:
(org-babel-expand-body:lisp): removing obsoleted optional third
argument
(org-babel-execute:lisp): removing obsoleted optional third argument
* lisp/ob-mscgen.el:
(org-babel-expand-body:mscgen): removing obsoleted optional third
argument
* lisp/ob-ocaml.el:
(org-babel-expand-body:ocaml): removing obsoleted optional third
argument
(org-babel-execute:ocaml): removing obsoleted optional third
argument
* lisp/ob-octave.el:
(org-babel-expand-body:matlab): removing obsoleted optional third
argument
(org-babel-expand-body:octave): removing obsoleted optional third
argument
(org-babel-execute:octave): removing obsoleted optional third
argument
(org-babel-octave-variable-assignments): removing obsoleted optional
third
* lisp/ob-org.el:
(org-babel-expand-body:org): removing obsoleted optional third
argument
* lisp/ob-perl.el:
(org-babel-expand-body:perl): removing obsoleted optional third
argument
(org-babel-execute:perl): removing obsoleted optional third argument
* lisp/ob-plantuml.el:
(org-babel-expand-body:plantuml): removing obsoleted optional third
argument
* lisp/ob-python.el:
(org-babel-expand-body:python): removing obsoleted optional third
argument
(org-babel-execute:python): removing obsoleted optional third
argument
(org-babel-python-variable-assignments): removing obsoleted optional
third
* lisp/ob-ruby.el:
(org-babel-expand-body:ruby): removing obsoleted optional third
argument
(org-babel-execute:ruby): removing obsoleted optional third argument
* lisp/ob-sass.el:
(org-babel-expand-body:sass): removing obsoleted optional third
argument
* lisp/ob-scheme.el:
(org-babel-expand-body:scheme): removing obsoleted optional third
argument
(org-babel-execute:scheme): removing obsoleted optional third
argument
* lisp/ob-screen.el:
(org-babel-expand-body:screen): removing obsoleted optional third
argument
* lisp/ob-sh.el:
(org-babel-expand-body:sh): removing obsoleted optional third
argument
(org-babel-execute:sh): removing obsoleted optional third argument
(org-babel-sh-variable-assignments): removing obsoleted optional
third
* lisp/ob-sql.el:
(org-babel-expand-body:sql): removing obsoleted optional third
argument
* lisp/ob-sqlite.el:
(org-babel-expand-body:sqlite): removing obsoleted optional third
argument
(org-babel-execute:sqlite): removing obsoleted optional third
argument
* lisp/ob.el:
(org-babel-expand-body:generic): removing obsoleted optional third
argument
2010-10-21 13:06:00 +01:00
Dan Davison
3afc34a10b
babel: Remove protective commas from Org code
2010-10-08 18:35:39 +01:00
Dan Davison
03b0360ded
typos
...
* ob-org.el (org-babel-org-export): typo in docstring
* ob-eval.el (org-babel-eval): typo in docstring
2010-09-22 22:10:13 +01:00
Eric Schulte
ca15dd6dbe
ob-org: now raises an error on nested export calls
...
* lisp/ob-org.el (org-babel-org-export): raise error on nested export call
2010-09-21 10:10:41 -06:00
Eric Schulte
24efe784d5
ob-org: no longer drop first line when exporting org code block
...
* lisp/ob-org.el (org-babel-org-default-header): used to insert a
dummy first line into code blocks before export so that the first
line is not interpreted as a title
(org-babel-org-export): use new dummy code block prefix
2010-09-09 00:38:14 -06:00
Eric Schulte
dd9d42f515
ob-org: evaluates body to latex ascii or html respecting :results header arg
...
* lisp/ob-org.el (org-babel-execute:org): evaluates body to latex
ascii or html respecting :results header arg
(org-babel-org-export): exports a string of text to an output format
2010-09-07 18:51:38 -06:00
Eric Schulte
3d2dbf8604
additional ":results silent" default header argument for org code blocks
...
Thanks to David Hajage for suggesting this fix
* lisp/ob-org.el (org-babel-default-header-args:org): additional
":results silent" default header argument for org code blocks
2010-08-26 17:36:26 -06:00
Eric Schulte
2c33b2eb66
Introducing ob-org and now wrapping ":results org" in org code block
...
ob-org has two non-standard header arguments in that it exports it's
results by default and the result type defaults to raw, this ensures
that the body of a begin_src org block exports transparently.
This is a breaking change in that if you are currently using org
code blocks to export org-fontified code you will have to set the
":exports" header argument for org-mode blocks to "code" on a block,
file, language or system-wide basis.
* Makefile (LISPF): adding ob-org.el to the makefile
* lisp/ob-org.el: defines handling of org code blocks
* lisp/ob.el (org-babel-insert-result): now when "org" is a result
type the results are wrapped in an org code block
2010-08-26 10:01:21 -06:00