#3865: mutt-1.7.0: mutt does not update index/status of open maildir mailboxes
modified externally
------------------------------+----------------------
Reporter: matt+bugzilla@… | Owner: mutt-dev
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: maildir/mh | Version:
Resolution: fixed | Keywords:
------------------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5006a0a364059b02cf50f68397e599d8010644d4"
7038:5006a0a36405]:
{{{
#!CommitTicketReference repository=""
revision="5006a0a364059b02cf50f68397e599d8010644d4"
Improve maildir and mh to report flag changes in mx_check_mailbox()
(closes #3865)
mx_check_mailbox() would update the header flags, but was not
returning MUTT_FLAGS back to the index loop. That meant a screen
redraw was needed to be notified of externally modified flags.
Change maildir_update_flags() to return 1 if the flags were actually
changed. Change maildir_check_mailbox() and mh_check_mailbox() to
return MUTT_FLAGS when that happens.
Thanks to jcdenton and mike-burns for the original patch.
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3865#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent