[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 9d64acb 292/449: Update gnorb-registry-capture to
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 9d64acb 292/449: Update gnorb-registry-capture to use convenience funcs |
Date: |
Fri, 27 Nov 2020 23:15:58 -0500 (EST) |
branch: externals/gnorb
commit 9d64acbe35f5d7cd25c869c61b4954a8c8f181f2
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Update gnorb-registry-capture to use convenience funcs
* gnorb-registry.el (gnorb-registry-capture): Should be using
`gnorb-bracket-message-id', and also `gnorb-registry-make-entry'. Was
reduplicating effort
---
gnorb-registry.el | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/gnorb-registry.el b/gnorb-registry.el
index 9ff4ab3..f72262e 100644
--- a/gnorb-registry.el
+++ b/gnorb-registry.el
@@ -85,15 +85,11 @@ to the message's registry entry, under the 'gnorb-ids key."
(memq major-mode '(gnus-summary-mode gnus-article-mode)))
(not org-note-abort))
(let* ((msg-id
- (format "<%s>" (plist-get org-store-link-plist :message-id)))
- (entry (gnus-registry-get-or-make-entry msg-id))
- (org-ids
- (gnus-registry-get-id-key msg-id 'gnorb-ids))
- (new-org-id (org-id-get-create)))
- (plist-put org-capture-plist :gnorb-id new-org-id)
- (setq org-ids (cons new-org-id org-ids))
- (setq org-ids (delete-dups org-ids))
- (gnus-registry-set-id-key msg-id 'gnorb-ids org-ids))))
+ (gnorb-bracket-message-id
+ (plist-get org-store-link-plist :message-id)))
+ (org-id (org-id-get-create)))
+ (plist-put org-capture-plist :gnorb-id org-id)
+ (gnorb-registry-make-entry msg-id nil nil org-id nil))))
(defun gnorb-registry-capture-abort-cleanup ()
- [elpa] externals/gnorb a6916b6 402/449: Allow gnorb-msg-id-request-head to accept a "group" argument, (continued)
- [elpa] externals/gnorb a6916b6 402/449: Allow gnorb-msg-id-request-head to accept a "group" argument, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a1c8f0e 417/449: [gnorb] Small gnorb-org bugs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 034f10a 434/449: [gnorb] Use characterp, not numberp, for testing register key, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e1dae56 430/449: [gnorb] Only output summary-line info if registry exists, bump, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c3279d2 284/449: Fix tracking messages from virtual groups, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 41c6778 286/449: nngnorb should be a virtual server, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6e6ee46 285/449: Zap another with-eval-after-load, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 09679fa 287/449: Misspelled function name, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f585c03 290/449: condition-case the incoming trigger process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 821a6b2 289/449: Allow bulk association of messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9d64acb 292/449: Update gnorb-registry-capture to use convenience funcs,
Stefan Monnier <=
- [elpa] externals/gnorb cc7d45b 291/449: Be more careful handling org tags on BBDB records, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 84ff7a7 294/449: Don't let attach errors derail the trigger process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9c910c9 296/449: Re-raise errors in the triggering process, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a4089f8 297/449: Fix completing-read in message disassociation, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 648f5a7 295/449: Remove process mark after bulk association, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 94fe1b8 299/449: Incorporate changes from Stefan M, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d2e1e11 298/449: Mention registry bugs in README, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9efae5a 308/449: Fix call to cl-subseq, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 160f43a 309/449: New function for returning all tracked messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3f9c534 312/449: Report Gnorb email tracking usage, Stefan Monnier, 2020/11/27