[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 8fc575c 108/449: Improvements to incoming message
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 8fc575c 108/449: Improvements to incoming message handling |
Date: |
Fri, 27 Nov 2020 23:15:19 -0500 (EST) |
branch: externals/gnorb
commit 8fc575cdeddd325aae918180433079c72c443ef3
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Improvements to incoming message handling
lisp/gnorb-gnus.el: Function `gnorb-gnus-incoming-do-todo' now checks
all the referenced msg-ids for relevance.
---
lisp/gnorb-gnus.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 7a5acb3..5cf11d3 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -368,7 +368,9 @@ In some cases, Gnorb can guess for you which Org heading you
probably want to trigger, which can save some time. It does this
by looking in the References and In-Reply-To headers, and seeing
if any of the IDs there match the value of the
-`gnorb-org-msg-id-key' property for any headings."
+`gnorb-org-msg-id-key' property for any headings. In order for
+this to work, you will have to have loaded org-id, and have the
+variable `org-id-track-globally' set to t."
(interactive "P")
(if (not (memq major-mode '(gnus-summary-mode gnus-article-mode)))
(error "Only works in gnus summary or article mode")
@@ -379,12 +381,11 @@ if any of the IDs there match the value of the
(let* ((org-refile-targets gnorb-gnus-trigger-refile-targets)
(ref-msg-ids
(with-current-buffer gnus-original-article-buffer
- (nnheader-narrow-to-headers)
+ (message-narrow-to-headers-or-head)
(let ((all-refs
- (concat (message-fetch-field "in-reply-to")
- (message-fetch-field "references"))))
+ (message-fetch-field "references")))
(when all-refs
- (gnus-extract-message-id-from-in-reply-to all-refs)))))
+ (split-string all-refs)))))
(offer-heading
(when (and (not id) ref-msg-ids)
(if org-id-track-globally
- [elpa] externals/gnorb 5a86970 109/449: Improvements to outgoing todo handling, (continued)
- [elpa] externals/gnorb 5a86970 109/449: Improvements to outgoing todo handling, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ac97c90 118/449: Let gnorb-org-view work in the Agenda as well, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a512d40 124/449: Largely re-wrote gnorb-gnus-outgoing-do-todo, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dad66e6 131/449: Better separate triggering for sent/received msgs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb baf896c 100/449: Cruft! How the hell did that happen?, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3ffcdab 101/449: Create .gitignore file, ignoring *elc files, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9bf56f2 135/449: Refactor extraction of mails from records, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c6b7c04 137/449: Minor README edits, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e44ece6 102/449: Multiple misnamed variables in bbdb posting styles, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9f5466d 103/449: Edits courtesy of byte-compiler warnings, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8fc575c 108/449: Improvements to incoming message handling,
Stefan Monnier <=
- [elpa] externals/gnorb a9d7518 113/449: Make sure we're visiting an id when we cache it, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d7f6301 123/449: Possibly safer arguments to nnir group creation, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 74c5cef 134/449: Add (probably unnecessary) &optional to prefix args, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 689bdd3 148/449: Use = not eq for numbers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 31304ac 151/449: Whoops, we were using that, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7cf46c3 149/449: Don't use `read' when there's nothing to read, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ab9b441 147/449: Clearing list of saved attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3b6007a 152/449: Autoload cookies all around, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ecf161e 154/449: Use copy-sequence on message-mode-hook!, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb fc9b6cf 153/449: Use existing functions for mime handles, Stefan Monnier, 2020/11/27