[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 5812648 078/449: FUNCTION RENAMING, I'M VERY SORR
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 5812648 078/449: FUNCTION RENAMING, I'M VERY SORRY |
Date: |
Fri, 27 Nov 2020 23:15:12 -0500 (EST) |
branch: externals/gnorb
commit 5812648fb2bb114c554a1f5c61091537e816151a
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
FUNCTION RENAMING, I'M VERY SORRY
lisp/gnorb-gnus.el: Committing the cardinal sin of renaming user-facing
commands. My only excuse is that no one's probably
using this package yet.
gnorb-gnus-outgoing-make-todo is now
gnorb-gnus-outgoing-do-todo.
gnorb-gnus-message-trigger-todo is now
gnorb-gnus-incoming-do-todo.
gnorb-gnus-trigger-refile-args is now
gnorb-gnus-trigger-refile-targets.
Penance is being done, this won't happen again.
---
lisp/gnorb-gnus.el | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index 30aa6f6..7df6df1 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -78,10 +78,11 @@ Basically behave as if all attachments have
\":gnus-attachments t\"."
:group 'gnorb-gnus
:type 'string)
-(defcustom gnorb-gnus-trigger-refile-args '((org-agenda-files :maxlevel . 4))
+(defcustom gnorb-gnus-trigger-refile-targets
+ '((org-agenda-files :maxlevel . 4))
"A value to use as an equivalent of `org-refile-targets' (which
see) when offering trigger targets for
- `gnorb-gnus-message-trigger-todo'."
+ `gnorb-gnus-incoming-do-todo'."
:group 'gnorb-gnus
:type 'list)
@@ -272,18 +273,12 @@ information about the outgoing message into
(add-hook 'message-header-hook 'gnorb-gnus-check-outgoing-headers)
-(defun gnorb-gnus-outgoing-make-todo (arg)
- "Call this function to turn the message currently being
-composed into an email todo action. If it's a new message, or a
-reply to a message that isn't referenced by any TODOs, a new TODO
-will be created. If it is referenced, you'll be prompted to
-trigger a state-change or a note on that TODO, via
-`gnorb-gnus-message-trigger-todo' (this is a lie, I haven't
-implemented this yet -- it will only make a new TODO).
-
-You can call this either in the message buffer, while you're
-composing the message, or after the message is sent: information
-is saved for the most recently-sent email.
+(defun gnorb-gnus-outgoing-do-todo (arg)
+ "Call this function to use the message currently being composed
+as an email todo action. If it's a new message, or a reply to a
+message that isn't referenced by any TODOs, a new TODO will be
+created. If it references an existing TODO, you'll be prompted to
+trigger a state-change or a note on that TODO.
If a new todo is made, it needs a capture template: set
`gnorb-gnus-new-todo-capture-key' to the string key for the
@@ -335,7 +330,7 @@ work."
;;; If an incoming message should trigger state-change for a Org todo,
;;; call this function on it.
-(defun gnorb-gnus-message-trigger-todo (arg &optional id)
+(defun gnorb-gnus-incoming-do-todo (arg &optional id)
"Call this function from a received gnus message to store a
link to the message, prompt for a related Org heading, visit the
heading, and either add a note or trigger a TODO state change.
- [elpa] externals/gnorb e472348 073/449: New hook gnorb-org-after-message-setup-hook, (continued)
- [elpa] externals/gnorb e472348 073/449: New hook gnorb-org-after-message-setup-hook, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a165584 041/449: Handle return from mail sending better, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7ffc885 043/449: Commenting out my re-implementation of map-y-or-n-p, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6152e85 059/449: Comments on editing messages, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d786b81 063/449: Random comment edits and indenting changes., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 77698aa 071/449: Split 'gnorb-org-email-subtree-parameters', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3a2cd3b 072/449: Improve scanning of headings for mail actions, Stefan Monnier, 2020/11/27
- [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 <=
- [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, 2020/11/27
- [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