Nicolas Goaziou
a3c366eb98
org-colview: Fix time sum when mixing duration and H:MM:SS time
...
* lisp/org-colview.el (org-columns--time-to-seconds): Recognize
a duration even when it contains a H:MM:SS part.
* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
Add test.
Reported-by: Björn Döring <bjoern@doering.io>
<http://permalink.gmane.org/gmane.emacs.orgmode/110144 >
2016-11-11 12:02:34 +01:00
Nicolas Goaziou
9a10da6acc
Merge branch 'maint'
2016-11-11 10:18:36 +01:00
Nicolas Goaziou
c93a17dd8a
ox: Fix subtree export when starting with meta-data
...
* lisp/ox.el (org-export-as): Skip planning info and first property
drawer when exporting a subtree.
* testing/lisp/test-ox.el (test-org-export/export-scope): Add test.
2016-11-11 10:17:15 +01:00
Nicolas Goaziou
07ce47693e
Merge branch 'maint'
2016-11-11 01:11:17 +01:00
Nicolas Goaziou
efcaff3688
org-agenda: Treat fake planning info as regular time-stamp
...
* lisp/org-agenda.el (org-agenda-get-timestamps): Treat fake planning
info as regular time-stamp.
Reported-by: Alan Tyree <alantyree@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/110197 >
2016-11-11 01:08:53 +01:00
Nicolas Goaziou
147cada506
Merge branch 'maint'
2016-11-11 00:48:30 +01:00
Nicolas Goaziou
c6f9aeb06e
ox-publish: Fix too many opened buffer upon publishing
...
* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Create
a new buffer for Org files only.
Reported-by: Éric Würbel <eric.wurbel@univ-amu.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/110190 >
2016-11-11 00:45:21 +01:00
Nicolas Goaziou
c535f54330
Merge branch 'maint'
2016-11-10 16:05:33 +01:00
Nicolas Goaziou
dd2a0d3361
org.texi: More pregnant DEADLINE position in entries
...
* doc/org.texi (Deadlines and scheduling): Insist on the location for
planning keywords.
(Inserting deadline/schedule): No need to specify the functions add
planning keywords at an appropriate location.
2016-11-10 16:02:46 +01:00
Nicolas Goaziou
c0b37e1883
Merge branch 'maint'
2016-11-10 00:27:21 +01:00
Nicolas Goaziou
9f98979ff0
org-element: Prevent parsing meta-data after blank lines
...
* lisp/org-element.el (org-element--current-element): Check that
planning info and property drawers are correctly located before
parsing them.
* testing/lisp/test-org-element.el (test-org-element/planning-parser):
(test-org-element/property-drawer-parser): Add tests.
2016-11-10 00:25:34 +01:00
Nicolas Goaziou
1dc6c4bc9c
org-element: Fix inlinetask parsing
...
* lisp/org-element.el (org-element-headline-parser): Small refactoring.
(org-element-inlinetask-parser): Add missing :pre-blank property. Small
refactoring. Also fix regexp for task end.
* testing/lisp/test-org-element.el (test-org-element/inlinetask-parser):
Add test.
2016-11-09 23:30:39 +01:00
Nicolas Goaziou
52387021dc
Merge branch 'maint'
2016-11-09 18:43:36 +01:00
Nicolas Goaziou
1f87273fd2
ox-latex: Fix temporary files removal when compiling files
...
* lisp/ox-latex.el (org-latex-compile): Assume temporary files are
located in the output directory.
This partly reverts 120f8c0
.
2016-11-09 18:42:29 +01:00
Nicolas Goaziou
c9e0a52a99
Merge branch 'maint'
2016-11-08 18:25:08 +01:00
Nicolas Goaziou
ae68bc516d
ox-latex: Fix texi2dvi command
...
* lisp/ox-latex.el (org-latex-pdf-process): Handle cases where tex file
is not located in default-directory.
2016-11-08 18:24:13 +01:00
Nicolas Goaziou
3fbc867d1a
Merge branch 'maint'
2016-11-08 17:53:48 +01:00
Nicolas Goaziou
004bd64948
Fix docstring
...
* lisp/org.el (org-compile-file): Fix docstring.
2016-11-08 17:53:22 +01:00
Nicolas Goaziou
09e25bd16d
Merge branch 'maint'
2016-11-08 13:41:30 +01:00
Nicolas Goaziou
a135f746a1
ox-latex: Fix latexmk command
...
* lisp/ox-latex.el (org-latex-pdf-process): Fix latexmk command.
2016-11-08 13:40:36 +01:00
Nicolas Goaziou
398ec42685
Merge branch 'maint'
2016-11-08 11:48:35 +01:00
Nicolas Goaziou
120f8c09f4
Fix file compilation in a different directory than current one
...
* lisp/org.el (org-compile-file): Do not set default directory.
(org-preview-latex-process-alist): Update since base-name may no be
located in current directory.
* lisp/ox-latex.el (org-latex-compile): Remove auxiliary files in
default directory instead of ".tex" file directory.
Reported-by: Alex Fenton <alex.fenton@pressure.to>
<http://permalink.gmane.org/gmane.emacs.orgmode/110078 >
2016-11-08 11:44:28 +01:00
Nicolas Goaziou
8dc2d77678
Merge branch 'maint'
2016-11-07 01:16:29 +01:00
Nicolas Goaziou
13dbea95af
Fix documentation
...
* doc/org.texi (Installation):
(Feedback):
(Handling links):
(Setting tags):
(Matching tags and properties):
(Storing searches):
(The very busy C-c C-c key):
(org-crypt):
(Adding hyperlink types):
* lisp/org-agenda.el (org-agenda-todo-ignore-deadlines):
(org-agenda-show-inherited-tags):
(org-agenda-week-view):
(org-agenda-fortnight-view):
(org-agenda-month-view):
(org-agenda-year-view):
* lisp/org-archive.el (org-archive-to-archive-sibling):
* lisp/org-capture.el (org-capture-templates):
* lisp/org-table.el:
* lisp/org.el (org-startup-folded):
(org-tag-alist):
(org-match-sparse-tree): Provide more accurate documentation.
Reported-by: Jorge Morais Neto <jorge13515@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/110080 >
2016-11-07 01:14:04 +01:00
Nicolas Goaziou
2c0d8774b4
ox-latex: Allow horizontal rules in table math mode
...
* lisp/ox-latex.el (org-latex--math-table): Handle horizontal rules.
* doc/org.texi (Tables in @LaTeX{} export): Update documentation.
2016-11-06 23:31:54 +01:00
Nicolas Goaziou
a236f7d44f
Merge branch 'maint'
2016-11-06 23:26:15 +01:00
Nicolas Goaziou
975260cb25
ox-latex: Add column groups back in table math mode
...
* lisp/ox-latex.el (org-latex--math-table): Preserve column groups.
Reported-by: Stefanos Carlström <stefanos.carlstrom@fysik.lth.se>
<http://permalink.gmane.org/gmane.emacs.orgmode/110086 >
2016-11-06 23:25:06 +01:00
Nicolas Goaziou
8826f2e36d
Merge branch 'maint'
2016-11-06 13:31:33 +01:00
Nicolas Goaziou
fda64f1ae2
org-clock: Fix `org-clock-load'
...
* lisp/org-clock.el (org-clock-load): New variable.
(org-clock-save):
(org-clock-stored-resume-clock): Use new variable. Small refactoring.
Reported-by: Daniel Borchmann <daniel.borchmann@tu-dresden.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/110077 >
2016-11-06 13:30:05 +01:00
Nicolas Goaziou
bff65547ff
Merge branch 'maint'
2016-11-06 11:30:55 +01:00
Nicolas Goaziou
58683d2cf4
ox-publish: Improve docstrings
...
* lisp/ox-publish.el (org-publish-cache-get): Improve docstrings.
2016-11-06 11:30:23 +01:00
Nicolas Goaziou
88a3c2483e
org-capture: Improve error handling for file locations
...
* lisp/org-capture.el (org-capture-expand-file): Return an error on
invalid locations.
(org-capture-target-buffer): Remove useless checks.
2016-11-06 11:20:25 +01:00
Nicolas Goaziou
6b168ab034
Merge branch 'maint'
2016-11-06 11:13:34 +01:00
Nicolas Goaziou
dc3c69918f
org-capture: Remove error checking in capture template
...
* lisp/org-capture.el (org-capture-expand-file): Remove error checking
in capture template introduced in
b89dfaa904
for now.
2016-11-06 11:10:23 +01:00
Nicolas Goaziou
958eacdf22
org-capture: Small refactoring
...
* lisp/org-capture.el (org-capture-set-target-location): Refactor using
pattern-matching for clarity.
2016-11-06 09:29:09 +01:00
Nicolas Goaziou
bd061b91f3
Merge branch 'maint'
2016-11-06 08:59:47 +01:00
Nicolas Goaziou
b89dfaa904
org-capture: Fix file+olp target with a relative file name
...
* lisp/org-capture.el (org-capture-expand-file): Expand relative file
names from `org-directory'
(org-capture-target-buffer): Apply change above.
Reported-by: Allen Li <darkfeline@felesatra.moe>
<http://permalink.gmane.org/gmane.emacs.orgmode/110075 >
2016-11-06 08:56:22 +01:00
Nicolas Goaziou
f5645675a3
Disallow S-exp in capture templates
...
* lisp/org-capture.el (org-capture-expand-file): Disallow S-exp.
(org-capture-templates):
* doc/org.texi (Template elements): Update documentation.
A function is equivalent to using S-exp, without tainting code with an
yet another call to `eval'.
2016-11-04 17:41:27 +01:00
Nicolas Goaziou
c81f9fff3b
Revert "org-capture: Remove forbidden value type from "file" templates"
...
This reverts commit 5485170263
.
2016-11-04 17:30:12 +01:00
Renato Ferreira
1d0a27e227
Fix "Invalid face attribute/reference" errors
...
* lisp/org-agenda.el (org-agenda-fontify-priorities): Generate
correct :inherit face property.
2016-11-04 16:42:00 +01:00
Nicolas Goaziou
4c4e843319
ob-core: Fix typos in messages
...
* lisp/ob-core.el (org-babel-check-evaluate):
(org-babel-confirm-evaluate): Fix typos.
2016-11-04 08:34:57 +01:00
Nicolas Goaziou
80befa1983
ox-publish: Fix typo
...
* lisp/ox-publish.el (org-publish-cache-get-file-property): Fix typo.
2016-11-03 12:48:40 +01:00
Nicolas Goaziou
0d97a96c62
ob-core: Fix typo
...
* lisp/ob-core.el (org-babel--get-vars): Fix typo.
2016-11-03 12:45:30 +01:00
Nicolas Goaziou
c61ee8b82a
ox-publish: Fix unwanted buffer pop-up
...
* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Use
`find-file-noselect' instead of `find-file'.
2016-11-02 09:28:24 +01:00
Nicolas Goaziou
1dc78402dc
ox-publish: Fix typo in docstring
...
* lisp/ox-publish.el (org-publish-cache-get-file-property): Fix typo.
2016-11-02 09:16:35 +01:00
Bastien
e010215e82
lisp/ob-lua.el: Small indentation fix
...
* lisp/ob-lua.el (org-babel-lua-evaluate)
(org-babel-lua-evaluate-external-process): Fix indentation.
2016-11-01 21:39:11 +01:00
Bastien
e8fe974ab8
etc/ORG-NEWS: more formatting minor enhancements
2016-11-01 21:38:19 +01:00
Bastien
877f35800e
etc/ORG-NEWS: Small formatting enhancements.
2016-11-01 11:38:08 +01:00
Nicolas Goaziou
58dbdb25a1
Fix repeated tasks in certain languages
...
* lisp/org.el (org-timestamp-change): Handle `after' position.
`after' position needs to take into consideration changes in time-stamp
length. Some time locales have variable lengths for abbreviated day
names throughout the week.
Reported-by: "Bruce V. Chiarelli" <mano155@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/109951 >
2016-11-01 09:38:56 +01:00
Bastien
82c98e3caf
Delete contrib/lisp/ox-gfm.el
...
See https://github.com/larstvei/ox-gfm/issues/14 .
2016-10-31 12:46:15 +01:00