Bastien Guerry
736bc7b904
org.el (org-overview): Don't call `recenter'
...
* org.el (org-overview): Don't call `recenter'.
Thanks to Nicolas Richard for suggesting this.
2014-05-15 11:11:43 +02:00
Nicolas Goaziou
089a13b2f3
Merge branch 'maint'
2014-05-12 22:21:33 +02:00
Nicolas Goaziou
e242bc5180
ox: Fix Wrong type argument error with empty footnotes
...
* lisp/ox.el (org-export-data): Always return a string, as specified
by the docstring.
Thanks to kuanyui for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86183
2014-05-12 22:18:00 +02:00
Aaron Ecay
08e2596718
ob-core.el: allow the auto-generation of output file names for src blocks.
...
* lisp/ob-core.el (org-babel-generate-file-param): New function.
(org-babel-get-src-block-info): Use it.
(org-babel-merge-params): Handle :file-ext.
(org-babel-graphical-output-file): error if no :file or :file-ext.
* testing/lisp/test-ob.el (test-org-babel/file-ext-and-output-dir):
New test.
* doc/org.texi (Specific header arguments): Add doc for :file-ext and
:output-dir header args.
* lisp/ob-R.el (org-babel-expand-body:R): Don’t calculate
graphics-file.
(org-babel-execute:R): Only look for a graphics-file if needed.
2014-05-11 16:33:22 -04:00
Grégoire Jadi
7c8559e339
contrib/lisp/org-annotate-file.el: Create a customization group and convert defvar' customization variables to
defcustom'
...
* contrib/lisp/org-annotate-file.el (org-annotate-file): New customization
group.
(org-annotate-file-storage-file org-annotate-file-add-search
org-annotate-file-always-open): Convert `defvar' symbols to `defcustom' using the new group.
2014-05-09 22:22:10 +09:00
Bastien Guerry
a6bc294c6e
lisp/ob-lilypond.el: Mention epstopdf as a dependency
...
Thanks to Thomas Morgan for suggesting this.
2014-05-09 14:54:33 +02:00
Bastien Guerry
87419d87df
Merge branch 'maint'
2014-05-09 14:40:58 +02:00
Eric Abrahamsen
aaae4a55ca
Update org-mime to current export functions
...
* /contrib/lisp/org-mime.el (org-mime-send-buffer):
This function was using `org-export-grab-title-from-buffer', which no
longer exists.
2014-05-09 14:40:48 +02:00
Nick Dokos
6914619f57
Make superscripts produce a ^ in the output, instead of _
...
* ox-ascii.el (org-ascii-superscript): Change _ to ^ in the output.
Reported by Suvayu Ali: http://thread.gmane.org/gmane.emacs.orgmode/86014
2014-05-09 07:52:45 -04:00
Nick Dokos
a993e2d5e8
Make superscripts produce a ^ in the output, instead of _
...
* ox-ascii.el (org-ascii-superscript): Change _ to ^ in the output.
Reported by Suvayu Ali: http://thread.gmane.org/gmane.emacs.orgmode/86014
2014-05-08 23:47:14 -04:00
Eric Schulte
ef6f2465bd
ob-screen, use unpredictable temp file name
...
* lisp/ob-screen.el (org-babel-screen-test): Use unpredictable name
for temporary file.
2014-05-08 12:19:30 -06:00
Eric Schulte
937d90364c
don't use predictable temp files in ob-screen
...
* lisp/ob-screen.el (org-babel-screen-session-write-temp-file):
Unpredictable temp file name, fixes bug 17416.
2014-05-08 12:19:27 -06:00
Eric Schulte
e599e8cd51
ob-screen, use unpredictable temp file name
...
* lisp/ob-screen.el (org-babel-screen-test): Use unpredictable name
for temporary file.
2014-05-08 12:17:30 -06:00
Nicolas Goaziou
7515066d94
Rewrite org-indent-drawer' and
org-indent-block'
...
* lisp/org.el (org-indent-block, org-indent-drawer): Rewrite functions.
2014-05-07 17:39:52 +02:00
Nicolas Goaziou
fe129fb352
Rewrite `org-indent-region'
...
* lisp/org.el (org-indent-region): Update function according to recent
`org-indent-line' change. Optimize it.
* testing/lisp/test-org.el (test-org/indent-region): New test.
2014-05-07 17:39:52 +02:00
Nicolas Goaziou
51ffcd02dd
Rewrite `org-indent-line'
...
* lisp/org.el (org--get-expected-indentation,
org--align-node-property): New functions.
(org-indent-line): Use new function. Also merge functionalities with
`org-src-native-tab-command-maybe'.
* lisp/org-src.el (org-src-native-tab-command-maybe): Remove function.
* testing/lisp/test-org.el (test-org/indent-line): New test.
2014-05-07 17:39:52 +02:00
Eric Schulte
fea672d30e
don't use predictable temp files in ob-screen
...
* lisp/ob-screen.el (org-babel-screen-session-write-temp-file):
Unpredictable temp file name, fixes bug 17416.
2014-05-07 05:35:29 -04:00
Richard Kim
c80509a5df
org.texi: Fix whitespaces
...
TINYCHANGE
2014-05-06 11:57:02 +02:00
Kyle Meyer
d3f210676c
org-find-exact-heading-in-directory: Use full path
...
* lisp/org.el (org-find-exact-heading-in-directory): Use full path for
files.
When the path is not included, `org-find-exact-heading-in-directory'
will fail when the current value of `default-directory' is different
from the argument DIR.
TINYCHANGE
2014-05-06 11:31:18 +02:00
Nicolas Goaziou
5bece6f014
ox-html: Fix link handling
...
* lisp/ox-html.el (org-html-link): Use `org-link-escape-browser'.
Thanks to Michael Brand for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/85789
2014-05-04 21:41:43 +02:00
David Arroyo Menendez
582ed1b569
org-effectiveness.el (org-effectiveness-plot-html, org-effectiveness-html-bar): creation
...
* org-effectiveness.el (org-effectiveness-plot-html, org-effectiveness-html-bar): creation
2014-05-04 16:29:34 +02:00
Achim Gratz
e8e8f6738a
Merge branch 'maint'
2014-05-03 10:15:42 +02:00
Achim Gratz
063c8b03b7
ob-tangle: do not run make-directory with nil argument
...
* lisp/ob-tangle.el (org-babel-tangle): When `file-name-directory'
returns nil, do not run make-directory. Remove superfluous when
clauses by using short-circuiting `and' instead.
Thanks to R. Michael Weylandt for reporting the problem and offering a
patch.
http://permalink.gmane.org/gmane.emacs.orgmode/85749
http://permalink.gmane.org/gmane.emacs.orgmode/85774
2014-05-03 10:12:10 +02:00
Bastien Guerry
9efbfb34cb
org-agenda.el (org-agenda-error): Use `user-error'
...
* org-agenda.el (org-agenda-error): Use `user-error'.
2014-05-02 15:31:55 +02:00
Bastien Guerry
a52fcbf988
org-agenda.el: Fix some type strings
...
* org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
(org-agenda-max-effort): Fix type strings.
2014-05-02 15:30:46 +02:00
Bastien Guerry
60502a0217
Merge branch 'maint'
2014-04-30 10:44:20 +02:00
Bastien Guerry
0ca4092d72
Fix commit fdb4b54e
2014-04-30 10:43:40 +02:00
Nicolas Goaziou
3034f2895a
ox: Fix bug when expanding include keywords
...
* lisp/ox.el (org-export--prepare-file-contents): Do not find
footnotes in non-Org files.
Thanks to Kyle Meyer for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/85677
2014-04-30 09:31:18 +02:00
Bastien Guerry
51893a4e3d
Merge branch 'maint'
2014-04-29 13:46:49 +02:00
Bastien Guerry
b0f862dfa9
doc/texinfo.tex: Update to stable version 5.2
2014-04-29 13:46:21 +02:00
Bastien Guerry
a44cd724c3
Merge branch 'master' of orgmode.org:org-mode
2014-04-29 13:08:33 +02:00
Bastien Guerry
20b70a1716
Merge branch 'maint'
2014-04-29 13:08:23 +02:00
Bastien Guerry
e6918b0bb2
Merge branch 'maint' of orgmode.org:org-mode into maint
2014-04-29 13:08:10 +02:00
Bastien Guerry
3104f7de7b
org-capture.el (org-capture-fill-template): Fix bug
...
* org-capture.el (org-capture-fill-template): Deactivate
region while trying to align tags on the current headline.
Thanks to Alex Kosorukoff for reporting this.
2014-04-29 13:05:04 +02:00
Nicolas Goaziou
ec0eab7fc9
Merge branch 'maint'
2014-04-29 11:37:39 +02:00
Eric Abrahamsen
ea50ad41be
Fix BBDB link completion
...
lisp/org-bbdb.el (org-bbdb-complete-link): Fix link completion with
newer versions of BBDB.
Newer versions of BBDB seem to be returning atomic values from
`bbdb-completing-read-record', we should be prepared for both atoms
and lists.
2014-04-29 11:36:16 +02:00
Nicolas Goaziou
86a129c597
Fix `org-flag-drawer'
...
* lisp/org.el (org-flag-drawer): Do not flag drawer when point is on
an empty line after it. When hiding the drawer away, make sure
point always stays in a visible part of the buffer.
* testing/lisp/test-org.el (test-org/flag-drawer): Add tests.
2014-04-28 19:41:08 +02:00
Nicolas Goaziou
20e701e1df
Merge branch 'maint'
2014-04-28 16:51:59 +02:00
Nicolas Goaziou
ae8fd7a139
ox-ascii: Tiny fix
...
* lisp/ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
stack overflow in regexp matcher on very long lines.
2014-04-28 16:50:53 +02:00
Marc-Oliver Ihm
233c11df42
Fix for assistant to create index; fix for occur-command
2014-04-26 22:48:09 +02:00
David Arroyo Menendez
cacef8fefb
org-license.el (org-license-cc-by, org-license-cc-by-nd): Fix some urls.
...
* (org-license-cc-by, org-license-cc-by-nd): fix some urls.
2014-04-26 19:07:15 +02:00
Eric Schulte
323e05ad28
allow specification of python command w/header arg
...
Using the :python header arg.
* lisp/ob-python.el (org-babel-execute:python): Locally set
`org-babel-python-command' using a header argument.
2014-04-25 12:04:04 -06:00
Bastien Guerry
c6d698a5ec
Merge branch 'maint'
2014-04-25 09:28:43 +02:00
Bastien Guerry
fc37d1020a
Fix bug introduced in commit fdb4b54e
...
Thanks to Leonard Randall for reporting it.
2014-04-25 09:27:12 +02:00
Nicolas Goaziou
36b497720d
Merge branch 'maint'
...
Conflicts:
lisp/org-element.el
2014-04-23 22:04:20 +02:00
Nicolas Goaziou
94ae862515
org-element: Fix docstring
...
* lisp/org-element.el (org-element-timestamp-parser): Fix docstring.
2014-04-23 22:02:10 +02:00
Nicolas Goaziou
4c40dc65d0
Merge branch 'maint'
2014-04-23 21:55:38 +02:00
Nicolas Goaziou
c3e19caa1a
ox-icalendar: Tiny fixes
...
* lisp/ox-icalendar.el (org-icalendar-include-sexps,
org-icalendar-blocked-headline-p): Fix docstrings.
(org-icalendar-clear-blank-lines): Fix docstring and regexp.
2014-04-23 21:53:58 +02:00
Nicolas Goaziou
f05bdc2d39
Merge branch 'maint'
2014-04-23 21:49:47 +02:00
Achim Gratz
967cbf8ea1
Fix commit 935b69e065
...
* lisp/ob-maxima.el (org-babel-execute:maxima): Correct a stray
occurence of setting `org-babel-maxima-graphical-output-file´ to
`org-babel-graphical-output-file´.
2014-04-23 21:38:43 +02:00