[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb b6ab1c5 214/449: Only use the summary reply hook
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb b6ab1c5 214/449: Only use the summary reply hook once. |
Date: |
Fri, 27 Nov 2020 23:15:42 -0500 (EST) |
branch: externals/gnorb
commit b6ab1c55ecab2fd49311860631a5d34b5b17e432
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Only use the summary reply hook once.
Most of the functions shadowing Gnus' reply functions simply call into
gnorb-summary-reply. Don't call gnorb-summary-reply-hook if it's going
to get called again later! Pure brain-o.
* lisp/nngnorb.el (gnorb-summary-wide-reply,
gnorb-summary-reply-with-original, gnorb-summary-very-wide-reply,
gnorb-summary-wide-reply-with-original,
gnorb-summary-very-wide-reply-with-original): None of these need to
call the hook.
---
lisp/nngnorb.el | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/lisp/nngnorb.el b/lisp/nngnorb.el
index 165397c..864c78d 100644
--- a/lisp/nngnorb.el
+++ b/lisp/nngnorb.el
@@ -204,20 +204,17 @@ continue to provide tracking of sent messages."
(interactive
(list (and current-prefix-arg
(gnus-summary-work-articles 1))))
- (gnorb-summary-reply yank t)
- (gnorb-summary-reply-hook))
+ (gnorb-summary-reply yank t))
(defun gnorb-summary-reply-with-original (n &optional wide)
(interactive "P")
- (gnorb-summary-reply (gnus-summary-work-articles n) wide)
- (gnorb-summary-reply-hook))
+ (gnorb-summary-reply (gnus-summary-work-articles n) wide))
(defun gnorb-summary-very-wide-reply (&optional yank)
(interactive
(list (and current-prefix-arg
(gnus-summary-work-articles 1))))
- (gnorb-summary-reply yank t (gnus-summary-work-articles yank))
- (gnorb-summary-reply-hook))
+ (gnorb-summary-reply yank t (gnus-summary-work-articles yank)))
(defun gnorb-summary-reply (&optional yank wide very-wide)
(interactive)
@@ -226,14 +223,12 @@ continue to provide tracking of sent messages."
(defun gnorb-summary-wide-reply-with-original (n)
(interactive "P")
- (gnorb-summary-reply-with-original n t)
- (gnorb-summary-reply-hook))
+ (gnorb-summary-reply-with-original n t))
(defun gnorb-summary-very-wide-reply-with-original (n)
(interactive "P")
(gnorb-summary-reply
- (gnus-summary-work-articles n) t (gnus-summary-work-articles n))
- (gnorb-summary-reply-hook))
+ (gnus-summary-work-articles n) t (gnus-summary-work-articles n)))
(defun gnorb-summary-mail-forward (n)
(interactive "P")
- [elpa] externals/gnorb 6653b6c 187/449: Fix gnorb-tracking-initialize, (continued)
- [elpa] externals/gnorb 6653b6c 187/449: Fix gnorb-tracking-initialize, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb f0cfa7b 191/449: Improvements to gnorb-registry-make-entry, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb bdbc96f 195/449: Rename gnorb-gnus-sending-message-info, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ca85930 197/449: First draft of trigger action reworking, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9e880eb 200/449: Improve Gnus summary hinting, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8a0d275 202/449: Docstring for gnorb-registry-org-id-search, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6293b22 208/449: Squash with the trigger action stuff, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 326fcb0 210/449: Document new tracking system, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 096e39a 209/449: Remove the capture-to-child/sibling actions for now, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 04d2951 211/449: Shadow message forwarding in nngnorb summary buffers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb b6ab1c5 214/449: Only use the summary reply hook once.,
Stefan Monnier <=
- [elpa] externals/gnorb 46a8e6b 217/449: Assume creation of attachment dirs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6f868fb 219/449: Fix logic of finding links to reply to, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5182998 228/449: Necessary headers in main file, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ec32255 231/449: Use org-reveal when restoring/triggering, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4da19b0 232/449: Get rid of gnorb-org-mail-todos, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 01f0a31 235/449: Move all *.el files out of lisp/ to top directory, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb eab79ec 241/449: Allow attachment transfers in nngnorb summary buffers, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 20de4ee 104/449: Caching of msg-id to org-id correlations, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb edab89d 110/449: Be more careful about cleaning up attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6375f83 112/449: And append doesn't modify destructively..., Stefan Monnier, 2020/11/27