karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

Synchronise tags to flags #121

Closed paretje closed 8 years ago

paretje commented 8 years ago

When you remove the unread tag in mutt-kz, the tag is removed, but this is not synchronized to the Maildir flags. The reason is that this has to be called explicitly by mutt-kz. This should fix this.

paretje commented 8 years ago

I should mention this does break sync-mailbox. Maybe it should be moved somehow to nm_sync, but I'm actually not sure why nm_sync is doing those things manually.

paretje commented 8 years ago

I fixed the issue with nm_sync, by testing if the file you want to rename exists. I guess this might be a problem if you really use a Maildir without notmuch. I don't know if it's possible to test this in nm_sync?

Anyway, another way to solve the original issue might be to check if one of the tags represents the Maildir flags, and change the flags in mutt, and let mutt do the renaming always.