Nicolas Goaziou [Sat, 4 Nov 2017 20:48:09 +0000 (4 21:48 +0100)]
ox-texinfo: Fix @ref without description
* lisp/ox-texinfo.el (org-texinfo--@ref): Prefer @ref{} with a single
argument when no description is provided.
Nicolas Goaziou [Fri, 3 Nov 2017 22:11:07 +0000 (3 23:11 +0100)]
Merge branch 'maint'
Nicolas Goaziou [Fri, 3 Nov 2017 22:10:38 +0000 (3 23:10 +0100)]
Fix typo in docstring
* lisp/org.el (org-speed-commands-user): Fix typo in docstring.
Nicolas Goaziou [Fri, 3 Nov 2017 21:20:46 +0000 (3 22:20 +0100)]
Merge branch 'maint'
Xavier Martinez-Hidalgo [Thu, 2 Nov 2017 10:47:19 +0000 (2 11:47 +0100)]
org-capture: Fix aborting after inserting text at end of buffer
* lisp/org-capture.el (org-capture-mark-kill-region): Set end marker
insertion type so that it advances when inserting text at the end of
the capture buffer.
* testing/lisp/test-org-capture.el (test-org-capture/insert-at-end-abort):
Add test case.
Inserting text at the end of the capture buffer does not advance the
end kill marker. This causes the narrowing region and the kill
markers to get out of sync, which prevents 'org-capture-finalize' from
correctly cleaning the target buffer when aborting the capture.
Setting the kill end marker insertion type fixes this.
TINYCHANGE
Nicolas Goaziou [Wed, 1 Nov 2017 16:54:12 +0000 (1 17:54 +0100)]
Fix failing test
* testing/lisp/test-ox-publish.el (test-org-publish/resolve-external-link):
Rewrite test to prevent race condition which could affect results.
* testing/examples/pub/b.org: Add missing keyword.
Nicolas Goaziou [Fri, 3 Nov 2017 11:22:33 +0000 (3 12:22 +0100)]
Merge branch 'maint'
Nicolas Goaziou [Fri, 3 Nov 2017 11:21:56 +0000 (3 12:21 +0100)]
ox-texinfo: Fix spurious blank lines in detailed menu.
* lisp/ox-texinfo.el (org-texinfo--build-menu): Prevent spurious blank
lines in detailed menu.
Nicolas Goaziou [Fri, 3 Nov 2017 10:35:53 +0000 (3 11:35 +0100)]
ox-texinfo: Prettify adjunct for indentical nodes.
* lisp/ox-texinfo.el (org-texinfo--get-node): Nicer adjunct for
identical nodes.
Nicolas Goaziou [Fri, 3 Nov 2017 10:34:21 +0000 (3 11:34 +0100)]
ox-texinfo: Allow cross-references to headlines excluded from TOC
* lisp/ox-texinfo.el (org-texinfo-headline): Use @anchor instead of
@node for headlines outside TOC.
Nicolas Goaziou [Tue, 31 Oct 2017 18:34:35 +0000 (31 19:34 +0100)]
Merge branch 'maint'
Nicolas Goaziou [Tue, 31 Oct 2017 18:33:55 +0000 (31 19:33 +0100)]
Fix `org-display-inline-images'
* lisp/org.el (org-display-inline-images): Fix regexp.
Reported-by: Leslie Watter <watter@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00455.html>
Nicolas Goaziou [Sun, 29 Oct 2017 23:51:31 +0000 (30 00:51 +0100)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 29 Oct 2017 23:50:11 +0000 (30 00:50 +0100)]
Fix Org corruption when `org-agenda-files' is invalid
* lisp/org.el (org-install-agenda-files-menu): Prevent errors in
`org-agenda-files' from corrupting Org initialization.
Reported-by: Allen Li <vianchielfaura@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00424.html>
U-IHM-NOTEBOOK\Olli [Sun, 29 Oct 2017 14:31:45 +0000 (29 15:31 +0100)]
Version 5.7.1 of org-index
Nicolas Goaziou [Sun, 29 Oct 2017 08:15:01 +0000 (29 09:15 +0100)]
org-table: Fix compatibility with Emacs 24.3
* lisp/org-table.el (org-table-align): Call `split-string' with the
expected number of arguments in Emacs 24.3.
Reported-by: thomas <thomas@friendlyvillagers.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00430.html>
Nicolas Goaziou [Thu, 26 Oct 2017 11:09:23 +0000 (26 13:09 +0200)]
Remove `org-babel-use-quick-and-dirty-noweb-expansion'
* lisp/ob-core.el (org-babel-use-quick-and-dirty-noweb-expansion):
Remove variable.
(org-babel-expand-noweb-references): Update function.
* doc/org.texi (noweb-ref): Document new behaviour.
(Noweb reference syntax): Delete reference to removed variable.
`org-babel-use-quick-and-dirty-noweb-expansion' main use is to speed
up Noweb expansion when expanding only by name. By distinguishing
name and reference expansion, we no longer need this variable. In the
first case, the expansion is quicker anyway, and in the second case,
we most certainly need an accurate expansion.
Marco Wahl [Wed, 25 Oct 2017 15:35:26 +0000 (25 17:35 +0200)]
org-agenda: Refactoring. Deactivate mark in case of a region.
* lisp/org-agenda.el (org-agenda-bulk-mark): Use region-beginning/end
defuns. And deactivate the mark in case.
Marco Wahl [Wed, 25 Oct 2017 13:13:13 +0000 (25 15:13 +0200)]
org-agenda: Bulk mark lines in region
* lisp/org-agenda.el (org-agenda-bulk-mark): Added bulk mark for entries
in region. This is like in dired now.
* doc/org.texi (Agenda commands): Document bulk mark entries in region
Nicolas Goaziou [Tue, 24 Oct 2017 11:56:56 +0000 (24 13:56 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Tue, 24 Oct 2017 11:55:38 +0000 (24 13:55 +0200)]
ox-texinfo: Remove TABs from output
* lisp/ox-texinfo.el (org-texinfo--untabify): New function.
(texinfo): Use new function as a final output filter.
See (info "(texinfo) Conventions").
Nicolas Goaziou [Tue, 24 Oct 2017 08:28:43 +0000 (24 10:28 +0200)]
org-goto: Fix wrong number of arguments error
* lisp/org-goto.el (org-goto-location): Fix
`isearch-search-fun-function' binding.
Nicolas Goaziou [Tue, 24 Oct 2017 08:27:10 +0000 (24 10:27 +0200)]
org-goto: Fix keymapp error
* lisp/org-goto.el: Remove spurious `defvar.
Nicolas Goaziou [Tue, 24 Oct 2017 08:07:50 +0000 (24 10:07 +0200)]
ox-texinfo: Small refactoring
* lisp/ox-texinfo.el (org-texinfo--sanitize-title):
(org-texinfo--wrap-float): Use new `org-export-toc-entry-backend'
function.
Nicolas Goaziou [Tue, 24 Oct 2017 07:55:49 +0000 (24 09:55 +0200)]
Move a test
* testing/lisp/test-org-macs.el (test-org/in-regexp): Moved from...
* testing/lisp/test-org.el: ... here.
Nicolas Goaziou [Tue, 24 Oct 2017 07:53:47 +0000 (24 09:53 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Tue, 24 Oct 2017 07:51:43 +0000 (24 09:51 +0200)]
Fix comma escaping with multiple leading commas
* lisp/org-src.el (org-escape-code-in-region):
(org-escape-code-in-string):
(org-unescape-code-in-region):
(org-unescape-code-in-string): Fix comma escaping with multiple
leading commas.
* testing/lisp/test-org-src.el (test-org-src/escape-code-in-string):
(test-org-src/unescape-code-in-string): New tests.
Reported-by: Michal Politowski <mpol@meep.pl>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00359.html>
Nicolas Goaziou [Mon, 23 Oct 2017 12:55:05 +0000 (23 14:55 +0200)]
ox-texinfo: Fix missing contents in headings out of TOC
* lisp/ox-texinfo.el (org-texinfo-section): Include contents even in
headings out of TOC.
Nicolas Goaziou [Mon, 23 Oct 2017 07:57:13 +0000 (23 09:57 +0200)]
org-goto: Fix header
Nicolas Goaziou [Sun, 22 Oct 2017 14:40:54 +0000 (22 16:40 +0200)]
Extract "org-goto" code into a dedicated library
* lisp/org-goto.el: New file.
* lisp/org.el (org-goto-interface):
(org-goto-max-level):
(org-goto-auto-isearch):
(org-goto-local-auto-isearch):
(org-goto-ret):
(org-goto-left):
(org-goto-right):
(org-goto-quit):
(org-goto): Move to new file.
(org-goto-location): Change signature. Move to new file.
(org-goto-map): Remove function.
* lisp/org-id.el (org-id-get-with-outline-drilling): Update to new
`org-goto-location' signature.
Nicolas Goaziou [Sun, 22 Oct 2017 14:20:58 +0000 (22 16:20 +0200)]
Move some invisibility check functions to "org-macs.el"
* lisp/org.el (org-invisible-p):
(org-truely-invisible-p):
(org-invisible-p2): Move...
* lisp/org-macs.el: ... there.
Nicolas Goaziou [Sun, 22 Oct 2017 13:41:02 +0000 (22 15:41 +0200)]
Silence byte-compiler
Nicolas Goaziou [Sun, 22 Oct 2017 13:38:35 +0000 (22 15:38 +0200)]
Revert "Move `org-key' and `org-defkey' into "org-macs.el""
This reverts commit
7f56a9920fff6c3538f30df2cc1c04cefe4f803b.
`org-key' is specific to Org keybinding, therefore not generic enough
to fit in "org-macs.el". So is `org-defkey'.
Nicolas Goaziou [Sun, 22 Oct 2017 13:34:26 +0000 (22 15:34 +0200)]
Move some generic functions into "org-macs.el"
* lisp/org.el (org-do-wrap): Remove function.
(org-base-buffer):
(org-find-base-buffer-visiting):
(org-overlay-display):
(org-overlay-before-string):
(org-find-overlays):
(org-reverse-string):
(org-shorten-string):
(org-remove-tabs):
(org-wrap):
(org-remove-indentation):
(org-do-remove-indentation):
(org-uniquify-alist):
(org-combine-plists):
(org-skip-whitespace):
(org-in-regexp):
(org-point-in-group):
(org-get-at-eol):
(org-find-text-property-in-string):
(org-display-warning):
(org-eval):
* lisp/org-compat.el (org-add-props): Move ...
* lisp/org-macs.el: ... there.
(org--do-wrap): New function.
Nicolas Goaziou [Sun, 22 Oct 2017 13:05:48 +0000 (22 15:05 +0200)]
Move `org-key' and `org-defkey' into "org-macs.el"
* lisp/org.el (org-key):
(org-defkey): Move...
* lisp/org-macs.el: ... there.
Nicolas Goaziou [Sun, 22 Oct 2017 13:01:43 +0000 (22 15:01 +0200)]
Move compatibility functions in "org-compat.el"
* lisp/org.el (org-imenu-and-speedbar):
(org-imenu-markers):
(org-imenu-new-marker):
(org-imenu-get-tree):
(org-speedbar-restriction-lock-overlay):
(org-speedbar-set-agenda-restriction):
(org--flyspell-object-check-p):
(org-mode-flyspell-verify):
(org-remove-flyspell-overlays-in):
(org-bookmark-jump-unhide):
(org-mark-jump-unhide): Move...
* lisp/org-compat.el: ... there.
Nicolas Goaziou [Sun, 22 Oct 2017 12:40:45 +0000 (22 14:40 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 22 Oct 2017 12:39:36 +0000 (22 14:39 +0200)]
Prevent leaking fontification across table fields' borders
* lisp/org.el (org-do-emphasis-faces): Prevent leaking fontification
across table fields' borders.
Reported-by: Ryan <rct@thompsonclan.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00321.html>
Nicolas Goaziou [Sun, 22 Oct 2017 10:42:35 +0000 (22 12:42 +0200)]
Merge branch 'maint'
thibault [Sat, 21 Oct 2017 03:20:35 +0000 (20 22:20 -0500)]
Fix tangling of org block with nested source block
* lisp/ob-tangle.el (org-babel-tangle-single-block): Prevent double unescaping
of source block by removing unnecessary call to `org-unescape-code-in-string'.
* testing/lisp/test-ob-tangle.el (ob-tangle/nested-block) New function.
Kyle Meyer [Sat, 21 Oct 2017 05:31:18 +0000 (21 01:31 -0400)]
org-agenda: Fix the display of more key substitutions
* lisp/org-agenda.el (org-todo-list):
(org-tags-view): Specify the keymap for the substitute-command-keys
call because, as of
b6c5a174d, this call is made outside of the agenda
buffer.
The substitute-command-keys call in org-search-view is already taken
care of by
48f333805.
Marco Wahl [Fri, 20 Oct 2017 10:24:07 +0000 (20 12:24 +0200)]
Merge branch 'maint'
Marco Wahl [Fri, 20 Oct 2017 10:21:08 +0000 (20 12:21 +0200)]
ox-man: Fix org-man--protect-text
Nicolas Goaziou [Thu, 19 Oct 2017 19:52:18 +0000 (19 21:52 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Thu, 19 Oct 2017 19:51:31 +0000 (19 21:51 +0200)]
ox-man: Fix verbatim markup
* lisp/ox-man.el (org-man--protect-text): New function.
(org-man-code): Use new function.
(org-man-verbatim): Use inline markup.
Nicolas Goaziou [Wed, 18 Oct 2017 20:55:18 +0000 (18 22:55 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Wed, 18 Oct 2017 20:54:40 +0000 (18 22:54 +0200)]
ox-man: Fix code and verbatim export
* lisp/ox-man.el (org-man-code):
(org-man-verbatim): Fix functions.
Reported-by: Anthony Agelastos <iqgrande@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00313.html>
Nicolas Goaziou [Wed, 18 Oct 2017 20:49:10 +0000 (18 22:49 +0200)]
Merge branch 'maint'
Allen Li [Wed, 18 Oct 2017 20:48:16 +0000 (18 22:48 +0200)]
Fix `org-insert-todo-heading'
* lisp/org.el (org-insert-todo-heading): Insert TODO keyword relative
to the original headline, not to the headline above.
* testing/lisp/test-org.el (test-org/insert-todo-heading-respect-content):
Add test.
Nicolas Goaziou [Tue, 17 Oct 2017 21:31:45 +0000 (17 23:31 +0200)]
Merge branch 'maint'
Allen Li [Tue, 17 Oct 2017 21:28:53 +0000 (17 23:28 +0200)]
Update documentation on org-protocol template placeholders
* doc/org.texi (@code{capture} protocol): Fix placeholder names
(Template expansion): Add org-protocol placeholders
* lisp/org.el (org-store-link-plist): Fix docstring grammar
(org-store-link-props): Fix docstring grammar
Nicolas Goaziou [Tue, 17 Oct 2017 08:11:21 +0000 (17 10:11 +0200)]
Move `org-completing-read' into "org-macs.el"
* lisp/org-macs.el (org-completing-read): Moved here...
* lisp/org.el: ... from there.
Nicolas Goaziou [Tue, 17 Oct 2017 07:37:34 +0000 (17 09:37 +0200)]
Move `org-xor' into "org-macs.el"
* lisp/org.el (org-xor): Move...
* lisp/org-macs.el: ... there.
Nicolas Goaziou [Sun, 8 Oct 2017 07:55:06 +0000 (8 09:55 +0200)]
ox-texinfo: Handle "notoc" value
* lisp/ox-texinfo.el (org-texinfo-classes): Introduce @chapheading and
al. in default value.
(org-texinfo--structuring-command): Remove function.
(org-texinfo-headline): Handle unnumbered out of TOC headlines.
(org-texinfo-section): Do not add menu in unnumbered headings.
Nicolas Goaziou [Sun, 15 Oct 2017 10:15:06 +0000 (15 12:15 +0200)]
Implement `org-export-excluded-from-toc-p'
* lisp/ox.el (org-export-excluded-from-toc-p): New function.
* testing/lisp/test-ox.el (test-org-export/excluded-from-toc-p): New
test.
Nicolas Goaziou [Sat, 7 Oct 2017 14:03:17 +0000 (7 16:03 +0200)]
ox: Implement "notoc" UNNUMBERED value
* lisp/ox.el (org-export-collect-headlines): Exclude headlines with
UNNUMBERED property set to "notoc".
* doc/org.texi (Export settings):
(Table of contents): Document new value.
* testing/lisp/test-ox.el (test-org-export/collect-headlines): Add
test.
Nicolas Goaziou [Sun, 15 Oct 2017 08:27:53 +0000 (15 10:27 +0200)]
Improve a docstring
* lisp/org-element.el (org-element-lineage): Improve docstring.
Nicolas Goaziou [Sat, 14 Oct 2017 10:32:25 +0000 (14 12:32 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sat, 14 Oct 2017 10:32:08 +0000 (14 12:32 +0200)]
Silence byte-compiler
Nicolas Goaziou [Sat, 14 Oct 2017 10:30:59 +0000 (14 12:30 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sat, 14 Oct 2017 10:29:52 +0000 (14 12:29 +0200)]
Fix links without contents in table of contents' entries
* lisp/ox.el (org-export-toc-entry-backend): New function.
* lisp/ox-html.el (org-html--format-toc-headline):
* lisp/ox-md.el (org-md--build-toc):
* lisp/ox-odt.el (org-odt-toc): Use new function.
* lisp/ox-texinfo.el (org-texinfo--sanitize-title):
(org-texinfo--wrap-float): Handle links without contents.
* testing/lisp/test-ox.el (test-org-export/toc-entry-backend): New
test.
Reported-by: ConcreteVitamin <concretevitamin@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00235.html>
Nicolas Goaziou [Sat, 14 Oct 2017 09:03:41 +0000 (14 11:03 +0200)]
ox-koma-letter: Fix typo.
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template): Fix typo.
Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00238.html>
Nicolas Goaziou [Sat, 14 Oct 2017 09:01:32 +0000 (14 11:01 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sat, 14 Oct 2017 08:59:51 +0000 (14 10:59 +0200)]
`org-file-contents': Improve error message
* lisp/org.el (org-file-contents): Improve error message.
Kyle Meyer [Fri, 13 Oct 2017 19:13:38 +0000 (13 15:13 -0400)]
Merge branch 'maint'
Paul Eggert [Tue, 10 Oct 2017 05:53:19 +0000 (9 22:53 -0700)]
Backport commit
5d51403ce from Emacs
; Typo fixes, mostly repeated words
5d51403ceb9b86a1bfa66f00c7af39f1200e65f1
Paul Eggert
Mon Oct 9 22:55:06 2017 -0700
Paul Eggert [Tue, 10 Oct 2017 00:15:42 +0000 (9 17:15 -0700)]
Backport commit
0d004ed01 from Emacs
; Spelling fixes
0d004ed01abb5fa025bdc9d58fce2a3abff0b6a4
Paul Eggert
Mon Oct 9 22:55:05 2017 -0700
Kyle Meyer [Thu, 12 Oct 2017 05:28:25 +0000 (12 01:28 -0400)]
Merge branch 'maint'
Kyle Meyer [Thu, 12 Oct 2017 05:27:42 +0000 (12 01:27 -0400)]
org.texi: Correct keys for subtree movement commands
* doc/org.texi (Structure editing): Correct bindings for
org-move-subtree-up and org-move-subtree-down.
Reported-by: Johann Höchtl <<johann.hoechtl@gmail.com>>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00203.html>
Nicolas Goaziou [Wed, 11 Oct 2017 23:01:14 +0000 (12 01:01 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Wed, 11 Oct 2017 23:00:14 +0000 (12 01:00 +0200)]
ox-md: Export TODO keywords and priority cookies
* lisp/ox-md.el (org-md-headline): Export TODO keywords and priority
cookies.
Reported-by: Ganesh Krishnan <gkrishnan.gt@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00171.html>
U-IHM-NOTEBOOK\Olli [Tue, 10 Oct 2017 18:28:03 +0000 (10 20:28 +0200)]
org-index.el version 5.6.2
Kyle Meyer [Sun, 8 Oct 2017 17:44:33 +0000 (8 13:44 -0400)]
Adjust version numbers of unreleased changes
* lisp/org-table.el (org-table-shrunk-column-indicator):
* lisp/org.el (org-startup-shrink-all-tables): Update Org version to 9.2
and Emacs version to 27.1.
(customize-package-emacs-version-alist): Map Org 9.2 to Emacs 27.1.
Emacs 26.1 is now in the pretest phase, and the version for Emacs's
development branch is 27.1.
Kyle Meyer [Sun, 8 Oct 2017 14:40:39 +0000 (8 10:40 -0400)]
Merge branch 'maint'
Kyle Meyer [Sat, 7 Oct 2017 18:46:44 +0000 (7 14:46 -0400)]
ox-s5: Don't use org-html-end-plain-list
* contrib/lisp/ox-s5.el (org-s5-plain-list): Adjust for the removal of
org-html-end-plain-list.
The function org-html-end-plain-list was deleted in
8855c23c6 (ox-html: Plain list supports arbitrary attributes,
2017-02-13).
Reported-by: <dchechin92@gmail.com>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00123.html>
Nicolas Goaziou [Sun, 8 Oct 2017 08:54:00 +0000 (8 10:54 +0200)]
Merge branch 'maint'
Georgiy Tugai [Sun, 8 Oct 2017 08:42:21 +0000 (8 10:42 +0200)]
org-clock: Fix clock report sometimes ignoring hours before :wstart
* lisp/org-clock (org-clocktable-steps): Fix weekly-step clock report
ignoring hours between start of period and start of week, when start
of period is on a day of week numerically less than start of week.
Clock report now always inserts a "week" starting at the start of
the period, if necessary; all following weeks start on the start of
the week as expected.
TINYCHANGE
Nicolas Goaziou [Sun, 8 Oct 2017 08:36:48 +0000 (8 10:36 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 8 Oct 2017 08:35:22 +0000 (8 10:35 +0200)]
Consider headlines as sentences by themselves
* lisp/org.el (org-forward-sentence): Consider headlines as sentences
by themselves.
* testing/lisp/test-org.el (test-org/forward-sentence): Add test.
Reported-by: Mat Vibrys <vibrysec@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00130.html>
Nicolas Goaziou [Sun, 8 Oct 2017 08:08:53 +0000 (8 10:08 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 8 Oct 2017 08:07:36 +0000 (8 10:07 +0200)]
C-c C-c on a planning info timestamp fixes day
* lisp/org.el (org-ctrl-c-ctrl-c): On a timestamp in a planning line,
fix day, like regular timestamps.
Reported-by: Aaron Jensen <aaronjensen@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00132.html>
Marco Wahl [Sat, 7 Oct 2017 13:44:25 +0000 (7 15:44 +0200)]
org-inlinetask: Wrap region at insertion
* lisp/org-inlinetask.el (org-inlinetask-insert-task): If there is a
region at insertion time wrap it. This is similar to
`org-insert-drawer'.
Nicolas Goaziou [Fri, 6 Oct 2017 17:35:25 +0000 (6 19:35 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Fri, 6 Oct 2017 17:34:28 +0000 (6 19:34 +0200)]
Fix `org-backward-paragraph' on an empty heading
* lisp/org.el (org-backward-paragraph): Fix behavior on greater
elements without contents.
* testing/lisp/test-org.el (test-org/backward-paragraph): Add test.
Reported-by: Omar Antolin <omar.antolin@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00099.html>
Nicolas Goaziou [Fri, 6 Oct 2017 17:14:21 +0000 (6 19:14 +0200)]
Merge branch 'maint'
Matt Lundin [Fri, 6 Oct 2017 14:50:05 +0000 (6 09:50 -0500)]
Fix interactive timestamp entry in capture templates
* lisp/org-capture.el: (org-capture-fill-template) Fix interactive
timestamp entry to match the behavior of org-time-stamp. This fixes
a bug related to the %^t and %^u template escapes which resulted in
incorrect timestamps (<2017-10-06 Fri-12:00>). The difference
between %^t and %^T now corresponds to the difference between
org-time-stamp called without and with a prefix argument.
Kyle Meyer [Wed, 4 Oct 2017 14:44:35 +0000 (4 10:44 -0400)]
Merge branch 'maint'
Paul Eggert [Mon, 2 Oct 2017 02:53:56 +0000 (1 19:53 -0700)]
Backport commit
5172fa02c from Emacs
Prefer HTTPS to HTTP for gnu.org
5172fa02cccaab2500ecf85aaf65b8deed54d42e
Paul Eggert
Sun Oct 1 19:59:01 2017 -0700
Nicolas Goaziou [Wed, 4 Oct 2017 10:58:41 +0000 (4 12:58 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Wed, 4 Oct 2017 10:57:14 +0000 (4 12:57 +0200)]
Fix `org-backward-paragraph' on block opening line
* lisp/org.el (org-backward-paragraph): Do not error when called from
a block opening line.
* testing/lisp/test-org.el (test-org/backward-paragraph): Add tests.
Reported-by: Omar Antolin <omar.antolin@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00051.html>
Kyle Meyer [Mon, 2 Oct 2017 13:41:35 +0000 (2 09:41 -0400)]
Merge branch 'maint'
Martin Rudalics [Sun, 1 Oct 2017 08:30:33 +0000 (1 10:30 +0200)]
Backport commit
07ea5ef99 from Emacs
* doc/org.texi (A Texinfo example): Fix reference style.
Fix reference style in org.texi
07ea5ef99a509622981a8ca69aadff15cbc0ef10
Martin Rudalics
Sun Oct 1 10:30:33 2017 +0200
<https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00019.html>
Kyle Meyer [Mon, 2 Oct 2017 00:56:08 +0000 (1 20:56 -0400)]
Merge branch 'maint'
Charles A. Roelli [Sat, 30 Sep 2017 18:42:03 +0000 (30 20:42 +0200)]
Backport commit
bd49b6f1b from Emacs
* lisp/org-clock.el (org-clock--oldest-date): Only execute
'decode-time' on times later than year -2**31 under macOS 10.6.
See Bug#27706.
Workaround for faulty localtime() under macOS 10.6
bd49b6f1b39cffeaf6098bc7b0182552683b1c07
Charles A. Roelli
Sun Oct 1 19:07:22 2017 +0200
Paul Eggert [Fri, 29 Sep 2017 23:40:18 +0000 (29 16:40 -0700)]
Backport commit
bbda601d1 from Emacs
; Spelling fixes
bbda601d1d4e125c9d3c374b56eee3e2e9623f1d
Paul Eggert
Fri Sep 29 16:41:50 2017 -0700
Glenn Morris [Fri, 29 Sep 2017 16:49:19 +0000 (29 12:49 -0400)]
Backport commit
26d58f0c5 from Emacs
; Standardize license notices
26d58f0c5865c9132e2fc559e061ef704a086d30
Glenn Morris
Fri Sep 29 12:49:19 2017 -0400
Nicolas Goaziou [Sun, 1 Oct 2017 20:58:24 +0000 (1 22:58 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 1 Oct 2017 20:56:57 +0000 (1 22:56 +0200)]
Fix typo in comment
* testing/lisp/test-org.el (test-org/buffer-property-keys): Remove
spurious word.
Nicolas Goaziou [Sun, 1 Oct 2017 17:02:47 +0000 (1 19:02 +0200)]
Merge branch 'maint'
Nicolas Goaziou [Sun, 1 Oct 2017 16:57:50 +0000 (1 18:57 +0200)]
Fix parsing properties with title or summary type
* testing/lisp/test-org.el (test-org/buffer-property-keys): Ignore
title and summary type when extracting name.
Reported-by: Adrian Bradd <adrian.bradd@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00001.html>