From: Austin Clements Date: Sat, 21 Jul 2012 17:37:08 +0000 (-0400) Subject: emacs: Use result text properties for search result iteration X-Git-Tag: 0.14~52 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=7ba5c86399f8c479442938dd2cc7ad07edd4d985;hp=7ba5c86399f8c479442938dd2cc7ad07edd4d985;p=obsolete%2Fnotmuch-old emacs: Use result text properties for search result iteration This simplifies the traversal of regions of results and eliminates the need for save-excursions (which tend to get in the way of maintaining point when we make changes to the buffer). It also fixes some strange corner cases in the old line-based code where results that bordered the region but were not included in it could be affected by region commands. Coincidentally, this also essentially enables multi-line search result formats; the only remaining non-multi-line-capable functions are notmuch-search-{next,previous}-thread, which are only used for interactive navigation. ---