[PATCH] emacs: Don't signal an error when reaching the end of the search results.

Tomi Ollila tomi.ollila at iki.fi
Thu Dec 29 01:04:43 PST 2011


On Thu, 29 Dec 2011 08:46:32 +0000, David Edmondson <dme at dme.org> wrote:
> On Wed, 28 Dec 2011 22:33:09 +0200, Tomi Ollila <tomi.ollila at iki.fi> wrote:
> > On Tue, 20 Dec 2011 08:45:14 +0000, David Edmondson <dme at dme.org> wrote:
> > > With the default configuration ('space' moves through the messages
> > > matching the search and back to the results index at the end) it's
> > > unnecessary to signal an error when the last message has been read, as
> > > this is the common case.
> > > 
> > > Moreover, it's very annoying when `debug-on-error' is t.
> > > ---
> > 
> > I'd say '+1' but I could not reproduce the case.
> 
> That's puzzling. Without the patch, if you hit 'space' on the last
> message in a `notmuch-show' buffer that is the last thread in a
> `notmuch-search' buffer, you should see the error when you are returned
> to the `notmuch-search' buffer. Does that not happen?

Now that you said it I knew what to test (and I had temporarily
restored " " binding to it's original in notmuch show mode).

+1 for the patch.

Tomi


More information about the notmuch mailing list