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

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

[elpa] externals/gnorb ade7ee8 163/449: Make hash entries for new sent-m


From: Stefan Monnier
Subject: [elpa] externals/gnorb ade7ee8 163/449: Make hash entries for new sent-message TODOs
Date: Fri, 27 Nov 2020 23:15:31 -0500 (EST)

branch: externals/gnorb
commit ade7ee8621466d7e007764e7474641b8c26237b4
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Make hash entries for new sent-message TODOs
    
    * lisp/gnorb-gnus.el (gnorb-gnus-outgoing-make-todo-1) Completely new
      capture TODOs, made from fresh sent messages, were not getting put
      into the tracking hash. All other codepaths led to
      gnorb-trigger-todo-action, where that was happening. Whoops.
---
 lisp/gnorb-gnus.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 0eb1e3e..f9b92f6 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -453,7 +453,8 @@ work."
            :annotation link))
     (org-capture nil gnorb-gnus-new-todo-capture-key)
     (when msg-id
-      (org-entry-put (point) gnorb-org-msg-id-key msg-id))
+      (org-entry-put (point) gnorb-org-msg-id-key msg-id)
+      (gnorb-org-add-id-hash-entry msg-id))
     ;; It would be better to only do this if we knew the capture went
     ;; through, ie wasn't aborted.
     (setq gnorb-gnus-sending-message-info nil)))



reply via email to

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