]> git.notmuchmail.org Git - notmuch/commit
contrib: pick: move save-excursion closer to message insertion
authorMark Walters <markwalters1009@gmail.com>
Thu, 10 Jan 2013 10:41:16 +0000 (10:41 +0000)
committerDavid Bremner <bremner@debian.org>
Mon, 20 May 2013 18:37:52 +0000 (15:37 -0300)
commit740f0cda550d1373eb709ae0f22455f9fdb1d77d
tree3877b1b0b2f15567c57659f7417281c25f8811c6
parentc8589e4eb889051516d37ac75b706bbee6782996
contrib: pick: move save-excursion closer to message insertion

Pick keeps point roughly at the top of the buffer while inserting
messages at the end as they come in (from the async
parser). Previously the save-excursion to do this was done once for
each thread inserted: now it is done for each individual message.

The advantage is that the message insertion code can decide where to
leave point. In the next patch point will be left on the target message.

Note notmuch-pick-insert-msg is unchanged as that is used by the tag
display update code.
contrib/notmuch-pick/notmuch-pick.el