]> git.notmuchmail.org Git - notmuch/commit
test: Adding non-maildir tags does not move message from new to cur
authorMichal Sojka <sojka@os.inf.tu-dresden.de>
Wed, 19 Dec 2012 21:32:25 +0000 (22:32 +0100)
committerDavid Bremner <bremner@debian.org>
Tue, 3 Sep 2013 23:33:17 +0000 (20:33 -0300)
commit0b46d0fd2e37083bc0d19056aa95e1ad261cd2d6
treed835379586c15dde32c7af97589310ed5bca0093
parente1e7b6fd2e116a6adc679a8d909a8f163f556f3d
test: Adding non-maildir tags does not move message from new to cur

Some MUA's like mutt show the difference between "new" emails living in maildir
directory new/, and "old" emails living in maildir directory cur/. However
notmuch tag unconditionally moves selected messages from new/ to cur/, even if
no maildir synchronized tag is changed.

While maildir specification forbids messages with tags living in new/, there is
no need to move messages to cur/ when no maildir synchronized tag is changed.
Thus notmuch can remain transparent with respect to other MUA's.

[ Edited commit log to better describe the intended changes, and tag the
  test as broken until the actual changes are implemented -- Louis Rilling ]

Signed-off-by: Louis Rilling <l.rilling@av7.net>
[ Converted to use test_subtest_known_broken, David Bremner ]
test/maildir-sync