[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 7e9235f 138/449: First highly ugly version of gno
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 7e9235f 138/449: First highly ugly version of gnorb-gnus-view |
Date: |
Fri, 27 Nov 2020 23:15:25 -0500 (EST) |
branch: externals/gnorb
commit 7e9235fa4383a3d79bb7f05b62f170dfc4d76378
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
First highly ugly version of gnorb-gnus-view
lisp/gnorb-gnus.el: (gnorb-gnus-view) I hesitate to call this a
function. Mostly I'm getting it committed so I can
rebase something else.
---
lisp/gnorb-gnus.el | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 084755d..d70ed1d 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -542,5 +542,22 @@ option `gnorb-gnus-hint-relevant-article' is non-nil."
(split-string ref-ids)))
gnorb-gnus-summary-mark
" "))))
+
+(defun gnorb-gnus-view ()
+ "Display the first relevant TODO heading for the message under point"
+ ;; this is pretty barebones, need to make sure we have a valid
+ ;; article buffer to access, and think about what to do for
+ ;; window-configuration!
+
+ ;; boy is this broken now.
+ (interactive)
+ (let ((refs (gnus-fetch-original-field "references"))
+ rel-headings)
+ (when refs
+ (setq refs (split-string refs))
+ (setq rel-headings (gnorb-org-find-visit-candidates refs))
+ (delete-other-windows)
+ (org-id-goto (caar rel-headings)))))
+
(provide 'gnorb-gnus)
;;; gnorb-gnus.el ends here
- [elpa] externals/gnorb d394ed3 099/449: Let nnir-run-gnorb handle gnus version 5.13, (continued)
- [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
- [elpa] externals/gnorb 908cdee 107/449: Slight improvement to point placement in new messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a083a99 114/449: First draft: BBDB field for saving links to messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e33a758 127/449: Clearer docstring, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f3f3bf2 128/449: Fix Agenda BBDB popup for searches with no tags, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7e9235f 138/449: First highly ugly version of gnorb-gnus-view,
Stefan Monnier <=
- [elpa] externals/gnorb a51a99d 142/449: Speedier display of messages in nnir search, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0b7c640 074/449: Make use of the multivalued property functions, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f3e56d2 042/449: gnorb-org-mail-todos -- new docstring and default, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8f598e1 044/449: Delete previous commented function, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b5d3731 046/449: What on earth was that still doing there?, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0db3991 051/449: Move mail search backend stuff to gnorb-gnus, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9fff78a 057/449: Changing email TODO handling to operate by org ID, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 30afb67 068/449: Various docstring and comment edits., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7052248 069/449: New generalized function gnorb-trigger-todo-action, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 70b5534 070/449: Make TODOs from outgoing messages, Stefan Monnier, 2020/11/27