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

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

Date: Thu, 11 Feb 2010 15:20:54 +0100 (CET)

To: Sebastian Spaeth

Cc: notmuch@notmuchmail.org

From: racin@free.fr


Using a prefix arg to invert search order would conflict with my patch http://notmuchmail.org/pipermail/notmuch/2009/000914.html
in which the prefix arg is used to show deleted messages. I don't known which behaviour for prefix patch would be best.

Though we can also add "toggle keys" that toggle search order, or toggle display of deleted messages, which would solve the problem.

Matthieu

----- Mail Original -----
De: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
À: notmuch@notmuchmail.org
Envoyé: Jeudi 11 Février 2010 14h05:28 GMT +00:00 GMT - Grande-Bretagne, Irlande, Portugal
Objet: Re: [notmuch] notmuch.el: Prefix arg inverts the sort order of notmuch-search.

On Thu, 11 Feb 2010 14:01:14 +0000, David Edmondson <dme@dme.org> wrote:
> 	(let ((proc (start-process-shell-command
> 		     "notmuch-search" buffer notmuch-command "search"
> 		     (if oldest-first "--sort=oldest-first" "--sort=newest-first")

Doh, I should shut up when I haven't actually looked at the code. 
The only thing to my defense is that looking at elisp makes me feel
dizzy.

Sorry,
Sebastian
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch

Thread: