From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46655 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: nnmaildir now has persistent article numbers Date: Mon, 23 Sep 2002 14:46:42 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032806902 20452 127.0.0.1 (23 Sep 2002 18:48:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2002 18:48:22 +0000 (UTC) Cc: r_letot@yahoo.com (=?iso-8859-1?q?R=E9mi?= Letot) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tYFp-0005Jk-00 for ; Mon, 23 Sep 2002 20:48:21 +0200 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 17tYEZ-0000Yv-00; Mon, 23 Sep 2002 13:47:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 23 Sep 2002 13:47:41 -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 NAA08901 for ; Mon, 23 Sep 2002 13:47:31 -0500 (CDT) Original-Received: (qmail 802 invoked by alias); 23 Sep 2002 18:46:45 -0000 Original-Received: (qmail 797 invoked from network); 23 Sep 2002 18:46:45 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (@129.22.96.25) by gnus.org with SMTP; 23 Sep 2002 18:46:45 -0000 Original-Received: (qmail 21280 invoked by uid 500); 23 Sep 2002 18:47:05 -0000 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org Mail-Copies-To: nobody Original-Lines: 20 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46655 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46655 And it's (somewhat) concurrency-friendly, too: you can run two Gnusae running nnmaildir-request-scan on the same maildir at the same time, and they won't assign the same article number to two different messages. In the spirit of maildir, this is done without needing file locks. (However, it could happen that a single message gets two numbers assigned to it. Only one number will be stored in the maildir, but the two Gnusae will disagree for as long as they re both running. So don't do that after all.) Article numbers are stored in .nnmaildir/nov/*. So caching and agentizing should work now. In the past, you could remove the .nnmaildir/nov/... file to force regeneration of NOV data (although it should always happen automatically when needed). Beware that this will now also cause the message to get a new article number - unless you do it while Gnus is running and do M-g on the group afterwards, in which case the old number will be remembered and stored back in the new NOV file. paul