From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39418 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Getting new mail really slow with nnml marks Date: Thu, 18 Oct 2001 21:34:41 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175124 27735 80.91.224.250 (21 Oct 2002 04:38:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:38:44 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 6236 invoked from network); 18 Oct 2001 19:36:37 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 18 Oct 2001 19:36:37 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15uIxE-0004VK-00; Thu, 18 Oct 2001 14:35:44 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 18 Oct 2001 14:35:22 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA09018 for ; Thu, 18 Oct 2001 14:35:11 -0500 (CDT) Original-Received: (qmail 6212 invoked by alias); 18 Oct 2001 19:35:26 -0000 Original-Received: (qmail 6207 invoked from network); 18 Oct 2001 19:35:25 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 18 Oct 2001 19:35:25 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id f9IJZVHB004062; Thu, 18 Oct 2001 21:35:31 +0200 Original-To: David Z Maze In-Reply-To: (David Z Maze's message of "Wed, 17 Oct 2001 17:05:40 -0400") Mail-Copies-To: nobody Original-Lines: 21 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39418 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39418 David Z Maze writes: > Yes, it does. My theory is that this happens because > nnml-marks-changed-p tests whether the value gnus-gethash returns is > eq to the modtime returned by file-attributes; since they're > presumably not going to be the same object (I'd expect file-attributes > to return a new list every time), you want to test equality with > equal, rather than eq. Aha! Right. > If I do this, then I get the whole updating-marks thing run at > startup, but not at all afterwards when I run 'g' (even if there is > new mail or I touch a .marks file). Is this expected? If you touch a .marks file, `nnml-marks-changed-p' must return non-nil! New mail shouldn't matter, but iff the .marks file is modified n-m-c-p return non-nil. But the change look right, can you find out why n-m-c-p doesn't return non-nil when you touch the .marks file?