[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb aedf0f2 169/449: Show status of relevant todo whe
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb aedf0f2 169/449: Show status of relevant todo when hinting messages |
Date: |
Fri, 27 Nov 2020 23:15:32 -0500 (EST) |
branch: externals/gnorb
commit aedf0f207aba6f9c143621d08b304d71e8067928
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Show status of relevant todo when hinting messages
It can be helpful to know the TODO state keyword of the relevant org
heading when hinting from a gnus buffer.
* lisp/gnorb-gnus.el (gnorb-gnus-hint-relevant-message): Retrieve
current TODO state keyword of relevant heading.
---
lisp/gnorb-gnus.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index c918465..34fe4bd 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -624,7 +624,11 @@ option `gnorb-gnus-hint-relevant-article' is non-nil."
(setq ref-ids (split-string ref-ids))
(when (setq rel-headings
(gnorb-org-find-visit-candidates ref-ids))
- (message "Possible relevant TODO: %s, trigger with %s"
+ (message "Possible relevant todo (%s): %s, trigger with %s"
+ (org-with-point-at (org-id-find
+ (caar rel-headings) t)
+ (org-element-property
+ :todo-keyword (org-element-at-point)))
(org-format-outline-path
(cadr (car rel-headings)))
(if key
- [elpa] externals/gnorb 86f288a 331/449: Fix matching of posting styles, pt 2, (continued)
- [elpa] externals/gnorb 86f288a 331/449: Fix matching of posting styles, pt 2, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b632038 332/449: gnorb-registry.el: Check for old version of registry, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 894b96c 334/449: Additional guard for non-existent headings, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 73af267 340/449: Remove cruft in gnorb-registry-transition-from-props, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb bd4246d 344/449: Check for live Gnus before following a link, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0889540 348/449: Refine matching of user email address, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb aa8d041 350/449: Mention 'all option in gnorb-org-mail-scan-scope, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 06b0e09 351/449: Update to match new version of BBDB, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 16931d7 352/449: New utility function gnorb-select-from-list, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c8521d4 156/449: gnorb-org-mail-todos should be nil by default, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb aedf0f2 169/449: Show status of relevant todo when hinting messages,
Stefan Monnier <=
- [elpa] externals/gnorb 67edd80 239/449: Use mail-header-references, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dfa0043 300/449: Safer usage of cl-subseq, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2d30b0c 310/449: Reset window conf after nnir-run-gnorb, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a59dac2 317/449: Use hook for determining Gnorb summary minor mode, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7fcde77 328/449: Handle renaming of Org variable, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d754d2f 336/449: Fixing `gnorb-bbdb-postings-styles', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 984d5e6 338/449: gnorb-org.el: Don't use nreverse, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7ea06f9 339/449: Delete gnorb-prompt-for-bbdb-record, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e2afc4b 355/449: Switch on lexical binding across the board, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7d14112 358/449: Trying to fix issue #30., Stefan Monnier, 2020/11/27