]> git.cworth.org Git - obsolete/notmuch-old/commit
contrib: pick: fix refresh result
authorMark Walters <markwalters1009@gmail.com>
Sun, 30 Jun 2013 08:55:12 +0000 (09:55 +0100)
committerDavid Bremner <bremner@debian.org>
Thu, 4 Jul 2013 03:36:38 +0000 (00:36 -0300)
commiteb26cd1fba4749a4cf89baba86bcbf015e812ac3
treea645c7e5f06530f21f4c8ba6ba34339d0036ab84
parenta9dbcbb00c0e26db9344472619c7cdc9a807f5a8
contrib: pick: fix refresh result

The function notmuch-pick-refresh-result (used to update tag changes)
was not quite correct: sometimes it got the choice between the subject
and " ..." wrong. This was always true but the new code often calls
this (when opening a message in the message pane to remove the unread
tag) while the async pick process is still running and this caused
mistakes which made the tests fail.

Thus we store the previous subject with the message.
contrib/notmuch-pick/notmuch-pick.el