From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] Minor maildir change
Date: Thu, 13 Sep 2007 20:33:04 -0700 [thread overview]
Message-ID: <1189740088-sup-6296@south> (raw)
In-Reply-To: <20070909224034.GA3540@die.therning.org>
Excerpts from Magnus Therning's message of Sun Sep 09 15:40:34 -0700 2007:
> I thought it was a little strange the file_path on Maildir objects
> returned `nil` so I changed that to return the path of the maildir.
Applied, thanks. #file_path is only used by sup-sync-back so I hadn't
bothered to implemented it.
> I am somewhat puzzled by the labels one receives from Maildir::each,
> it's the default labels for the source rather than the labels of the
> actual message.
It's supposed to be both sets of labels unioned together. The source
defines any user labels the user wants to automatically apply to new
messages (kind of a primitive filtering), and we mix these in with the
labels that carry over the read/unread state, etc.
> Especially confusing was the choice to label something 'unread' if
> it's filename doesn't contains an 'R'. IIRC 'R' means that the email
> has been replied to, it would have been more correct to mark it unread
> if it doesn't contain an 'S' (as in seen).
Yep, this was a bug.
> However, it seems silly to take any of this into consideration when
> sup doesn't deal with maildirs "properly" anyway. I've removed that
> strangeness, at least until a full maildir implementation makes it
> into sup.
Hey, as far as Sup is concerned, a source is just a dumb bucket that
occasionally produces a new messages. So in that sense, Maildir is dealt
with "properly". (Sup-sync-back only exists because of the unfortunate
habit of Sup users of wanting to using other email clients alongside
it.) :)
--
William <wmorgan-sup at masanjin.net>
next prev parent reply other threads:[~2007-09-14 3:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 22:40 Magnus Therning
2007-09-14 3:33 ` William Morgan [this message]
2007-09-16 18:19 ` Magnus Therning
2007-09-19 15:59 ` William Morgan
2007-09-19 22:02 ` Magnus Therning
2007-09-24 2:29 ` William Morgan
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=1189740088-sup-6296@south \
--to=wmorgan-sup@masanjin.net \
/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