]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
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)
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.


No differences found