[PATCH 0/2] automatic tagging based on imap maildir

Austin Clements amdragon at MIT.EDU
Sun Oct 28 08:31:38 PDT 2012


Quoth Andrei POPESCU on Oct 28 at 12:03 pm:
> On Sb, 27 oct 12, 10:00:46, David Bremner wrote:
> > 
> > As I said (or tried to say), in my opinion, duplication with an external
> > package is not the main issue; I think moving features into the core
> > when appropriate is a normal development process. On the other hand, I'm
> > not really a gmail user, so I don't know yet if these patches solve
> > enough of the problem to be interesting.
> 
> They are interesting not only for Gmail[1], but also for other kinds of 

What is preventing folder: searches from addressing this?

> setups. As far as I understand (please correct me if I'm wrong), 
> currently notmuch treats multiple copies of a message similar to Gmail 
> (indexes one, but ignores the rest), which is why I'm *not* receiving 
> any mailing lists on my Gmail account.

notmuch tracks all copies of a message, but its output generally shows
messages, rather than files, so you see a message only once regardless
of how many copies there are in the file system.

Why does that cause you to not receive mailing lists?  (Or did I
misinterpret your statement?)

> Besides that consider also that I'm subscribed to about 40 mailing 
> lists, each sorted to it's own folder by rules based on List-Id (which 
> notmuch doesn't support yet as far as I know). This separation is very 
> useful for my read-flow.
> 
> However, there are messages crossposed to several lists. It would be 
> great if notmuch or (more probably) a client using notmuch could mark 
> all copies of a message as read in all folders, but still keep it there 
> (otherwise the thread in the respective folder is incomplete).

If I understand what you're saying, this is exactly what notmuch does.
When you remove the "unread" tag, notmuch will (should?) add the
"seen" maildir flag to all copies of that message in the file system
(barring some corner-cases that flag sync doesn't handle well; maybe
you're encountering one of those?).  And since notmuch never deletes
files, they will remain in the folders they were filed in.

> [1] yes, this is probably one missing feature that prevents me from 
> putting my Gmail account in notmuch as well.
> 
> Kind regards,
> Andrei


More information about the notmuch mailing list