From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56358 Path: main.gmane.org!not-for-mail From: Thomas Schwinge Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir Date: Wed, 11 Feb 2004 23:05:30 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <20040211220530.GB109@nic-nac-project.de> References: <20040211170004.GA1389@server.schwinge.homeip.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076537209 29347 80.91.224.253 (11 Feb 2004 22:06:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Feb 2004 22:06:49 +0000 (UTC) Original-X-From: ding-owner+M4898@lists.math.uh.edu Wed Feb 11 23:06:38 2004 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 1Ar2VB-00081A-00 for ; Wed, 11 Feb 2004 23:06:38 +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 1Ar2UK-0006df-00; Wed, 11 Feb 2004 16:05:44 -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 1Ar2UB-0006dX-00 for ding@lists.math.uh.edu; Wed, 11 Feb 2004 16:05:35 -0600 Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by justine.libertine.org (Postfix) with ESMTP id 3B1703A0050 for ; Wed, 11 Feb 2004 16:05:34 -0600 (CST) Original-Received: from [212.227.126.207] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Ar2U9-00021r-00 for ding@gnus.org; Wed, 11 Feb 2004 23:05:33 +0100 Original-Received: from [80.136.240.82] (helo=nic.nac.wdyn.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Ar2U8-0002ax-00 for ding@gnus.org; Wed, 11 Feb 2004 23:05:32 +0100 Original-Received: (qmail 2031 invoked by uid 9492); 11 Feb 2004 22:05:30 -0000 Original-To: ding@gnus.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-AntiVirus: Scanned for viruses by Nic.Nac.Project X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c9c8b863173b56dc4a0242d71aa058ab Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56358 On Wed, Feb 11, 2004 at 12:42:23PM -0500, Paul Jarc wrote: > Thomas Schwinge wrote: > > although I was not able to enter the ones whose are containing a > > '\': The were refused with: > > #v+ > > Retrieving newsgroup: nnmaildir+nic-nac-project:lists.gnus.org.ding... > > gnus-select-newsgroup: Couldn't activate group nnmaildir+nic-nac-project:lists.gnus.org.ding: No such group: lists.gnus.org.ding > > #v- > > I'm not sure what's happening here. It works for me, with a CVS > checkout from 2004-01-25. What version of Gnus are you using? I've been using the CVS checkout with release tag v5-10-6. nnmaildir.el is dated '2003-04-15'. I'll try the CVS HEAD version tomorrorw. Is it sufficient to just copy nnmaildir.el? > You could work around it by making a new directory for nnmaildir to > look at, which would contain symlinks to the actual maildirs. The > symlink names could omit "\". Yes, I saw that possibility but I didn't want to go that way because I didn't want to maintain another hierarchy of folders. But of course I'll do it that way until I know enough of Emacs' Lisp to implement the needed functionality by myself. :-) > > The issue remaining to be resolved for me is that I'd like to have the > > status flags synchronized between Gnus and the maildirs > > You might find this useful for now: > http://article.gmane.org/gmane.emacs.gnus.general/55100 So, do you have a working version of such a script? I didn't try this one because of Bijan Soleymani writing in his second email: #v+ Oops, I just noticed a couple of small errors in the script. Oh well... Just consider it as a proof of concept thing. Yes such a simple script can be written :) #v- If you're not going to implement the mark synchronisation functionality into nnmaildir, that will be the way to go. > > I was not yet able to figure out which of the possible marks from > > are actually used and > > stored on disk by nnmaildir > > The ones I know of are 'dormant, 'expire, 'forward, 'read, 'reply, > 'save, and 'tick. Gnus | Maildir ----------+--------- dormant | expire | T forward | P read | S reply | R save | tick | F 'dormant' and 'save' are missing. I'm not quite happy with 'expire' but it should be possible. What's the purpose of 'save'? I don't quite get this out of . I'd say that 'dormant' is similar to 'tick', so what about that: If a message which is new to Gnus has 'F' set, it is displayed as 'ticked'. When the user changes the mark to 'dormant' this is recorded using the current scheme but the 'F' is preserved. Clients that don't know how to differentiate between these two will see maildir's 'F' and Gnus is able to tell if a message is marked as 'ticked' or 'dormant'. > > for the others (dormant, ...) we could either try to convince DJB > > to add them to the specification or the 'experimental semantics' > > described above could be used. > > The experimental semantics wouldn't be useful; that would mean that > the message's info would look like ":1,..." which other MUAs wouldn't > understand. I had not tried that before - I thought that MUAs would leave the flags alone the didn't understand. Now I've got disabused (Does one use this word that way? - I'm always willing to improve my English.) Mutt does leave them alone - as long as you don't change any flags. Doing so, unknown ones will get weeded out. That's no good behaviour as DJB declares that "New flags may be defined later." in . Regards, Thomas