These two patches allow the caller of pick to specify a target message that pick should jump to when it appears. This is used by refresh-view (to keep the same current message) and by the entry from show (notmuch-pick-from-show-current-thread).
It would be easy to add functionality so that, if no target-message is specified, pick goes to the first matching message. In the future this should be used to remove the horrible hack in notmuch-pick-show-match-message-with-wait. Best wishes Mark Mark Walters (2): contrib: pick: move save-excursion closer to message insertion contrib: pick: add a target message for pick contrib/notmuch-pick/notmuch-pick.el | 43 ++++++++++++++++++++++++--------- 1 files changed, 31 insertions(+), 12 deletions(-) -- 1.7.9.1