Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 73DE9431FBC for ; Thu, 11 Feb 2010 06:21:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.185 X-Spam-Level: X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[AWL=-0.186, BAYES_50=0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pDSHlSW9RkZx for ; Thu, 11 Feb 2010 06:21:08 -0800 (PST) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by olra.theworths.org (Postfix) with ESMTP id 8C658431FAE for ; Thu, 11 Feb 2010 06:21:06 -0800 (PST) Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id D0E57D48213; Thu, 11 Feb 2010 15:21:00 +0100 (CET) Received: from zimbra1-e1.priv.proxad.net (zimbra1-e1.priv.proxad.net [172.20.243.151]) by smtp5-g21.free.fr (Postfix) with ESMTP id 945C1D481A8; Thu, 11 Feb 2010 15:20:57 +0100 (CET) Date: Thu, 11 Feb 2010 15:20:54 +0100 (CET) From: racin@free.fr To: Sebastian Spaeth Message-ID: <1942218579.1190451265898054032.JavaMail.root@zimbra1-e1.priv.proxad.net> In-Reply-To: <87wryjyijb.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [132.166.135.72] X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0 (Linux)/5.0.15_GA_2815.UBUNTU8_64) X-Authenticated-User: racin@free.fr Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] notmuch.el: Prefix arg inverts the sort order of notmuch-search. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 14:21:10 -0000 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 whi= ch behaviour for prefix patch would be best. Though we can also add "toggle keys" that toggle search order, or toggle di= splay of deleted messages, which would solve the problem. Matthieu ----- Mail Original ----- De: "Sebastian Spaeth" =C3=80: notmuch@notmuchmail.org Envoy=C3=A9: Jeudi 11 F=C3=A9vrier 2010 14h05:28 GMT +00:00 GMT - Grande-Br= etagne, Irlande, Portugal Objet: Re: [notmuch] notmuch.el: Prefix arg inverts the sort order of notmu= ch-search. On Thu, 11 Feb 2010 14:01:14 +0000, David Edmondson wrote: > =09(let ((proc (start-process-shell-command > =09=09 "notmuch-search" buffer notmuch-command "search" > =09=09 (if oldest-first "--sort=3Doldest-first" "--sort=3Dnewest-firs= t") Doh, I should shut up when I haven't actually looked at the code.=20 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