On Tue, 31 Jan 2012 10:30:20 +0000, David Edmondson <dme@dme.org> wrote: > On Tue, 31 Jan 2012 11:25:36 +0200, Tomi Ollila <tomi.ollila@iki.fi> wrote: > > I like David's alternative suggestion (in IRC) where cursor is left at > > the end of buffer in case last message is archived with 'a'. > > Unless the cursor is already at the end of the buffer, in which case it > would do the 'next thread' dance (i.e. it behaves like 'space' in that > respect). I think I (and Jameson) don't want that behaviour -- therefore we need functionality (somewhat) analogous to this: (defun notmuch-show-advance-and-archive () "..." (interactive) (if (notmuch-show-advance) (notmuch-show-archive-thread-then-next))) So we can easily rebind to the version which doesn't do the '...then-next' magic... Tomi