Dan Davison
837e898936
babel: Fall back to generic expand function during tangling
2010-04-27 15:02:55 -04:00
Eric Schulte
bc0a6c624d
babel: adding :no-expand option to code blocks to inhibit body expansion
2010-04-24 09:08:27 -06:00
Eric Schulte
2fe12b99f4
babel: adding new function `org-babel-expand-src-block'
...
org-babel-expand-body:lang function needs to be implemented by every
language, and is used to expand the body of a code block for
execution or tangling
2010-04-23 10:09:57 -06:00
Eric Schulte
70ba21e699
babel: new function `org-babel-tangle-publish' allows for tangling during project publish
2010-04-11 23:58:44 -06:00
Dan Davison
0f83b2d203
babel: allow disabling of noweb expansion during tangling
2010-04-08 16:14:28 -04:00
Dan Davison
e32c066874
babel: check that language major-mode is available during tangling
2010-03-30 10:20:10 -04:00
Dan Davison
aa0e4b86ce
babel: Fix org-babel-load-file
...
This was broken by 29a2ab0047
2010-03-18 14:30:54 -04:00
Dan Davison
73d8e57685
babel: Allow tramp syntax when supplying :tangle filename
...
Patch by Rémi Vanicat.
2010-03-17 21:03:21 -04:00
Dan Davison
29a2ab0047
babel: when tangling do not add extension if filename supplied
2010-03-17 20:09:06 -04:00
Eric Schulte
2829f77e2b
babel: org-babel-load-file no longer fails when `file-truename' returns nil
2010-02-08 13:17:06 -07:00
Eric Schulte
b59ebe6ec2
babel: org-babel-load-file will no longer strip portions of file names which appear to be extensions
2010-02-07 11:42:55 -07:00
Eric Schulte
3ce4962447
babel: added :shebang and :comments header arguments for finer control over tangled output
2010-02-05 19:04:50 -07:00
Eric Schulte
131441dbd2
babel: load-file works for symlinks -- Thanks to Martin Kühl
2010-02-04 09:43:11 -07:00
Dan Davison
21849af58b
babel: can now tangle files without extensions
2010-01-28 09:58:52 -07:00
Eric Schulte
5b749d2fe9
org-babel: fixing documentation of `org-babel-tangle-langs'
2009-11-20 10:43:15 -07:00
Dan Davison
bf3281692f
org-babel-tangle: Save buffer at outset.
2009-11-09 09:32:05 -07:00
Eric Schulte
260007e61f
org-babel-tangle: now careful to only add one shebang per file
2009-11-04 15:18:50 -07:00
Eric Schulte
cd405fad22
org-babel-tangle: now conservative about whitespace insertion around tangled blocks
2009-11-04 15:14:45 -07:00
Dan Davison
72691f1ff7
org-babel: Single function to return all source block info.
...
- org-babel-get-src-block-info returns the name of the block as a new
fifth element.
- org-babel-get-src-block-info incorporates the parenthesised variable
references into the header arg list, with precendence given to
explicit :var references, as before.
- remove function org-babel-get-src-block-name
- remove function org-babel-get-src-block-function-args
org-babel-get-src-block-function-args now returns a list
(lang body params-alist switches srcname)
where, unless a non-nil value for the optional argument is passed,
params-alist contains any :var entries acquired from the parenthesised
argument list following the srcname.
2009-11-01 10:05:42 -05:00
Dan Davison
c6fb5d94d0
org-babel: update authorship records
2009-11-01 10:05:41 -05:00
Dan Davison
c168c6ccaa
org-babel: improve prompt when choosing file to tangle
2009-10-20 10:17:42 -04:00
Dan Davison
5219f4a410
org-babel: make org-babel-tangle-file interactive
2009-10-19 21:45:15 -04:00
Eric Schulte
4d374b27d2
org-babel: :noweb header argument now expands noweb references before source-block evaluation
2009-10-19 12:12:19 -06:00
Eric Schulte
c0554c7753
merging with the org-babel repository
2009-09-11 13:44:05 -06:00