From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55163 Path: main.gmane.org!not-for-mail From: James Leifer Newsgroups: gmane.emacs.gnus.general Subject: Re: concurrent synchronization of nnmaildir directories Date: Tue, 09 Dec 2003 22:10:02 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: Reply-To: James Leifer NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071004236 22789 80.91.224.253 (9 Dec 2003 21:10:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2003 21:10:36 +0000 (UTC) Original-X-From: ding-owner+M3703@lists.math.uh.edu Tue Dec 09 22:10:32 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATp7o-0007pp-00 for ; Tue, 09 Dec 2003 22:10:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ATp7U-0001zd-00; Tue, 09 Dec 2003 15:10:12 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ATp7M-0001zX-00 for ding@lists.math.uh.edu; Tue, 09 Dec 2003 15:10:04 -0600 Original-Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by justine.libertine.org (Postfix) with ESMTP id 779AB3A0033 for ; Tue, 9 Dec 2003 15:10:03 -0600 (CST) Original-Received: from muscadet.inria.fr (muscadet.inria.fr [128.93.8.12]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hB9LA2121516 for ; Tue, 9 Dec 2003 22:10:02 +0100 (MET) Original-Received: by muscadet.inria.fr (Postfix, from userid 11404) id 13F497A60; Tue, 9 Dec 2003 22:10:02 +0100 (CET) Original-To: ding@gnus.org In-Reply-To: (Paul Jarc's message of "Tue, 09 Dec 2003 15:10:27 -0500") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55163 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55163 prj@po.cwru.edu (Paul Jarc) writes: (snipping liberally) >> * Modify the marks of an existing message, i.e. add and delete entries >> in foo/.nnmaildir/marks/{read,reply,...} > > Safe. Paul, thanks for your reply. Let me clarify this last point... Suppose a message uniq has the set of flags F when the group is opened. Suppose in gnus I add the set of the flags X0 and remove the set Y0. Now, when nnmaildir flushes its state, it will change the on-disc flag set to F \ Y0 U X0 (using \ for set difference and U for set union). Suppose instead that before it flushes its state, an external program adds the set of flags X1 and removes the set Y1, leaving the state on disc F \ Y1 U X1 Now what will nnmaildir do when it flushes its changes? The reason I ask is as follows: some of the flags it would normally delete (in Y0) are no longer there on disc; others it would add (in X0) are already there. Warm regards, -James P.S. If you get a chance, could you have a look at my performance/design question concerning constant messages (http://article.gmane.org/gmane.emacs.gnus.general/55114/)?