From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38376 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: "Updating marks" spam -- how do I kill it? Date: Mon, 27 Aug 2001 23:02:19 +0200 Message-ID: References: <861ylxxqt6.fsf@duchess.twilley.org> <86wv3pw88m.fsf@duchess.twilley.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174249 22051 80.91.224.250 (21 Oct 2002 04:24:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:24:09 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 14380 invoked from network); 27 Aug 2001 21:02:44 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 27 Aug 2001 21:02:44 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.6/8.11.6) with ESMTP id f7RL2ph31385; Mon, 27 Aug 2001 23:02:51 +0200 Original-To: Jack Twilley In-Reply-To: <86wv3pw88m.fsf@duchess.twilley.org> (Jack Twilley's message of "Mon, 27 Aug 2001 13:36:25 -0700") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 32 Xref: main.gmane.org gmane.emacs.gnus.general:38376 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38376 Jack Twilley writes: >>>>>> "Simon" == Simon Josefsson writes: > > Jack> Every time I hit 'g', I get a line of "Updating marks" for each > Jack> nnml group I have. This is remarkably annoying and inefficient. > Jack> Annoying because it takes time and wastes bandwidth. > > Simon> I changed the verbosity level to 8. > > Tell me how to make it go away? It should be gone now, in CVS. If you want to make the marks stuff go away completely, you can use the `nnml-marks-is-evil' or `nnfolder-marks-is-evil' server variables. > Jack> Inefficient because it traverses every single group instead of > Jack> only the ones that were modified by the 'g'. > > Simon> The updating of marks isn't in the Gnus -> nnml direction, but > Simon> rather the other way around. So all groups that are checked > Simon> for new mail have their marks updated (if necessary) as well. > > There has *got* to be a better way. Yes: Only updating the marks if the file was modified since it checked last time. Making it so is in the pipe. Is the current way causing any problems other than inefficiency? Soon all the extra work the marks stuff require is an extra stat() to see if the marks file changed or not, that shouldn't be too heavy compared to other things, I hope.