[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 2c0f43d 249/449: Refinements to link extraction
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 2c0f43d 249/449: Refinements to link extraction |
Date: |
Fri, 27 Nov 2020 23:15:49 -0500 (EST) |
branch: externals/gnorb
commit 2c0f43df676ef020ea36541f5958aff0852f452b
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Refinements to link extraction
* gnorb-org.el (gnorb-org-extract-mail-tracking): Only return a message
link if we're completely sure we've got a valid one.
---
gnorb-org.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnorb-org.el b/gnorb-org.el
index bc46eda..86dba6e 100644
--- a/gnorb-org.el
+++ b/gnorb-org.el
@@ -227,18 +227,21 @@ See the docstring of `gnorb-org-handle-mail' for details."
(lambda (r l)
(time-less-p
(car (gnus-registry-get-id-key l 'creation-time))
- (car (gnus-registry-get-id-key r 'creation-time)))))))))
+ (car (gnus-registry-get-id-key r 'creation-time))))))))
+ (msg-id-link
+ (when latest-msg-id
+ (gnorb-msg-id-to-link latest-msg-id))))
(cond
;; If there are no tracked messages, or the user has specifically
;; requested we ignore them with the prefix arg, just return the
;; found links in the subtree.
((or arg
- (null latest-msg-id))
+ (null msg-id-link))
all-links)
;; Otherwise ignore the other links in the subtree, and return
;; the latest message.
- (latest-msg-id
- `(:gnus ,(list (gnorb-msg-id-to-link latest-msg-id)))))))
+ (msg-id-link
+ `(:gnus ,(list msg-id-link))))))
(defun gnorb-org-setup-message
(&optional messages mails from cc bcc attachments text ids)
- [elpa] externals/gnorb a9535ae 223/449: Merge branch 'registry', (continued)
- [elpa] externals/gnorb a9535ae 223/449: Merge branch 'registry', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dd4e013 225/449: Restore action shouldn't quit summary buffer, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 08e0742 229/449: Empty News and gnorb.texi files, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb bcfd501 236/449: gitignore Elpa-generated stuff, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 55a630d 238/449: Gnus hinting needs to check in-reply-to as well, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d2831b8 237/449: Refactor summary buffer hinting into separate function, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2be4a71 240/449: Save point with marker when adding headers to replies, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ba99110 242/449: Check for relevant headings when handling attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1a0cfc7 243/449: Delete duplicates before and after finding candidates, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 35284f2 248/449: Add TODO for collecting BBDB messages by thread, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2c0f43d 249/449: Refinements to link extraction,
Stefan Monnier <=
- [elpa] externals/gnorb e1fb666 257/449: Function for deleting all assocations of an Org heading, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5688114 258/449: Bugfix: Adding mailtos to newly-setup messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 04ec3ab 264/449: Fix logic of choosing heading to trigger, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb de0dff5 274/449: Protection for message disassociation, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 321b23b 276/449: Remove gnus-interactive, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8a9c167 277/449: Fix the cl-lib loading stuff, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb fd91084 278/449: Remove incorrect "fix" for Gnus 5.13, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c8b80c5 282/449: Bugfix for gnorb-gnus-view, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9220a10 283/449: Docstring fix, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4b19c83 288/449: New function for pruning dead associations, Stefan Monnier, 2020/11/27