Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@pdc.kth.se>
Cc: ding@gnus.org
Subject: Re: 1 g doen't update my mail groups with Gnus 5.8.2
Date: 09 Dec 1999 21:11:02 +0100	[thread overview]
Message-ID: <ilubt7zj2nd.fsf@badis.pdc.kth.se> (raw)
In-Reply-To: Finn Nielsen's message of "09 Dec 1999 17:15:29 +0100"

Finn Nielsen <lists@zznyyd.dk> writes:

> > See article  <ilupuwmjjz8.fsf@badis.pdc.kth.se>.
> 
> Thanks, that patch seems to work.

Could you please try this patch instead?     I've commited it.

(You need to revert the above patch before applying this one.)

Index: gnus-start.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-start.el,v
retrieving revision 5.46
diff -w -u -r5.46 gnus-start.el
--- gnus-start.el       1999/12/05 03:00:20     5.46
+++ gnus-start.el       1999/12/09 20:03:43
@@ -1550,7 +1550,15 @@
                  (setcdr (assoc method retrievegroups)
                          (cons group (cdr (assoc method retrievegroups))))
                (push (list method group) retrievegroups))
-           (if (member method scanned-methods)
+           ;; hack: `nnmail-get-new-mail' changes the mail-source depending
+           ;; on the group, so we must perform a scan for every group
+           ;; if the users has any directory mail sources.
+           (if (and (null (assq 'directory
+                                (or mail-sources
+                                    (if (listp nnmail-spool-file) 
+                                        nnmail-spool-file
+                                      (list nnmail-spool-file)))))
+                    (member method scanned-methods))
                (setq active (gnus-activate-group group))
              (setq active (gnus-activate-group group 'scan))
              (push method scanned-methods))


  reply	other threads:[~1999-12-09 20:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09 13:08 Finn Nielsen
1999-12-09 14:09 ` Hamish Macdonald
1999-12-09 15:33   ` David S. Goldberg
1999-12-09 20:21     ` Simon Josefsson
1999-12-09 20:56       ` David S. Goldberg
1999-12-09 21:05         ` Simon Josefsson
1999-12-10  0:15           ` Randal L. Schwartz
1999-12-09 15:24 ` Shenghuo ZHU
1999-12-09 16:15   ` Finn Nielsen
1999-12-09 20:11     ` Simon Josefsson [this message]
1999-12-09 20:25       ` Finn Nielsen
1999-12-09 20:34         ` Finn Nielsen

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=ilubt7zj2nd.fsf@badis.pdc.kth.se \
    --to=jas@pdc.kth.se \
    --cc=ding@gnus.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).