From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28013 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: 1 g doen't update my mail groups with Gnus 5.8.2 Date: 09 Dec 1999 21:11:02 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nk8moqgri.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035164934 27573 80.91.224.250 (21 Oct 2002 01:48:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:48:54 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA20706 for ; Thu, 9 Dec 1999 15:11:53 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB25692; Thu, 9 Dec 1999 14:11:41 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 09 Dec 1999 14:11:52 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id OAA28455 for ; Thu, 9 Dec 1999 14:11:40 -0600 (CST) Original-Received: from badis.pdc.kth.se (root@badis.pdc.kth.se [130.237.221.45]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA20689 for ; Thu, 9 Dec 1999 15:11:07 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.9.3/8.9.3) id VAA00946; Thu, 9 Dec 1999 21:11:03 +0100 X-Authentication-Warning: badis.pdc.kth.se: jas set sender to jas@pdc.kth.se using -f Original-To: Finn Nielsen In-Reply-To: Finn Nielsen's message of "09 Dec 1999 17:15:29 +0100" Original-Lines: 34 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4.92 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28013 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28013 Finn Nielsen writes: > > See article . > > 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))