* bug#25892: 24.4; gnus-after-getting-new-news-hook is not fired when running gnus-summary-rescan-group
[not found] <CGME20170227140711eucas1p119772dd3e1c68c5ef0ae797853a7a984@eucas1p1.samsung.com>
@ 2017-02-27 14:07 ` Łukasz Stelmach
2017-02-28 7:57 ` bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group Łukasz Stelmach
[not found] ` <CGME20170227172500epcas3p14b7ec2406fb01424c8557c43782dff9e@epcas3p1.samsung.com>
0 siblings, 2 replies; 4+ messages in thread
From: Łukasz Stelmach @ 2017-02-27 14:07 UTC (permalink / raw)
To: 25892
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
Hi,
Unlike in pressing g in the *Group* buffer M-g in *Summmary…* buffers
doesn't activate hooks in gnus-after-getting-new-news-hook.
My patch will follow this report.
--
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group
2017-02-27 14:07 ` bug#25892: 24.4; gnus-after-getting-new-news-hook is not fired when running gnus-summary-rescan-group Łukasz Stelmach
@ 2017-02-28 7:57 ` Łukasz Stelmach
2018-04-11 22:09 ` Lars Ingebrigtsen
[not found] ` <CGME20170227172500epcas3p14b7ec2406fb01424c8557c43782dff9e@epcas3p1.samsung.com>
1 sibling, 1 reply; 4+ messages in thread
From: Łukasz Stelmach @ 2017-02-28 7:57 UTC (permalink / raw)
To: 25892; +Cc: Łukasz Stelmach
* lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group):
Run gnus-after-getting-new-news-hook after scanning selected groups.
---
lisp/gnus/gnus-group.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 2488cdb..72a4870 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -4093,6 +4093,7 @@ If DONT-SCAN is non-nil, scan non-activated groups as well."
method (gnus-group-real-name group) active))
(gnus-group-update-group group nil t))
(gnus-error 3 "%s error: %s" group (gnus-status-message group))))
+ (gnus-run-hooks 'gnus-after-getting-new-news-hook)
(when beg
(goto-char beg))
(when gnus-goto-next-group-when-activating
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group
2017-02-28 7:57 ` bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group Łukasz Stelmach
@ 2018-04-11 22:09 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-11 22:09 UTC (permalink / raw)
To: Łukasz Stelmach; +Cc: 25892
Łukasz Stelmach <l.stelmach@samsung.com> writes:
> * lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group):
> Run gnus-after-getting-new-news-hook after scanning selected groups.
> ---
> lisp/gnus/gnus-group.el | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
> index 2488cdb..72a4870 100644
> --- a/lisp/gnus/gnus-group.el
> +++ b/lisp/gnus/gnus-group.el
> @@ -4093,6 +4093,7 @@ If DONT-SCAN is non-nil, scan non-activated groups as well."
> method (gnus-group-real-name group) active))
> (gnus-group-update-group group nil t))
> (gnus-error 3 "%s error: %s" group (gnus-status-message group))))
> + (gnus-run-hooks 'gnus-after-getting-new-news-hook)
> (when beg
> (goto-char beg))
> (when gnus-goto-next-group-when-activating
Thanks; applied to Emacs 27.1.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <CGME20170227172500epcas3p14b7ec2406fb01424c8557c43782dff9e@epcas3p1.samsung.com>]
end of thread, other threads:[~2018-04-11 22:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20170227140711eucas1p119772dd3e1c68c5ef0ae797853a7a984@eucas1p1.samsung.com>
2017-02-27 14:07 ` bug#25892: 24.4; gnus-after-getting-new-news-hook is not fired when running gnus-summary-rescan-group Łukasz Stelmach
2017-02-28 7:57 ` bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group Łukasz Stelmach
2018-04-11 22:09 ` Lars Ingebrigtsen
[not found] ` <CGME20170227172500epcas3p14b7ec2406fb01424c8557c43782dff9e@epcas3p1.samsung.com>
[not found] ` <handler.25892.B.14882161946507.ack@debbugs.gnu.org>
2017-02-28 8:05 ` bug#25892: Acknowledgement (24.4; gnus-after-getting-new-news-hook is not fired when running gnus-summary-rescan-group) Łukasz Stelmach
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.