emacs: Move search-target logic to `notmuch-search-show-result'
authorAustin Clements <amdragon@MIT.EDU>
Mon, 9 Jul 2012 21:42:37 +0000 (17:42 -0400)
committerDavid Bremner <bremner@debian.org>
Thu, 12 Jul 2012 23:39:04 +0000 (17:39 -0600)
commit17525340a27e494b70612acad140eea3dfc16eda
tree9f1c2d79525e99611bd99b63176c6e02372c15f8
parent9b4361d0fe26249b74505014b66a78000ca1f8e5
emacs: Move search-target logic to `notmuch-search-show-result'

This is a simpler place to do this, since we can avoid any point
motion and hence any save-excursions in
`notmuch-search-process-filter', which in turn lets us put all of the
search-target logic outside of any save-excursions.

`notmuch-search-show-{result,error}' are now responsible for their own
point motion.

`notmuch-search-process-filter' could use some reindentation after
this, but we're about to rewrite it entirely, so we won't bother.
emacs/notmuch.el