Eric Schulte
e0b71bf8e2
babel: wrapping free language variable in result insertion code
...
* lisp/babel/ob.el (org-babel-execute-src-block): now passing
additional optional argument to `org-babel-inert-results'
(org-babel-insert-result): now accepting additional language
variable
2010-06-17 18:15:32 -07:00
Eric Schulte
45841a8a9d
babel: ensure org-babel-interpreters' is defined before
org-babel-add-interpreter'
...
* lisp/babel/ob.el: ensure `org-babel-interpreters' is defined before `org-babel-add-interpreter'
2010-06-17 18:15:32 -07:00
Eric Schulte
6be47552ea
babel: org-babel-comint-with-output' no longer assumes
full-body' variable
...
* lisp/babel/ob-comint.el (org-babel-comint-with-output):
Fixed egregious oversight in which we were assuming that the
`full-body' variable would be in scope at the time of macro
execution. Thanks to the compiler for finding this bug.
* lisp/babel/langs/ob-R.el (org-babel-R-evaluate): now using the fixed
`org-babel-comint-with-output' macro
* lisp/babel/langs/ob-haskell.el (org-babel-execute:haskell): now
using the fixed `org-babel-comint-with-output' macro
* lisp/babel/langs/ob-ocaml.el (org-babel-execute:ocaml): now using
the fixed `org-babel-comint-with-output' macro
* lisp/babel/langs/ob-octave.el (org-babel-octave-evaluate-session):
now using the fixed `org-babel-comint-with-output' macro
* lisp/babel/langs/ob-python.el (org-babel-python-evaluate): now using
the fixed `org-babel-comint-with-output' macro
* lisp/babel/langs/ob-ruby.el (org-babel-ruby-evaluate): now using the
fixed `org-babel-comint-with-output' macro
* lisp/babel/langs/ob-sh.el (org-babel-sh-evaluate): now using the
fixed `org-babel-comint-with-output' macro
2010-06-17 18:15:32 -07:00
Eric Schulte
79ae257d98
updated makefile to compile all babel files
2010-06-17 18:15:32 -07:00
Eric Schulte
8e0faf35de
ensuring the existence of a complete first sentence in the documentation of each babel function
2010-06-17 18:15:32 -07:00
Eric Schulte
0738893160
updating require and provide boilerplate for new ob* files
2010-06-17 18:15:32 -07:00
Eric Schulte
904bdaff9a
ob.el now adds the lisp/langs/ directory to the load path
2010-06-17 18:15:32 -07:00
Eric Schulte
93f6360793
removing contrib/babel/org-babel-install.el -- no longer required
2010-06-17 18:15:32 -07:00
Eric Schulte
96e396ba77
new header for ob.el
2010-06-17 18:15:32 -07:00
Eric Schulte
e0e4d76094
renaming all org-babel* function to ob* to conform with Emacs conventions
2010-06-17 18:15:32 -07:00
Eric Schulte
04152d3a06
moving org-babel into the main org-mode lisp directory
...
we are keeping two things in the contrib directory
1) the library-of-babel.org file, this is with the goal of lowering
the barrier of entry for contribution of functions to the library
of babel
2) we are also keeping a langs directory in the contrib directory
because some language files do not have FSF copyright assignment
-- current org-babel-oz.el is the only such file
2010-06-17 18:15:32 -07:00
Tom Dye
5fa1dcccad
babel-doc: edits
2010-06-17 18:15:31 -07:00
Eric Schulte
97928ae08e
babel-doc: tiny doc tweak
2010-06-17 18:15:31 -07:00
Eric Schulte
3bb8bdb7e5
babel-doc: changed header-argument order
2010-06-17 18:15:31 -07:00
Eric Schulte
bb834903dd
babel-doc: adding no-expand header argument
2010-06-17 18:15:31 -07:00
Eric Schulte
bb6f835d12
babel-doc: tweak
2010-06-17 18:15:31 -07:00
Eric Schulte
16fa9b6c99
babel-doc: adding information on hlines colnames and rownames header args
2010-06-17 18:15:31 -07:00
Eric Schulte
b89ce3712e
babel-doc: host of minor aesthetic changes to babel documentation
...
also stripped out superfluous function documentation.
2010-06-17 18:15:31 -07:00
Eric Schulte
8d2e2caa37
babel-doc: a completed first pass through and it's looking pretty good
2010-06-17 18:15:31 -07:00
Eric Schulte
653694fff7
babel-doc: exhausting formulation of babel documentation into texinfo
2010-06-17 18:15:31 -07:00
Eric Schulte
33cc42ef53
babel-doc: stripped some @code{} wrappers and everything is now compiling
2010-06-17 18:15:30 -07:00
Eric Schulte
2760c8e798
babel-doc: working on Header Arguments -- not quite compiling
2010-06-17 18:15:30 -07:00
Eric Schulte
d7b2397184
pushing through first half or so of babel documentation, compiling
2010-06-17 18:15:30 -07:00
Tom Dye
9e8b6c0831
Changed old C-c M-b prefixes to C-c C-v
2010-06-17 18:15:30 -07:00
Dan Davison
3ac08f1b4e
Edits, mainly to header args section
2010-06-17 18:15:30 -07:00
Dan Davison
f5e8f5e878
Work on initial sections.
2010-06-17 18:15:30 -07:00
Dan Davison
77fd62ec3b
Add entry to main menu
2010-06-17 18:15:30 -07:00
Dan Davison
27dcffe592
Minor edits
2010-06-17 18:15:30 -07:00
Dan Davison
f2b1a0fd7c
Use angle bracket tags to refer to structural elements of code block
2010-06-17 18:15:30 -07:00
Dan Davison
1e5cd51736
Delete separate file for new chapter
2010-06-17 18:15:30 -07:00
Dan Davison
e25035855f
Move new chapter into main org.texi file
...
It is currently impractical to work with it as an @included file,
because the automatic node pointer updates do not work by default.
2010-06-17 18:15:30 -07:00
Dan Davison
10010aa326
Create texinfo node structures for new chapter
2010-06-17 18:15:30 -07:00
Dan Davison
98957ed300
Edits to initial sections
2010-06-17 18:15:29 -07:00
Dan Davison
36767ff4b6
Working on syntax section
2010-06-17 18:15:29 -07:00
Dan Davison
a8616afcac
Add material to introduction of source code chapter
2010-06-17 18:15:29 -07:00
Dan Davison
787e2746a5
Convert level 4 headings to subsubheadings.
...
Also some promotion of some of the most deeply nested headings.
2010-06-17 18:15:29 -07:00
Dan Davison
59193e2e2c
Add an example block that was missed
2010-06-17 18:15:29 -07:00
Dan Davison
50716ee1e7
Convert level 3 headings to @subsubsections
2010-06-17 18:15:29 -07:00
Dan Davison
a465cff872
Wrap verbatim examples in @example ... @end example
...
Note that there are some cases where the #+begin_src itself is part of
the example, and others where only the body of the source block is the
example.
2010-06-17 18:15:29 -07:00
Dan Davison
12e9b0a567
Quote some @ symbols and clean up.
...
make info and make pdf work now.
2010-06-17 18:15:29 -07:00
Dan Davison
df2252b87f
Initialise new source code chapter with reference.org from Worg
...
source-code-chapter.texi is just reference.org with level 1 headings
replaced with @section, and level 2 headings replaced with
@subsection, and with a top level @chapter node. This file is included
in org.texi with an @include line for now.
2010-06-17 18:15:29 -07:00
Christian Egli
d75f20ffc2
Newer Emacsen changed the API of start-process-shell-command and issue
...
a warning if called with more than 3 args.
2010-06-17 17:50:24 -04:00
Eric Schulte
18810580f5
removed 'cl functions from org-exp.el to assuage elisp compiler
2010-06-17 10:27:58 -07:00
Dan Davison
4e4972a558
Merge branch 'master' of git://repo.or.cz/org-mode
2010-06-17 10:09:05 +01:00
Eric Schulte
4096c92e89
babel: don't remove protected items on exported block cleanup
...
* contrib/babel/lisp/org-babel-exp.el (org-exp-res/src-name-cleanup):
don't remove protected items on exported block cleanup
2010-06-16 21:01:13 -07:00
Bastien Guerry
76d212e8fd
Fix an error in documentation of date/time prompt section.
...
Thanks to Puneeth Chaganti <punchagan@gmail.com> for this patch.
2010-06-16 21:34:04 +02:00
Bastien Guerry
47996c02cb
Fix and improve list exporting to latex.
...
* lisp/org-latex.el: items are no longer skipped when their first line
ends on a protected element.
* lisp/org-list.el: protected environments looking like lists are not
exported anymore.
Thanks to Nicolas Goaziou <n.goaziou@gmail.com> for this patch.
2010-06-16 21:26:49 +02:00
Eric Schulte
512ad1e30d
babel: org-babel-R is better about trimming preceding and trailing newlines
...
* contrib/babel/lisp/langs/org-babel-R.el (org-babel-R-evaluate):
trimming preceding and trailing newlines of output results
2010-06-16 10:42:08 -07:00
Eric Schulte
f6e4790099
org-exp-blocks: cleanup trailing newline after block
...
* lisp/org-exp-blocks.el (org-export-blocks-preprocess):
cleanup trailing newline after block
2010-06-16 10:23:39 -07:00
Eric Schulte
d45826943a
babel: cleanup trailing newline after removed #+source and #+results lines
...
* contrib/babel/lisp/org-babel-exp.el (org-exp-res/src-name-cleanup):
cleanup trailing newline after removed #+source and #+results lines
2010-06-16 10:16:22 -07:00