all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Łukasz Stelmach" <l.stelmach@samsung.com>
Cc: 25892@debbugs.gnu.org
Subject: bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group
Date: Thu, 12 Apr 2018 00:09:57 +0200	[thread overview]
Message-ID: <87woxdv1hm.fsf@mouse.gnus.org> (raw)
In-Reply-To: <1488268657-31269-1-git-send-email-l.stelmach@samsung.com> ("Łukasz Stelmach"'s message of "Tue, 28 Feb 2017 08:57:37 +0100")

Ł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





  reply	other threads:[~2018-04-11 22:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87woxdv1hm.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=25892@debbugs.gnu.org \
    --cc=l.stelmach@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.