From 2d1e2606e7bad92655ad5ddd207fc14bbaed7e5d Mon Sep 17 00:00:00 2001 From: "Kevin J. Foley" Date: Sun, 18 Oct 2020 21:30:52 -0400 Subject: [PATCH 1/3] org-refile.el (org-refile): Add description of RFLOC to docstring * lisp/org-refile.el (org-refile): Document structure of RFLOC parameter. --- lisp/org-refile.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lisp/org-refile.el b/lisp/org-refile.el index 7eb0a9643..2a3fad53e 100644 --- a/lisp/org-refile.el +++ b/lisp/org-refile.el @@ -414,7 +414,16 @@ being set to t and copy to the target location, don't move it. Beware that keeping refiled entries may result in duplicated ID properties. -RFLOC can be a refile location obtained in a different way. +RFLOC can be a refile location obtained in a different way. It +should be a list with the following 4 elements: + +1. Name - an identifier for the refile location, typically the +headline text +2. File - the file the refile location is in +3. nil - used for generating refile location candidates, not +needed when passing RFLOC +4. Position - the position in the specified file of the +headline to refile under MSG is a string to replace \"Refile\" in the default prompt with another verb. E.g. `org-copy' sets this parameter to \"Copy\". From 90b14cb409adbd5529b8bbef32ad5239e5c85404 Mon Sep 17 00:00:00 2001 From: Martin Kampas Date: Mon, 19 Oct 2020 07:29:05 +0200 Subject: [PATCH 2/3] org-colview: Fix done keywords highlighting in agenda buffers * lisp/org-colview.el (org-agenda-columns): Populate org-done-keywords from org-done-keywords-for-agenda or the done keywords will use the same face as those not-done. TINYCHANGE --- lisp/org-colview.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index e50a4d7c8..565bdb2dd 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1586,6 +1586,7 @@ PARAMS is a property list of parameters: (move-marker org-columns-begin-marker (point)) (setq org-columns-begin-marker (point-marker))) (let* ((org-columns--time (float-time)) + (org-done-keywords org-done-keywords-for-agenda) (fmt (cond ((bound-and-true-p org-overriding-columns-format)) From edfafa909064e3b4e6533c0b71adbb009b037bcb Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 20 Oct 2020 00:39:28 -0400 Subject: [PATCH 3/3] org.el: Autoload org-load-modules-maybe * lisp/org.el (org-load-modules-maybe): Autoload. org-store-link and orgtbl-mode both 1) call org-load-modules-maybe at the start of their execution, 2) can be used outside of Org mode, and 3) are in libraries that do not load org.el (instead org.el loads them). Autoload org-load-modules-maybe to avoid an error if these are called before org.el is loaded. Reported-by: Tim Frana Ref: https://orgmode.org/list/5e0f0216-44d8-c909-3757-4d95650445ef@mailbox.org --- lisp/org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org.el b/lisp/org.el index 6d2947621..db7f83825 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -662,6 +662,7 @@ defined in org-duration.el.") (defvar org-modules-loaded nil "Have the modules been loaded already?") +;;;###autoload (defun org-load-modules-maybe (&optional force) "Load all extensions listed in `org-modules'." (when (or force (not org-modules-loaded))