[notmuch] notmuch.el: Prefix arg inverts the sort order of notmuch-search.

David Edmondson dme at dme.org
Thu Feb 11 06:01:14 PST 2010


On Thu, 11 Feb 2010 14:42:40 +0100, "Sebastian Spaeth" <Sebastian at SSpaeth.de> wrote:
> On Thu, 11 Feb 2010 12:19:12 +0000, David Edmondson <dme at dme.org> wrote:
> ...
> 
> I think the correct thing here would be to let notmuch return search is
> inverse sort order rather than reverting this later in the client
> (unneccessary work). 
> 
>  --sort=oldest|newest|relevance 
> 
> seems to be what xapian can easily provide us with.

That's what happens:

	(let ((proc (start-process-shell-command
		     "notmuch-search" buffer notmuch-command "search"
		     (if oldest-first "--sort=oldest-first" "--sort=newest-first")
		     (shell-quote-argument query))))

Isn't it?

dme.
-- 
David Edmondson, http://dme.org


More information about the notmuch mailing list