Gnus development mailing list
 help / color / mirror / Atom feed
From: Bijan Soleymani <bijan@psq.com>
Subject: nnmaildir and info flags
Date: Thu, 04 Dec 2003 22:46:00 -0500	[thread overview]
Message-ID: <87fzg0dj0n.fsf@server.crasseux.com> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 880 bytes --]

Hi everyone,

Other MUAs (mutt, courier-imap) store certain information about the
status of messages in the filename. Basically they add an S to the end
of the message if it has been seen, R if it has been replied,
etc.

This is all decribed at:
http://cr.yp.to/proto/maildir.html

Gnus doesn't use these flags. So if you use gnus to read mails in a
maildir and then access the same mail in mutt, the mails will appear
to be unread. If you had read them in mutt first mutt will add the S
(seen) flag, but gnus ignores it and the message would still appear to
be unread.

To fix this I've made a little perl script (~= 100 lines) for myself
that syncs the two. It looks at gnus's marks and adds flags to the
messages, then it looks at the messages' flags and adds gnus marks.

The ideal solution would be to have gnus add the marks directly. I
don't enough lisp to pull this off.


[-- Attachment #2: syncs maildir status between gnus and other MUAs --]
[-- Type: application/x-perl, Size: 2457 bytes --]

[-- Attachment #3: Type: TEXT/PLAIN, Size: 67 bytes --]


Bijan
-- 
Bijan Soleymani <bijan@psq.com>
http://www.crasseux.com

             reply	other threads:[~2003-12-05  3:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05  3:46 Bijan Soleymani [this message]
2003-12-05  3:56 ` Bijan Soleymani
2004-02-12 17:20   ` Bijan Soleymani
2004-02-12 23:23     ` Paul Jarc
2004-02-14 18:36       ` James Leifer
2004-02-14 18:57         ` Paul Jarc
2004-02-25 20:15       ` Thomas Schwinge
2004-02-25 20:43         ` Paul Jarc
2004-02-25 23:25           ` Thomas Schwinge
2004-02-25 23:48             ` Paul Jarc

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=87fzg0dj0n.fsf@server.crasseux.com \
    --to=bijan@psq.com \
    /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).