From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38683 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: nnml/nnfolder marks faster Date: Sat, 08 Sep 2001 21:38:18 +0200 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174505 23752 80.91.224.250 (21 Oct 2002 04:28:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:28:25 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 1254 invoked from network); 8 Sep 2001 19:38:49 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 8 Sep 2001 19:38:49 -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 f88Jcth14345 for ; Sat, 8 Sep 2001 21:38:55 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105 Original-Lines: 14 Xref: main.gmane.org gmane.emacs.gnus.general:38683 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38683 The marks stuff should now be faster as the marks file is only read when it is necessary. A little implementation note on how the marks stuff works follows, if anyone is interested. Two new functions were added: *-request-update-info: Reads marks file if it has changed (or if it has not been previously read, e.g. on startup of Gnus) and updates Gnus' info from the marks file. *-request-set-mark: Reads marks file, applies the changes, writes marks file. Updates modtime. (Nothing else was changed.)