From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58594 Path: main.gmane.org!not-for-mail From: raphael.berbain@free.fr (=?iso-8859-1?Q?Rapha=EBl?= Berbain) Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir & expiry (again..) Date: Sun, 26 Sep 2004 12:52:43 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: <86fz575xff.fsf@ID-110038.user.uni-berlin.de> References: <86hdq06f2i.fsf@ID-110038.user.uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1096196442 25275 80.91.229.6 (26 Sep 2004 11:00:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Sep 2004 11:00:42 +0000 (UTC) Original-X-From: ding-owner+M7132@lists.math.uh.edu Sun Sep 26 13:00:25 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBWlV-0004nA-00 for ; Sun, 26 Sep 2004 13:00:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CBWj9-0005WR-00; Sun, 26 Sep 2004 05:57:59 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CBWix-0005WJ-00 for ding@lists.math.uh.edu; Sun, 26 Sep 2004 05:57:47 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CBWix-0007MD-Rt for ding@lists.math.uh.edu; Sun, 26 Sep 2004 05:57:47 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 9256B3A0038 for ; Sun, 26 Sep 2004 05:57:45 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CBWiu-0007X4-00 for ; Sun, 26 Sep 2004 12:57:44 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 44 Original-NNTP-Posting-Host: rberbain.net1.nerim.net Original-X-Trace: quimby.gnus.org 1096196264 28957 213.41.132.143 (26 Sep 2004 10:57:44 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 26 Sep 2004 10:57:44 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:6dXnfHtp+Hld/hSEvmx4kwqVjsQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58594 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58594 prj@po.cwru.edu (Paul Jarc) writes: > raphael.berbain@free.fr (Rapha=EBl Berbain) wrote: >> The problem is, after being expired the article appears unread again >> in the target group. > > If you want all the articles in the target group to be marked as read, > you could set (always-marks . ['(read)]) in the group parameters. I have thought about that, but the doc says it's an experimental feature and likely to change ; Also AFAICT it doesn't alter the actual stored-on-disk marks ; And last but not least, I do not want all articles in those groups to be read. Well, not for all concerned groups anyways. it's a good work-around for some of them, however. >> What should be the right behavior ? > > Copying all the marks (except 'expire) from the original article would > probably be good. Agreed. >> Regardless of this, I think both backends should behave in the same >> way. > > Yes, the backend interface ought to be redesigned to put less (i.e., > no) policy decisions in the backends. But that's a big job. Agreed too. While I have your attention (warning, subject hijacking + feature request coming..), nnmaildir stores marks quite unusually compared to other maildir-aware MUA. It uses files in /.nnmaildir/marks//file. Others tend to use the info part of the message filename. What is the rationale behind this design ? The only reason I could think of is that Gnus has more marks than some other MUAs/imap servers, perhaps with some mark semantics confusion kicking in. However, it would be useful to me to get nnmaildir to handle marks this way as well (at least the 'read' mark) because my maildirs are also served through imap. I think I once heard about a script (perl, IIRC) that did some kind of sync between both systems, but I can't find it again.