emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Following gnus links: Don't mark unrelated articles read


From: Matt Lundin
Subject: Re: [O] [PATCH] Following gnus links: Don't mark unrelated articles read
Date: Sun, 22 Apr 2012 11:29:15 -0500
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux)

Matt Lundin <address@hidden> writes:

> * lisp/org-gnus.el: (org-gnus-follow-link): Fix argument to
>   gnus-group-read-group so that following a link does not result in
>   unread article being selected.
>
> The NO-ARTICLE argument to gnus-group-read-group should be t.
> Otherwise org-gnus-follow-link selects the most unread article in a
> group before selecting the linked article. This results in unread
> articles being unread (which can cause one to miss important mail).
           ^^^^^^^^^^^^
The above should read "being marked read."

> ---
>  lisp/org-gnus.el |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el
> index 5b855c2..50d91be 100644
> --- a/lisp/org-gnus.el
> +++ b/lisp/org-gnus.el
> @@ -272,7 +272,7 @@ If `org-store-link' was called with a prefix arg the 
> meaning of
>                              ;; stop on integer overflows
>                              (> articles 0))
>                    (setq group-opened (gnus-group-read-group
> -                                      articles nil group)
> +                                      articles t group)
>                          articles (if (< articles 16)
>                                       (1+ articles)
>                                     (* articles 2))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]