Discussion:
OK to push Org bugfixes for next Emacs?
(too old to reply)
Rasmus
2018-05-05 18:24:52 UTC
Permalink
Hi,

I would like to merge the attached patch that would update Org to 9.1.12.
They are all minor fixes (from the perspective of the Org devs).

Thanks,
Rasmus

Here is list of changes according to the git log:

* lisp/org.el (org-open-link-from-string): Fix bug when links contain special characters.
* lisp/org-attach.el: (org-attach-annex-get-maybe) Ensure shell
command that checks whether a git-annex file exists is called from
within the git-annex repository. Otherwise, it will result in an
error.
* lisp/org-agenda.el (org-tags-view): Don't leave an empty
*Org agenda* buffer when keyboard-quitting the match prompt.
* lisp/org-agenda.el (org-search-view): Remove agenda-archives even
with buffer restriction.
* lisp/org.el (org-fast-tag-selection): Fix
"(wrong-number-of-arguments max 0)" error when setting tag and no
tag is defined.
* lisp/org-eww.el (org-eww-copy-for-org-mode): Fix typo in docstring.
* doc/org.texi (Time-of-day specifications): Document
`org-agenda-search-headline-for-time'.
* lisp/org.el (org--tag-add-to-alist): Preserve order when merging tag
alists. Remove duplicates only when they are outside a group.
Rename from `org-tag-add-to-alist'.
(org-set-regexps-and-options):
(org-global-tags-completion-table):
(org-make-tags-matcher):
(org-set-tags):
(org-change-tag-in-region):
(org-agenda-prepare-buffers): Apply renaming.
* doc/org.texi (Editing source code, Export settings)
(Closing items, Drawers, Structure editing): Fix use of
@key. For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00390.html.
(backport)
* lisp/org-capture.el (org-capture-finalize): Fix error on capture abort.
Do not set `abort-note' to `dirty' too easily.
* lisp/org-capture.el (org-capture-fill-template): Fix "%x"
placeholder when clipboard is empty.
* lisp/ox-md.el (org-md--build-toc): Tiny refactoring.
(org-md--build-toc): When exporting markdown with ToC, if heading
numbering is not enabled, ToC will be shown as an unordered list.
* doc/org.texi (Markdown export): Clarify `md' and `html' back-ends relationship.
* org.el (org-timestamp-up): Document undocumented behavior.
(org-timestamp-up): The function changes the timestamp type when
the point is on the enclosing bracket. The documentation now
reflects that behavior.
* org.el (org-timestamp-down): Document undocumented behavior.
(org-timestamp-down): The function changes the timestamp type when
the point is on the enclosing bracket. The documentation now
reflects that behavior.
* lisp/org.el (org-kill-line): Fix error message.
* lisp/org-inlinetask.el (org-inlinetask-end-p): New function.
(org-inlinetask-at-task-p):
(org-inlinetask-in-task-p):
(org-inlinetask-goto-beginning):
(org-inlinetask-goto-end):
* lisp/org.el (org-scan-tags): Use new function.
The above changes remove inlinetask END part from Agenda view
* lisp/org-w3m.el (org-w3m-copy-for-org-mode):
* lisp/org-eww.el (org-eww-copy-for-org-mode): Do not error when
called on blank links.
* lisp/org.el (org-file-apps): Fix regexp in docstring.
* lisp/org-capture.el (org-capture-set-target-location): Handle
non-default `org-extend-today-until'.
* lisp/org-table.el (org-table-align): Fix alignment with long links.
* lisp/org.el (org-return): Follow multi-line links.
lisp/ob-sed.el (org-babel-execute:sed): Change file flag to "-f"
instead of "--file" to support BSD sed as well.
* lisp/org-agenda.el (org-agenda-list): Condition the call to
`recenter` only when the buffer has a window associated.

This permit to call `org-agenda-list` in a `with-temp-buffer` like
below:

(with-temp-buffer
(let ((org-agenda-sticky nil)
(org-agenda-buffer-tmp-name (buffer-name)))
(org-agenda-list 1)
(buffer-string))
* lisp/ob-python.el (org-babel-python-evaluate-session): Small
refactoring.
* lisp/ob-python.el (org-bable-python-evaluate-session):
Insert blank line when sending code to interpreter
Syntax error occurs when evaluating the following code block:

\#+begin_src python :session
if True:
1
2
\#+end_src

A blank line is required for top level module code to end an indented block, such as a for loop, try/except, or if statement.

https://www.python.org/dev/peps/pep-0008/#blank-line
* doc/org.texi (Installation): Fix clone commands. (backport)
* doc/org.texi (@code{capture} protocol): Add missing protocol.
--
You people at the NSA are becoming my new best friends!
Eli Zaretskii
2018-05-05 18:39:49 UTC
Permalink
Date: Sat, 05 May 2018 20:24:52 +0200
I would like to merge the attached patch that would update Org to 9.1.12.
They are all minor fixes (from the perspective of the Org devs).
Thanks, this is fine for the master branch. (The org.texi changes
could go to the emacs-26 branch, where they document code and
behaviors existing on the branch.)

Loading...