emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org e1b8d1d: org-colview: Do not choke when upd


From: ELPA Syncer
Subject: [elpa] externals-release/org e1b8d1d: org-colview: Do not choke when updating a special property
Date: Wed, 7 Apr 2021 13:57:11 -0400 (EDT)

branch: externals-release/org
commit e1b8d1d2b4ef46e0c4ef591536a77eeeed45d998
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    org-colview: Do not choke when updating a special property
    
    * lisp/org-colview.el (org-columns--compute-spec): Do not update
    special properties, which are not set through property drawers.
    
    Reported-by: Nick Dokos <ndokos@gmail.com>
    <http://lists.gnu.org/r/emacs-orgmode/2021-04/msg00135.html>
---
 lisp/org-colview.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/org-colview.el b/lisp/org-colview.el
index 75056d4..d80fa8e 100644
--- a/lisp/org-colview.el
+++ b/lisp/org-colview.el
@@ -1167,7 +1167,12 @@ properties drawers."
         (printf (nth 4 spec))
         (operator (nth 3 spec))
         (collect (and operator (org-columns--collect operator)))
-        (summarize (and operator (org-columns--summarize operator))))
+        (summarize (and operator (org-columns--summarize operator)))
+         ;; Special properties are not set in a property drawer, and
+         ;; therefore should not be updated.
+         (update
+          (and update
+               (not (member property org-special-properties)))))
     (org-with-wide-buffer
      ;; Find the region to compute.
      (goto-char org-columns-top-level-marker)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]