From: Jameson Graef Rollins Date: Sun, 13 Nov 2011 21:16:48 +0000 (-0800) Subject: emacs: breakout notmuch-show-advance functionality from notmuch-show-advance-and... X-Git-Tag: 0.11_rc1~120 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=53629b55065122eff3a80bc59968613f8e10e490;hp=53629b55065122eff3a80bc59968613f8e10e490;p=notmuch emacs: breakout notmuch-show-advance functionality from notmuch-show-advance-and-archive This patch breaks out much of the functionality of notmuch-show-advance-and-archive into a new function: notmuch-show-advance. This new function does all the advancing through a show buffer that notmuch-show-advance-and-archive did, without all the invasive thread archiving. The return value of notmuch-show-advance is nil if the bottom of the thread is not reached, and t if it is. notmuch-show-advance-and-archive is modified to just call notmuch-show-advance, and then call notmuch-show-archive-thread if the return value is true. In this way the previous functionality of notmuch-show-advance-and-archive is preserved. This provides a way for people to rebind the space bar to a more sane function if they don't like the default behavior. ---