org-mode.git
2 hours agoMerge branch 'maint' master
Nicolas Goaziou [Tue, 25 Apr 2017 21:47:22 +0000 (23:47 +0200)]
Merge branch 'maint'

2 hours agoorg-agenda: Store stuck project redo command maint
Allen Li [Thu, 20 Apr 2017 05:52:56 +0000 (22:52 -0700)]
org-agenda: Store stuck project redo command

* lisp/org-agenda.el (org-agenda-list-stuck-projects): Store the redo
command in a text property so it is found correctly.

`org-agenda-redo' checks the `org-redo-cmd' text property, not
`org-agenda-redo-command'.

TINYCHANGE

16 hours agoMerge branch 'maint'
Nicolas Goaziou [Tue, 25 Apr 2017 08:10:13 +0000 (10:10 +0200)]
Merge branch 'maint'

16 hours agoob-C: Fix command to perform on remote host
Иван Трусков [Tue, 25 Apr 2017 08:06:59 +0000 (10:06 +0200)]
ob-C: Fix command to perform on remote host

* lisp/ob-C.el (org-babel-C-execute): Make sure name of compiled
program is converted to local representation before sending it to the
shell on remote host.

The problem was when one would try to evaluate C source code block in
the file on remote host.  Compilation would go normally, then
evaluation would fail with error like "/bin/sh: unable to find file".

TINYCHANGE

2 days agoMerge branch 'maint'
Kyle Meyer [Sun, 23 Apr 2017 23:46:36 +0000 (19:46 -0400)]
Merge branch 'maint'

2 days agoBackport commit c68cce94c from Emacs
Christian Garbs [Wed, 8 Mar 2017 20:13:57 +0000 (21:13 +0100)]
Backport commit c68cce94c from Emacs

; Fix typo in error messages (Bug#26034)
c68cce94c46140f2ad1411550427d3cc2658ec02
Christian Garbs
Mon Apr 17 07:07:12 2017 +0300

TINYCHANGE

2 days agoox: Ignore INCLUDE keywords in commented headlines
Nicolas Goaziou [Sun, 23 Apr 2017 17:48:50 +0000 (19:48 +0200)]
ox: Ignore INCLUDE keywords in commented headlines

* lisp/ox.el (org-export-expand-include-keyword): Ignore INCLUDE
  keywords in commented headlines.
* testing/lisp/test-ox.el (test-org-export/expand-include): Add test.

7 days agoorg-agenda: `tags-todo' command type includes DONE keywords
Nicolas Goaziou [Tue, 18 Apr 2017 09:55:27 +0000 (11:55 +0200)]
org-agenda: `tags-todo' command type includes DONE keywords

* lisp/org-agenda.el (org-agenda):
(org-agenda-run-series): Do not restrict `tags-todo' searches to
non-DONE TODO keywords.

Reported-by: Kevin Foley <kfoley15@gmail.com>
7 days agoMerge branch 'maint'
Nicolas Goaziou [Tue, 18 Apr 2017 06:27:33 +0000 (08:27 +0200)]
Merge branch 'maint'

7 days agoorg-protocol: Don't push url to kill-ring
Matt Lundin [Tue, 18 Apr 2017 01:58:30 +0000 (20:58 -0500)]
org-protocol: Don't push url to kill-ring

* lisp/org-protocol.el: (org-protocol-do-capture) Don't push link to
  kill-ring when invoking `org-protocol-capture'.  Otherwise,
  `org-protocol-do-capture' interferes with capture templates that
  insert the contents of the clipboard or the kill ring.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 18:04:42 +0000 (20:04 +0200)]
Merge branch 'maint'

8 days agoorg-capture: Fix typo
Nicolas Goaziou [Mon, 17 Apr 2017 18:04:09 +0000 (20:04 +0200)]
org-capture: Fix typo

* lisp/org-capture.el (org-capture-fill-template): Fix typo introduced
  in last commit.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113126>

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 12:19:12 +0000 (14:19 +0200)]
Merge branch 'maint'

8 days agoorg-capture: Fix clipboard history with %^C or %^L place holders
Nicolas Goaziou [Mon, 17 Apr 2017 12:18:06 +0000 (14:18 +0200)]
org-capture: Fix clipboard history with %^C or %^L place holders

* lisp/org-capture.el (org-capture--clipboards): New variable.
(org-capture-fill-template): Use new variable.

Reported-by: Allen Li <darkfeline@felesatra.moe>
<http://permalink.gmane.org/gmane.emacs.orgmode/113020>

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 09:29:48 +0000 (11:29 +0200)]
Merge branch 'maint'

8 days agoox-confluence.el: Blank table cells produce required whitespace
Stephen Mackenzie [Mon, 17 Apr 2017 04:00:39 +0000 (00:00 -0400)]
ox-confluence.el: Blank table cells produce required whitespace

* contrib/lisp/ox-confluence.el (org-confluence-table-cell): Add blank
space in an empty table cell such that Confluence tables do not skip
empty entries and produce erroneous table headers.

Confluence tables are formatted incorrectly when empty cells
cause `||' to generate the next cell as a table header, skipping
the empty cell.  Empty cells must be formatted as `| |'.

TINYCHANGE

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 09:05:28 +0000 (11:05 +0200)]
Merge branch 'maint'

8 days agoorg-protocol: Do not catch all errors when providing backward compatibility
Nicolas Goaziou [Mon, 17 Apr 2017 09:03:47 +0000 (11:03 +0200)]
org-protocol: Do not catch all errors when providing backward compatibility

* lisp/org-protocol.el (org-protocol-check-filename-for-protocol): Do
  not catch every error so as to ease old style support.  Re-format
  code to fit within 80 columns.

Reported-by: Adam Porter <adam@alphapapa.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/113102>

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 08:38:24 +0000 (10:38 +0200)]
Merge branch 'maint'

8 days agoFix explanation, if state change is blocked by contained checkboxes
Marc Ihm [Fri, 14 Apr 2017 15:49:50 +0000 (17:49 +0200)]
Fix explanation, if state change is blocked by contained checkboxes

* lisp/org.el (org-todo): Fix explanation, if state change is blocked
  by contained checkboxes.

Consider a node, which contains unchecked checkboxes; if you have set
org-enforce-todo-checkbox-dependencies and try to change the node to
DONE, you will be denied with a message explaining why. However in this
special case the explanation would be wrong in talking of an unrelated
node instead of the checkboxes.

The fix uses the already existing variable org-blocked-by-checkboxes
(which is handled in org-block-todo-from-checkboxes).  Similar code is
already present in org-agenda-dim-blocked-tasks within org-agenda.el.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 08:05:08 +0000 (10:05 +0200)]
Merge branch 'maint'

8 days agoorg-clock: Silence byte-compiler
Nicolas Goaziou [Mon, 17 Apr 2017 08:04:54 +0000 (10:04 +0200)]
org-clock: Silence byte-compiler

8 days agoorg-clock: Add test
Nicolas Goaziou [Mon, 17 Apr 2017 08:03:23 +0000 (10:03 +0200)]
org-clock: Add test

* testing/lisp/test-org-clock.el (test-org-clock/clocktable/link): New
  test.

8 days agoMerge branch 'maint'
Nicolas Goaziou [Mon, 17 Apr 2017 08:03:10 +0000 (10:03 +0200)]
Merge branch 'maint'

8 days agoorg-clock: Fix :link parameter in Clock table
Nicolas Goaziou [Mon, 17 Apr 2017 08:02:15 +0000 (10:02 +0200)]
org-clock: Fix :link parameter in Clock table

* lisp/org-clock.el (org-clock-get-table-data): Fix link creation with
  headlines containing COMMENT or TODO keywords.  Fix docstring.
  Small refactoring.

Reported-by: "Stacey Marshall" <stacey.marshall@oracle.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113094>

9 days agoMerge branch 'maint'
Kyle Meyer [Sun, 16 Apr 2017 21:08:17 +0000 (17:08 -0400)]
Merge branch 'maint'

9 days agoDon't call kill-this-buffer outside of menus
Kyle Meyer [Sun, 16 Apr 2017 21:07:44 +0000 (17:07 -0400)]
Don't call kill-this-buffer outside of menus

* contrib/lisp/org-toc.el (org-toc-quit):
* lisp/org-mhe.el (org-mhe-follow-link): Use kill-buffer rather than
  menu-bar.el's kill-this-buffer.

See Emacs bug#26466 and discussion on emacs.devel:
https://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00346.html.

This is in favor of backporting Emacs's 2e4f4c9d48 (Don't call
'kill-this-buffer' outside of menus, 2017-04-12), which introduces a
new function kill-current-buffer that provides special handling of
minibuffers.

9 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 16 Apr 2017 07:35:06 +0000 (09:35 +0200)]
Merge branch 'maint'

9 days agoox-latex: Remove unwanted indentation in horizontal rules
Nicolas Goaziou [Sun, 16 Apr 2017 07:33:33 +0000 (09:33 +0200)]
ox-latex: Remove unwanted indentation in horizontal rules

* lisp/ox-latex.el (org-latex-horizontal-rule): Add "\noindent" macro
  before the horizontal rule.

Reported-by: Justen Rickert <justenrickert@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113092>

9 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 16 Apr 2017 07:25:30 +0000 (09:25 +0200)]
Merge branch 'maint'

9 days agoob-sql.el: Fix filename conversion in minGW environment.
Xi Shen [Sun, 16 Apr 2017 07:24:06 +0000 (09:24 +0200)]
ob-sql.el: Fix filename conversion in minGW environment.

(org-babel-sql-convert-standard-filename): If it is not in Cygwin
environment, and `system-nt' is "windows-nt", Emacs must be in minGW
or MSYS environment, and can handle Windows filename correctly.

TINYCHANGE

9 days agoMerge branch 'maint'
Nicolas Goaziou [Sun, 16 Apr 2017 07:00:04 +0000 (09:00 +0200)]
Merge branch 'maint'

9 days agoUpdating MathJax CDN links
aviv [Sat, 15 Apr 2017 20:21:57 +0000 (16:21 -0400)]
Updating MathJax CDN links

* doc/org.texi : Change reference to "cdn.mathjax.org" to "cdnjs.com",
  removing comment about no longer relevant terms of service.
* lisp/ox-html.el (org-html-mathjax-options) : Change link to
  appropriate cdnjs.com link to load MathJax.

Updating MathJax CDN links to reflect cdnjs.com as cdn.mathjax.org
will be disconitnued as of 30 April 2017.

TINYCHANGE

10 days agoMerge branch 'maint'
Nicolas Goaziou [Sat, 15 Apr 2017 15:28:04 +0000 (17:28 +0200)]
Merge branch 'maint'

10 days agoorg-element: Fix radio link parser
Nicolas Goaziou [Sat, 15 Apr 2017 15:27:01 +0000 (17:27 +0200)]
org-element: Fix radio link parser

* lisp/org-element.el (org-element--object-lex): Fix parsing of radio
  links within emphasis.
* testing/lisp/test-org-element.el (test-org-element/link-parser): Add
  test.

Reported-by: R C <recifx@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/113063>

10 days agoMerge branch 'maint'
Nicolas Goaziou [Sat, 15 Apr 2017 14:52:46 +0000 (16:52 +0200)]
Merge branch 'maint'

10 days agoFix `org-forward-heading-same-level'
Nicolas Goaziou [Sat, 15 Apr 2017 14:51:33 +0000 (16:51 +0200)]
Fix `org-forward-heading-same-level'

* lisp/org.el (org-forward-heading-same-level): Do not fail when
  heading is at the beginning of the buffer.
* testing/lisp/test-org.el (test-org/forward-heading-same-level): New
  test.

Reported-by: Rafael Laboissière <rafael@laboissiere.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/113084>

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 10 Apr 2017 19:16:45 +0000 (21:16 +0200)]
Merge branch 'maint'

2 weeks agoorg-mobile: Fix bug in mobile outline path handling
Ian Dunn [Fri, 7 Apr 2017 22:58:42 +0000 (18:58 -0400)]
org-mobile: Fix bug in mobile outline path handling

* org-mobile.el (org-mobile-get-outline-path-link): Use a `:' after
  file instead of a `/'.

2 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 10 Apr 2017 19:12:47 +0000 (21:12 +0200)]
Merge branch 'maint'

2 weeks agoEnsure test files are opened in Emacs in test-org/fuzzy-links
Skip Collins [Fri, 7 Apr 2017 15:41:47 +0000 (11:41 -0400)]
Ensure test files are opened in Emacs in test-org/fuzzy-links

2 weeks agoMerge branch 'maint'
Kyle Meyer [Mon, 10 Apr 2017 00:52:41 +0000 (20:52 -0400)]
Merge branch 'maint'

2 weeks agoorg-insert-link: Correct changes from a08dd527d
Kyle Meyer [Mon, 10 Apr 2017 00:44:10 +0000 (20:44 -0400)]
org-insert-link: Correct changes from a08dd527d

* lisp/org.el (org-insert-link): Fix regexp and undefined variable.

2 weeks agoBackport commit c92bae9a0 from Emacs
Tom Tromey [Sat, 18 Mar 2017 22:03:15 +0000 (23:03 +0100)]
Backport commit c92bae9a0 from Emacs

* lisp/org-list.el (org-list-insert-radio-list):
* lisp/org-table.el (orgtbl-setup, orgtbl-insert-radio-table): Use
derived-mode-p.

change org to use derived-mode-p
c92bae9a08cc7c2eb61bad32d9a9d6553b6d2c19
Tom Tromey
Wed Apr 5 15:53:38 2017 -0600

2 weeks agoorg-link-edit.el: Sync with upstream
Kyle Meyer [Mon, 10 Apr 2017 00:44:10 +0000 (20:44 -0400)]
org-link-edit.el: Sync with upstream

Update to version 1.1.0 (af79eebdb).

2 weeks agoob-sql: Add vertica engine
Andreas Gerler [Thu, 6 Apr 2017 06:46:04 +0000 (08:46 +0200)]
ob-sql: Add vertica engine

* lisp/ob-sql.el (org-babel-sql-dbstring-vertica): New function.
  (org-babel-execute:sql): Add `vertica' engine.

Signed-off-by: Andreas Gerler <baron@bundesbrandschatzamt.de>
3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sat, 1 Apr 2017 08:17:30 +0000 (10:17 +0200)]
Merge branch 'maint'

3 weeks agoox-man: Add new line before line break tag
Francesco Montanari [Sun, 26 Mar 2017 09:59:19 +0000 (12:59 +0300)]
ox-man: Add new line before line break tag

* lisp/ox-man.el (org-man-line-break): Transcode a LINE-BREAK object
  from Org to Man by adding the appropriate tag on a new line.

TINYCHANGE

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 30 Mar 2017 10:48:08 +0000 (12:48 +0200)]
Merge branch 'maint'

3 weeks agoFix `org-startup-with-latex-preview' handling
Nicolas Goaziou [Thu, 30 Mar 2017 10:46:46 +0000 (12:46 +0200)]
Fix `org-startup-with-latex-preview' handling

* lisp/org.el (org-mode): When honoring
  `org-startup-with-latex-preview', make sure to preview the whole
  buffer.

Reported-by: Diego Nicola Barbato
<http://permalink.gmane.org/gmane.emacs.orgmode/112925>

3 weeks agoorg-agenda: Set default-directory when exporting agenda
Rasmus [Wed, 29 Mar 2017 15:17:19 +0000 (17:17 +0200)]
org-agenda: Set default-directory when exporting agenda

* lisp/org-agenda.el (org-agenda-write): Use default-directory of
  export file.  This is necessary for htmlize.el to write the correct
  path to agenda icons.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 29 Mar 2017 14:34:21 +0000 (16:34 +0200)]
Merge branch 'maint'

3 weeks agoorg-clock: Preserve narrowing when building clock table
Nicolas Goaziou [Wed, 29 Mar 2017 14:33:10 +0000 (16:33 +0200)]
org-clock: Preserve narrowing when building clock table

* lisp/org-clock.el (org-dblock-write:clocktable): Preserve current
  narrowing, if any, when building the table.

Reported-by: Christof Musik <ml-orgmode@litephone.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/112872>

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 29 Mar 2017 13:34:50 +0000 (15:34 +0200)]
Merge branch 'maint'

3 weeks agoSmall refactoring
Nicolas Goaziou [Wed, 29 Mar 2017 13:34:27 +0000 (15:34 +0200)]
Small refactoring

* lisp/org.el (org-insert-link): Small refactoring.

3 weeks agoAllow insertion of links with multi-line search strings
Matt Lundin [Mon, 27 Mar 2017 14:55:33 +0000 (09:55 -0500)]
Allow insertion of links with multi-line search strings

* lisp/org.el: (org-insert-link): Fix regexps to match across
  newlines.

3 weeks agoMerge branch 'maint'
Nicolas Goaziou [Wed, 29 Mar 2017 12:18:14 +0000 (14:18 +0200)]
Merge branch 'maint'

3 weeks agoAdd test for link search
Nicolas Goaziou [Wed, 29 Mar 2017 12:17:50 +0000 (14:17 +0200)]
Add test for link search

* testing/lisp/test-org.el (test-org/fuzzy-links): Add test.

3 weeks agoAllow blank lines in text search link
Nicolas Goaziou [Wed, 29 Mar 2017 12:12:58 +0000 (14:12 +0200)]
Allow blank lines in text search link

* lisp/org.el (org-link-search): Allow blank lines.

This is a follow-up to 4dde26f08.

4 weeks agoorg-index.el, version 5.3.0: focus can now be a list; cleaned up dependencies
U-IHM-NOTEBOOK\Olli [Tue, 28 Mar 2017 18:57:37 +0000 (20:57 +0200)]
org-index.el, version 5.3.0: focus can now be a list; cleaned up dependencies

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 27 Mar 2017 12:01:54 +0000 (14:01 +0200)]
Merge branch 'maint'

4 weeks agoox-latex: Fix last commit
Nicolas Goaziou [Mon, 27 Mar 2017 12:01:32 +0000 (14:01 +0200)]
ox-latex: Fix last commit

* lisp/ox-latex.el (org-latex--align-string): Fix typo in last commit.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 27 Mar 2017 11:53:05 +0000 (13:53 +0200)]
Merge branch 'maint'

4 weeks agoMerge branch 'maint' of orgmode.org:org-mode into maint
Nicolas Goaziou [Mon, 27 Mar 2017 11:52:40 +0000 (13:52 +0200)]
Merge branch 'maint' of orgmode.org:org-mode into maint

4 weeks agoox-latex: Fix user-defined align string in matrices
Nicolas Goaziou [Mon, 27 Mar 2017 11:43:49 +0000 (13:43 +0200)]
ox-latex: Fix user-defined align string in matrices

* lisp/ox-latex.el (org-latex--align-string): Change signature.
  Center all cells in matrices, yet preserve user-defined align
  string.
(org-latex--math-table): Apply signature change.

Reported-by: Phil Regier <phil.regier@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/112873>

4 weeks agoox-latex: Fix user-defined align string in matrices
Nicolas Goaziou [Mon, 27 Mar 2017 11:43:49 +0000 (13:43 +0200)]
ox-latex: Fix user-defined align string in matrices

* lisp/ox-latex.el (org-latex--align-string): Change signature.
  Center all cells in matrices, yet preserve user-defined align
  string.
(org-latex--math-table): Apply signature change.

Reported-by: Phil Regier <phil.regier@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/112873>

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Mon, 27 Mar 2017 11:36:49 +0000 (13:36 +0200)]
Merge branch 'maint'

4 weeks agoFix lsearch strings with newline characters
Nicolas Goaziou [Mon, 27 Mar 2017 11:34:04 +0000 (13:34 +0200)]
Fix lsearch strings with newline characters

* lisp/org.el (org-link-search): Fix regexp.
* testing/lisp/test-org.el (test-org/fuzzy-links): Add test.

Reported-by: Matt Lundin <mdl@imapmail.org>
<http://permalink.gmane.org/gmane.emacs.orgmode/112876>

4 weeks agoMerge branch 'maint'
Kyle Meyer [Mon, 27 Mar 2017 01:52:15 +0000 (21:52 -0400)]
Merge branch 'maint'

4 weeks agoBackport commit 14d8b6858 from Emacs
Paul Eggert [Tue, 21 Mar 2017 16:18:42 +0000 (09:18 -0700)]
Backport commit 14d8b6858 from Emacs

* doc/org.texi (noweb-ref): Simplify shell script example and don’t
use ‘tail -1’, which is not portable.

Port and simplify example sh script
14d8b6858a49e97f9b69593df5a8a7886430d43f
Paul Eggert
Tue Mar 21 09:19:42 2017 -0700

4 weeks agoMerge branch 'maint'
Marco Wahl [Sun, 26 Mar 2017 13:40:10 +0000 (15:40 +0200)]
Merge branch 'maint'

4 weeks agoorg: Fix tag setter
Marco Wahl [Sun, 26 Mar 2017 13:39:20 +0000 (15:39 +0200)]
org: Fix tag setter

* lisp/org.el (org-set-tags): Treat ':' and '::' as no tag.

4 weeks agoox-latex: Support caption for latex-environment
Rasmus [Thu, 16 Mar 2017 11:45:10 +0000 (12:45 +0100)]
ox-latex: Support caption for latex-environment

* lisp/ox-latex.el (org-latex--environment-type): New function
  determining type of a latex-environment.
  (org-latex-latex-environment): Add support for caption.
  (org-latex--caption/label-string): Use correct type for non-floating
  latex-environments.
* etc/ORG-NEWS: Add entry.

4 weeks agoMerge branch 'maint'
Bastien [Thu, 23 Mar 2017 22:49:11 +0000 (23:49 +0100)]
Merge branch 'maint'

4 weeks agoox-html.el (org-html-scripts): Fix copyright years
Bastien [Thu, 23 Mar 2017 22:46:13 +0000 (23:46 +0100)]
ox-html.el (org-html-scripts): Fix copyright years

* lisp/ox-html.el (org-html-scripts): Fix copyright years.

4 weeks agoox-html: Allow displaying source code block using klipse
Matt Price [Thu, 23 Mar 2017 22:22:30 +0000 (23:22 +0100)]
ox-html: Allow displaying source code block using klipse

* lisp/ox-html.el (html, org-html-template)
(org-html-src-block): Allow to display source code block using
the klipse javascript plugin.

Thanks to Nicolas Goaziou for reviewing the patch.

4 weeks agoMerge branch 'maint'
Nicolas Goaziou [Thu, 23 Mar 2017 15:46:52 +0000 (16:46 +0100)]
Merge branch 'maint'

4 weeks agoox: Fix "Fix :filter-options"
Nicolas Goaziou [Thu, 23 Mar 2017 15:41:26 +0000 (16:41 +0100)]
ox: Fix "Fix :filter-options"

* lisp/ox.el (org-export-as): Remove uninterpreted data from back-end
  specific parsed keywords.

* testing/lisp/test-ox.el (test-org-export/uninterpreted): Add test.

This fixes 6cd42b08f9347a8d6084ec23548b754f9e02b2a1.

4 weeks agoox: Clarify a docstring
Nicolas Goaziou [Thu, 23 Mar 2017 15:38:59 +0000 (16:38 +0100)]
ox: Clarify a docstring

* lisp/ox.el (org-export-get-all-options): Specify return value for
  unknown back-ends.
(org-export--parse-option-keyword):
(org-export--get-subtree-options):
(org-export--get-inbuffer-options):
(org-export--get-global-options): Remove useless check.

4 weeks agoorg: Liberate org-property-action
Marco Wahl [Wed, 22 Mar 2017 23:28:53 +0000 (00:28 +0100)]
org: Liberate org-property-action

* lisp/org.el (org-property-action): Remove unnecessary restriction
  for property action.

5 weeks agoMerge branch 'maint'
Marco Wahl [Tue, 21 Mar 2017 19:53:02 +0000 (20:53 +0100)]
Merge branch 'maint'

5 weeks agoorg-agenda: Fix agenda buffer name after reload sticky agenda
Marco Wahl [Tue, 21 Mar 2017 19:47:30 +0000 (20:47 +0100)]
org-agenda: Fix agenda buffer name after reload sticky agenda

* lisp/org-agenda.el (org-agenda-list): Don't rename the buffer when
  redoing sticky.

This fix has been proposed by Ian Dunn.

<http://permalink.gmane.org/gmane.emacs.orgmode/112833>

TINYCHANGE

5 weeks agotest-org-agenda: Test agenda buffername when reload sticky agenda
Marco Wahl [Tue, 21 Mar 2017 19:42:08 +0000 (20:42 +0100)]
test-org-agenda: Test agenda buffername when reload sticky agenda

* testing/lisp/test-org-agenda.el: One additional test to Check that
  buffer name remains the same after reload.  (BTW some cleanup.)

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sun, 19 Mar 2017 22:56:56 +0000 (23:56 +0100)]
Merge branch 'maint'

5 weeks agoorg-src: Fix fontification error
Aaron Jensen [Sun, 19 Mar 2017 22:55:51 +0000 (23:55 +0100)]
org-src: Fix fontification error

* lisp/org-src.el (org-src-font-lock-fontify-block): Fix fontification
error introduced in commit f2a5104e45b6f44a08960ae49ba20c124a8fa9d8.

TINYCHANGE

5 weeks agoMerge branch 'maint'
Kyle Meyer [Sun, 19 Mar 2017 17:32:19 +0000 (13:32 -0400)]
Merge branch 'maint'

5 weeks agoBackport commit 265a5d979 from Emacs
Michael Albinus [Thu, 16 Mar 2017 15:23:07 +0000 (16:23 +0100)]
Backport commit 265a5d979 from Emacs

* doc/org.texi (dir): Change example to use a method.

Document remote file name syntax change
265a5d9791bf42da0bab7bdbef4352e8d734ef31
Michael Albinus
Thu Mar 16 16:23:07 2017 +0100

5 weeks agoorg-clock: Add test
Nicolas Goaziou [Sun, 19 Mar 2017 09:59:52 +0000 (10:59 +0100)]
org-clock: Add test

* testing/lisp/test-org-clock.el (test-org-clock/clocktable/formula):
  Add test.

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sun, 19 Mar 2017 09:57:11 +0000 (10:57 +0100)]
Merge branch 'maint'

5 weeks agoorg-clock: Fix percent formula column in clock table
Yasushi SHOJI [Sun, 19 Mar 2017 09:55:44 +0000 (10:55 +0100)]
org-clock: Fix percent formula column in clock table

* lisp/org-clock.el (org-clocktable-write-default): Fix percent
  formula column in clock table.

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Sat, 18 Mar 2017 09:29:33 +0000 (10:29 +0100)]
Merge branch 'maint'

5 weeks agoob-exp: Fix export of src blocks with pathological name
Nicolas Goaziou [Sat, 18 Mar 2017 09:28:15 +0000 (10:28 +0100)]
ob-exp: Fix export of src blocks with pathological name

* lisp/ob-exp.el (org-babel-exp-process-buffer): Discard false
  positives.
* testing/lisp/test-ob-exp.el (ob-exp/src-block-with-affiliated-keyword):
  New test.

Reported-by: Skip Collins <skip.collins@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/112797>

5 weeks agoMerge branch 'maint'
Marco Wahl [Fri, 17 Mar 2017 18:54:48 +0000 (19:54 +0100)]
Merge branch 'maint'

5 weeks agoorg-agenda: Fix agenda standard name when going unsticky
Marco Wahl [Fri, 17 Mar 2017 18:44:56 +0000 (19:44 +0100)]
org-agenda: Fix agenda standard name when going unsticky

* lisp/org-agenda.el (org-agenda-list): Reset `org-agenda-buffer-name'
  to the original name.
* testing/lisp/test-org-agenda.el: Pertaining unit test.  + 2 basic
  agenda tests.
* testing/examples/agenda-file.org: File to produce content for an
  agenda to test.

5 weeks agoox-publish: Raise an error on undefined components (take 2)
Nicolas Goaziou [Fri, 17 Mar 2017 08:32:21 +0000 (09:32 +0100)]
ox-publish: Raise an error on undefined components (take 2)

* lisp/ox-publish.el (org-publish-expand-projects): Raise an error on
  undefined components.

5 weeks agoRevert "ox-publish: Raise an error when encountering undefined component"
Nicolas Goaziou [Fri, 17 Mar 2017 08:30:38 +0000 (09:30 +0100)]
Revert "ox-publish: Raise an error when encountering undefined component"

This reverts commit 6e1d174d0a5564f3c18570025a439cbd201290cb.

5 weeks agoorg-duration: Clarify a docstring
Nicolas Goaziou [Fri, 17 Mar 2017 07:59:09 +0000 (08:59 +0100)]
org-duration: Clarify a docstring

* lisp/org-duration.el (org-duration-format): Clarify `h:mm:ss' and
  `h:mm' values.

Reported-by: Malcolm Purvis <malcolm@purvis.id.au>
<http://permalink.gmane.org/gmane.emacs.orgmode/112280>

5 weeks agoox-publish: Raise an error when encountering undefined component
Nicolas Goaziou [Fri, 17 Mar 2017 07:53:46 +0000 (08:53 +0100)]
ox-publish: Raise an error when encountering undefined component

* lisp/ox-publish.el (org-publish-expand-projects): Raise an error
  when encountering undefined component.  Refactor code.  Fix
  docstring.

Reported-by: Bob Newell <bobnewell@bobnewell.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/112712>

5 weeks agoorg-agenda: Fix scheduled repeats
Nicolas Goaziou [Fri, 17 Mar 2017 07:39:43 +0000 (08:39 +0100)]
org-agenda: Fix scheduled repeats

* lisp/org-agenda.el (org-agenda-get-scheduled): Fix scheduled
  repeats.

This is a follow-up to b5c19643d2347e4e1f4d76634b458380a46e39c4.

5 weeks agoMerge branch 'maint'
Nicolas Goaziou [Fri, 17 Mar 2017 07:38:16 +0000 (08:38 +0100)]
Merge branch 'maint'