Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: marks in gnus / uw imapd: what marks / how to set?
Date: Mon, 04 Aug 2003 09:23:04 +0200	[thread overview]
Message-ID: <iluu18xrinb.fsf@latte.josefsson.org> (raw)
In-Reply-To: <xyq3cgii9ke.fsf@samba3.ece.ucdavis.edu> (John Owens's message of "Sun, 03 Aug 2003 16:51:45 -0700")

John Owens <jowens@ece.ucdavis.edu> 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?




  reply	other threads:[~2003-08-04  7:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-03 23:51 John Owens
2003-08-04  7:23 ` Simon Josefsson [this message]
2003-08-04 14:09   ` John Owens
2003-08-04 15:07     ` Simon Josefsson
2003-08-04 16:39       ` John Owens
2003-08-04 17:51         ` Simon Josefsson
2003-08-04 18:08           ` John Owens
2003-08-04 21:03             ` Simon Josefsson
     [not found]           ` <16174.41574.488000.239166@ece.ucdavis.edu>
2003-08-04 21:00             ` Simon Josefsson
  -- strict thread matches above, loose matches on Subject: below --
2003-08-03 20:36 John Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluu18xrinb.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).