Carsten Dominik
f871fb6fca
Merge branch 'master' of orgmode.org:org-mode
2013-10-01 20:20:04 +02:00
Carsten Dominik
08d9c1b42c
Fix two regular expressions
...
* lisp/org.el (org-property-drawer-re): Make less greedy to avoid
overreaching matches.
(org-clock-drawer-re): Make less greedy to avoid
overreaching matches.
2013-10-01 20:19:42 +02:00
Eric Schulte
01467ae083
remove leading newline when removing a result
...
This fixes a number of new test failures
* lisp/ob-core.el (org-babel-remove-result): Remove leading newline
when removing a result.
2013-10-01 06:25:31 -06:00
Eric Schulte
2c5251f0da
added Makefile targets to check single tests
...
e.g., to run a single test without re-compiling Org-mode use the
following.
make single-test-dirty TEST=test-ob/org-babel-remove-result--results-code
This should aid in isolating errors with git bisect.
2013-10-01 06:19:26 -06:00
Vladimir Lomov
11498bf86f
remove dangling 'padline' variable
...
And seems that you miss another 'padline' in function
'org-babel-spec-to-string', line 323. I attached small patch which
removes that line so I can tangle Org document with shell scripts.
* lisp/ob-tangle.el (org-babel-spec-to-string): Remove dangling
'padline' variable.
TINYPATCH
2013-10-01 06:00:44 -06:00
Carsten Dominik
e0dd999a7b
Manual: Improvements to summary by Thomas Dye
2013-10-01 05:28:27 +02:00
Carsten Dominik
31d1f2b69d
Merge branch 'maint'
2013-09-30 11:02:57 +02:00
Carsten Dominik
3868f45c16
Fix typos
2013-09-30 11:01:29 +02:00
Carsten Dominik
d0c797aa5a
Fix typos
2013-09-30 10:56:33 +02:00
Carsten Dominik
8e5932acc8
Manual and guide: more small changes
2013-09-30 09:16:18 +02:00
Carsten Dominik
4f77594dca
Add --expand option to texi2pdf
...
This improves macro expansion, because TeX does cause problems with
whitespace when a macro expansion inserts an item.
2013-09-30 08:36:16 +02:00
Carsten Dominik
a68f44f08e
Manual: small fixes
2013-09-30 08:03:38 +02:00
Carsten Dominik
95784bef22
Manual: Improve activation section
2013-09-30 07:01:33 +02:00
Carsten Dominik
fbd604d7f5
Merge branch 'master' of orgmode.org:org-mode
2013-09-29 22:21:07 +02:00
Carsten Dominik
afeff01f77
Manual: Shorten Introduction
...
* doc/org.texi: Remove one useless piece from the introduction. Modify
a paragraph about key bidings.
2013-09-29 22:20:46 +02:00
Eric Schulte
c076b41c9e
better directory handling for lisp code blocks
...
* lisp/ob-lisp.el (org-babel-execute:lisp): Removed an if in which the
else branch was never taken.
2013-09-29 13:43:59 -06:00
Eric Schulte
5b397e8917
fix output handling of lisp blocks
...
previously we were conflating results/output with scalar/vector
* lisp/ob-lisp.el (org-babel-execute:lisp): Fix output handling of
lisp blocks.
2013-09-29 13:42:37 -06:00
Carsten Dominik
817cbca767
Allow regexp separator when converting the region to a table
...
* lisp/org-table.el (org-table-convert-region): Interpret string SEPARATOR
as regular expression. Triple `C-u' prefix arg will read a regexp
from the user.
* doc/org.texi: Document that `C-c |' can take a regexp as a separator.
Patch modified from a proposal by Francois.
2013-09-29 12:27:09 +02:00
Nicolas Goaziou
f485539d63
Merge branch 'maint'
2013-09-29 10:30:50 +02:00
Nicolas Goaziou
d745cd1952
ox-beamer: Add a helpful error message
...
* lisp/ox-beamer.el (org-beamer--format-block): Return an error
message when using a special environment as a block type. Also
check for incomplete environment definitions.
2013-09-29 10:28:15 +02:00
Carsten Dominik
cd5cccd6e9
Manual: Say something about the roots of or in the Introduction
2013-09-28 23:13:12 +02:00
Carsten Dominik
8ead22e095
Merge branch 'guide-maintenance'
2013-09-28 19:55:27 +02:00
Carsten Dominik
5e8abde993
Merge branch 'master' of orgmode.org:org-mode
2013-09-28 19:55:15 +02:00
Carsten Dominik
95ca17550e
Manual: Add short contents
2013-09-28 19:54:44 +02:00
Carsten Dominik
85cf5a7a82
More changes to the introduction
2013-09-28 19:46:32 +02:00
Carsten Dominik
c920019bc0
Manual: Some trivial reformatting
...
* doc/org.texi: Trivial reformatting
2013-09-28 18:30:06 +02:00
Carsten Dominik
10c80f94fa
Manual: Add babel header arguments to the concept index
2013-09-28 18:30:06 +02:00
Carsten Dominik
d8f1643c51
Remove some subsection of ODT documentation from the table of contents
...
The documentation stays, but not all subsubheadings make it into the
table of contents.
2013-09-28 18:30:06 +02:00
Carsten Dominik
0c6f044c37
Manual: Modernize introduction
...
doc/org.texi (Introduction): Modernize.
2013-09-28 18:30:06 +02:00
Carsten Dominik
936ef91869
Remove unnecessary node comments
2013-09-28 18:30:06 +02:00
Carsten Dominik
3ddb2a1312
Manual: Standardize capitalisation of node names
2013-09-28 18:30:06 +02:00
Carsten Dominik
1dc68b9723
Manual: Rely on automatic node structure
...
This patch removes the manual setting of next, previous, and top links
and instead relies on info making this connection from the sectioning
structure. This makes it easier to change node names.
2013-09-28 18:30:05 +02:00
Carsten Dominik
3ffab650e0
Fix order of contributors to manual
...
* doc/org.texi: Fix order of contributors to manual.
2013-09-28 18:30:05 +02:00
Eric Schulte
6857d139e1
set default emacs-lisp header args to nil
...
The difference between elisp and every other language was causing
confusion, so simpler just to set these to nil.
* lisp/ob-emacs-lisp.el (org-babel-default-header-args:emacs-lisp):
Set to nil.
2013-09-28 06:37:54 -06:00
Eric Schulte
ae21350aaa
:padline insertion aware of placement in file
...
* lisp/ob-tangle.el (org-babel-spec-to-string): Remove padline
handling from here as there is insufficient information on context.
(org-babel-tangle): Moved padline handling here where we can test
for placement in the file.
2013-09-28 06:15:42 -06:00
Eric Schulte
6f90d903e6
Revert "don't insert a padline at the top of the file"
...
This reverts commit 6215960d99
.
2013-09-28 06:11:36 -06:00
Michael Albinus
89f10a11fb
* ob-core.el (org-babel-local-file-name): Simplify. (org-babel-process-file-name): Apply `expand-file-name' first. (org-babel-remote-temporary-directory): New defcustom. (org-babel-temp-file): Use it.
2013-09-28 05:37:45 -06:00
Nicolas Goaziou
82837535df
ox-publish: Update a docstring
...
* lisp/ox-publish.el (org-publish-project-alist): Update docstring wrt
recent Property drawers changes.
2013-09-27 10:16:46 +02:00
Bastien Guerry
33adedda0b
Merge branch 'master' of orgmode.org:org-mode
2013-09-26 18:21:51 +02:00
Bastien Guerry
136c2bc2cb
contrib/lisp/ox-rss.el (org-rss-publish-to-rss): Create id when publishing
...
* contrib/lisp/ox-rss.el (org-rss-publish-to-rss): Create id
when publishing.
2013-09-26 18:21:37 +02:00
Nicolas Goaziou
fe0e5cf309
org.texi: Update Drawers section
2013-09-26 17:25:31 +02:00
Nicolas Goaziou
28e33598e4
ox: Propagate property drawer changes to back-ends in contrib/
...
* contrib/lisp/ox-confluence.el (org-confluence-property-drawer): New
function.
* contrib/lisp/ox-groff.el (org-groff-node-property,
org-groff-property-drawer): New functions.
2013-09-26 16:50:10 +02:00
Bastien Guerry
aebacdac7e
contrib/lisp/ox-rss.el (org-rss-headline): Add the <author> sub-element
...
* contrib/lisp/ox-rss.el (org-rss-headline): Add the <author> sub-element.
2013-09-26 16:47:16 +02:00
Carsten Dominik
ec28c33062
Fix file bug in ox-freemind.el
...
* contrib/lisp/ox-freemind.el (org-freemind-export-to-freemind):
Remove spurious comma.
2013-09-26 14:13:10 +02:00
Nicolas Goaziou
e09ffe2a67
ox: Add a defcustom to export properties drawers
...
* lisp/ox.el (org-export-with-drawers): Improve docstring.
(org-export-with-properties): New variable
(org-export--skip-p): Handle new variable.
(org-export-options-alist): Install new variable.
* lisp/ox-ascii.el (org-ascii-node-property,
org-ascii-property-drawer): New functions.
* lisp/ox-html.el (org-html-node-property): New function.
(org-html-property-drawer): Export property drawers as "pre" blocks.
* lisp/ox-latex.el (org-latex-property-drawer,
org-latex-node-property): New functions.
* lisp/ox-man.el (org-man-node-property, org-man-property-drawer): New
functions.
* lisp/ox-md.el (org-md-node-property, org-md-property-drawer): New
functions.
* lisp/ox-odt.el (org-odt-node-property): New function.
(org-odt-property-drawer): Export property drawers as fixed width
blocks.
* lisp/ox-texinfo.el (org-texinfo-node-property): New function.
(org-texinfo-property-drawer): Export property drawers as verbatim
blocks.
* doc/org.texi: Update manual.
* testing/lisp/test-ox.el: Add tests.
2013-09-26 13:46:31 +02:00
Nicolas Goaziou
9e7231cd27
ox-md: Do not define `org-md-publish-to-md' twice
...
* lisp/ox-md.el (ox-md-publish-to-md): Do not define function twice.
2013-09-25 20:58:38 +02:00
Eric Schulte
67b80455cf
don't add "set datafile missing..." with :missing
...
* lisp/ob-gnuplot.el (org-babel-expand-body:gnuplot): Don't add "set
datafile missing..." with :missing, instead this header argument now
only changes the value of the *org-babel-gnuplot-missing* variable.
2013-09-25 12:21:52 -06:00
Nicolas Goaziou
7cf4406088
ox: Ignore text before first headline with an :export: tag
...
* lisp/ox.el (org-export--populate-ignore-list): Ignore text before
first headline if an :export: tag (or a select tag) is found within
the buffer.
* testing/lisp/test-ox.el: Add tests.
2013-09-25 18:49:39 +02:00
William Waites
f688b6cc63
improve handling of output file types
2013-09-25 09:12:42 -06:00
William Waites
7e35a32524
Initial version of ABC notation handling for Babel
2013-09-25 09:12:38 -06:00