From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53613 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: marks in gnus / uw imapd: what marks / how to set? Date: Mon, 04 Aug 2003 09:23:04 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059982628 9580 80.91.224.253 (4 Aug 2003 07:37:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 07:37:08 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2157@lists.math.uh.edu Mon Aug 04 09:37:24 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 19jZuG-000816-00 for ; Mon, 04 Aug 2003 09:37:24 +0200 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 19jZu4-0008TN-00; Mon, 04 Aug 2003 02:37:12 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19jZgZ-0008T8-00 for ding@lists.math.uh.edu; Mon, 04 Aug 2003 02:23:15 -0500 Original-Received: (qmail 95981 invoked by alias); 4 Aug 2003 07:23:15 -0000 Original-Received: (qmail 95976 invoked from network); 4 Aug 2003 07:23:14 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 4 Aug 2003 07:23:14 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h747N4gW015042 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 4 Aug 2003 09:23:05 +0200 Original-To: John Owens Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030804:jowens@ece.ucdavis.edu:a49b83be586166b5 X-Hashcash: 0:030804:jowens@ece.ucdavis.edu:a49b83be586166b5 X-Payment: hashcash 1.2 0:030804:ding@gnus.org:a58be727f6b8ed6a X-Hashcash: 0:030804:ding@gnus.org:a58be727f6b8ed6a In-Reply-To: (John Owens's message of "Sun, 03 Aug 2003 16:51:45 -0700") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53613 John Owens writes: > I'm trying to figure out how gnus in conjunction with UW imapd stores > the same marks. > > As far as I can tell, "Read" and "Old" flags are kept in Status and > "Deleted", "Flagged", "Answered" and "Draft" are in X-Status. So > > Status: RO > X-Status: DFAT > > is the maximum amount of flags stored here? That I do not know. > Gnus seems to keep other keywords. Among them is a forwarded flag, > which is kept in X-Keywords as "gnus-forward". I haven't got anything > else to appear in this header yet. But there are other gnus flags: > > gnus-replied mark - I presume this corresponds to Answered. Yes. > gnus-recent mark - I presume this corresponds to not-Old, but I don't > know how this works with gnus-unseen-mark. I think you can ignore both recent and unseen, it is just for newly delivered mail. > gnus-cached-mark - No idea. Don't frob this one, it is maintained internally by Gnus, when you add/remove an article to the Gnus cache. > gnus-saved-mark - No idea. (Hopefully it is triggered when I copy a > message from a folder to another folder.) Almost, I think it is set when you save a message using e.g. O f or something. > Other flags? Distinction between "new" and "unread"? "edited"? > "redistributed"? Do you have lots of VM-"new" messages? Isn't it just a transient mark used by vm to identity new messages? If so, it doesn't look like it is something worth maintaining (all your messages are non-new). "unread" is implied if you don't set a read mark in Gnus (can a message in VM be both "read" and "unread"?). I'm not sure if there is something similar to edited or redistributed. > Any suggestions as to how to move these flags over would be > appreciated. I figure perl is my best bet? Suggestions of a perl > module that lets me parse mail a message at a time from mbox format, > and mess with headers too, would be great. Maybe VM can export messages to some format that Gnus support, that supports marks? Maildir?