[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 7950d3a 091/449: Comment and indentation changes
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 7950d3a 091/449: Comment and indentation changes only |
Date: |
Fri, 27 Nov 2020 23:15:15 -0500 (EST) |
branch: externals/gnorb
commit 7950d3a4b7c5a924546b6b1a18dd6ac09c113a54
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Comment and indentation changes only
---
lisp/gnorb-gnus.el | 19 ++++++++++++-------
lisp/gnorb-org.el | 1 +
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 4521b88..c60e6b2 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -349,15 +349,19 @@ if any of the IDs there match the value of the
(interactive "P")
(if (not (memq major-mode '(gnus-summary-mode gnus-article-mode)))
(error "Only works in gnus summary or article mode")
+ ;; We should only store a link if it's not already at the head of
+ ;; `org-stored-links'. There's some duplicate storage, at
+ ;; present. Take a look at calling it non-interactively.
(call-interactively 'org-store-link)
(let* ((org-refile-targets gnorb-gnus-trigger-refile-targets)
- (ref-msg-ids (with-current-buffer gnus-original-article-buffer
- (nnheader-narrow-to-headers)
- (let ((all-refs
- (concat (message-fetch-field "in-reply-to")
- (message-fetch-field "references"))))
- (when all-refs
- (gnus-extract-message-id-from-in-reply-to
all-refs)))))
+ (ref-msg-ids
+ (with-current-buffer gnus-original-article-buffer
+ (nnheader-narrow-to-headers)
+ (let ((all-refs
+ (concat (message-fetch-field "in-reply-to")
+ (message-fetch-field "references"))))
+ (when all-refs
+ (gnus-extract-message-id-from-in-reply-to all-refs)))))
(offer-heading
(when (and (not id) ref-msg-ids)
;; for now we're basically ignoring the fact that
@@ -366,6 +370,7 @@ if any of the IDs there match the value of the
(car (gnorb-org-find-visit-candidates
(list ref-msg-ids)))))
targ)
+ ;; offer to attach attachments!
(if id
(gnorb-trigger-todo-action arg id)
(if (and offer-heading
diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 934642a..890d185 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -36,6 +36,7 @@
this library may, after completion, call org-(agenda-)todo on
relevant headings with these keywords. Set to nil to call
org-todo regardless of TODO type."
+ ;; allowable values should also include 'todo and 'not-done
:group 'gnorb-org
:type 'list)
- [elpa] externals/gnorb bb21414 075/449: Provide more escapes for outgoing capture templates, (continued)
- [elpa] externals/gnorb bb21414 075/449: Provide more escapes for outgoing capture templates, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb cd1f289 076/449: Guess which Org TODO is related to this message, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 856da2b 077/449: Improve `gnorb-gnus-outgoing-make-todo', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5812648 078/449: FUNCTION RENAMING, I'M VERY SORRY, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 582c111 080/449: Let gnorb-gnus-check-outgoing-headers handle news, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 92354d0 082/449: Allow use of some org-mime properties, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b81f3e2 083/449: Don't assume any ID references on incoming messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1cdec4b 086/449: New option gnorb-org-find-candidates-match, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c2a3793 087/449: Don't prompt for action if todo is not possible, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 78e1e2b 090/449: Use custom refile targets in re-attaching files, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7950d3a 091/449: Comment and indentation changes only,
Stefan Monnier <=
- [elpa] externals/gnorb f5d451e 092/449: New nngnorb mail backend, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e62587f 095/449: Yeesh, assigning to global variable by accident, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8fef972 097/449: Gnorb nnir engine doesn't take extra criteria, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7f67221 098/449: Allow for more "query" types in nnir-run-gnorb, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d394ed3 099/449: Let nnir-run-gnorb handle gnus version 5.13, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e3db6ae 111/449: Return visit candidates correctly., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4a845bd 116/449: Who knew there's actually a version= function?, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 85797d0 120/449: Be more careful about what MIME parts we attach, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e4ab4d5 122/449: Finer control over how attachments are saved, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5d20bb5 125/449: Clean up saved sent-message info, Stefan Monnier, 2020/11/27