[RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from "new/" to "cur/"

2011-06-27 Thread Carl Worth
On Fri, 24 Jun 2011 22:34:03 +0200, Louis Rilling wrote: > Maybe the alternate solution could consist in simply not renaming emails > having > no flags to be changed (Currently notmuch_message_tags_to_maildir_flags() > unconditionally moves messages from new/ to cur/). This would even lead to a

Re: [RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from new/ to cur/

2011-06-27 Thread Carl Worth
On Fri, 24 Jun 2011 22:34:03 +0200, Louis Rilling l.rill...@av7.net wrote: Maybe the alternate solution could consist in simply not renaming emails having no flags to be changed (Currently notmuch_message_tags_to_maildir_flags() unconditionally moves messages from new/ to cur/). This would

[RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from "new/" to "cur/"

2011-06-24 Thread Louis Rilling
On 24/06/11 11:19 -0400, Austin Clements wrote: > Welcome to notmuch! Thanks! > > From your description, I assume you're using both notmuch and another > MUA simultaneously. I'm betting that MUA is mutt (though please > correct me if I'm wrong). Correct :) > > Unfortunately, mutt's

[RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from "new/" to "cur/"

2011-06-24 Thread Austin Clements
Welcome to notmuch! >From your description, I assume you're using both notmuch and another MUA simultaneously. I'm betting that MUA is mutt (though please correct me if I'm wrong). Unfortunately, mutt's interpretation of maildir doesn't agree with the rest of the world. I don't know of any

Re: [RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from new/ to cur/

2011-06-24 Thread Austin Clements
Welcome to notmuch! From your description, I assume you're using both notmuch and another MUA simultaneously. I'm betting that MUA is mutt (though please correct me if I'm wrong). Unfortunately, mutt's interpretation of maildir doesn't agree with the rest of the world. I don't know of any

Re: [RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from new/ to cur/

2011-06-24 Thread Louis Rilling
On 24/06/11 11:19 -0400, Austin Clements wrote: Welcome to notmuch! Thanks! From your description, I assume you're using both notmuch and another MUA simultaneously. I'm betting that MUA is mutt (though please correct me if I'm wrong). Correct :) Unfortunately, mutt's interpretation

[RFC][PATCH] tags_to_maildir_flags: Add option to not move messages from "new/" to "cur/"

2011-06-23 Thread Louis Rilling
notmuch_message_tags_to_maildir_flags() moves messages from maildir directory "new/" to maildir directory "cur/", which makes messages lose their "new" status in the MUA. However some users want to keep this "new" status after, for instance, an auto-tagging of new messages. This patch introduces