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 6352B431FBC for ; Thu, 11 Feb 2010 14:32:35 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.107 X-Spam-Level: X-Spam-Status: No, score=-0.107 tagged_above=-999 required=5 tests=[AWL=-0.108, 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 PH8rk2uVcvai for ; Thu, 11 Feb 2010 14:32:34 -0800 (PST) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by olra.theworths.org (Postfix) with ESMTP id 59D9B431FAE for ; Thu, 11 Feb 2010 14:32:32 -0800 (PST) Received: from smtp5-g21.free.fr (localhost [127.0.0.1]) by smtp5-g21.free.fr (Postfix) with ESMTP id 08AD6D48028; Thu, 11 Feb 2010 23:32:25 +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 CADDDD4808C; Thu, 11 Feb 2010 23:32:21 +0100 (CET) Date: Thu, 11 Feb 2010 23:32:21 +0100 (CET) From: racin@free.fr To: micah anderson Message-ID: <411386679.1336571265927541074.JavaMail.root@zimbra1-e1.priv.proxad.net> In-Reply-To: <1948906725.1335581265927254744.JavaMail.root@zimbra1-e1.priv.proxad.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [82.239.207.166] 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 22:32:35 -0000 >On Thu, 11 Feb 2010 15:20:54 +0100 (CET), racin@free.fr wrote: > >> 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. > >I always understood a prefix arg to invert the original (or provide a >numeric repetition), but I do not have a wide sample to tell if this is >how most elisp implements it. Gnus uses a C-u prefix to display old messages, for instance. Note that the only advantage of the prefix over the toggle is that it makes one call to notmuch search instead of one. I don't think that it matters from a performance point of view, as the second search is always much faster than the second. Maybe we should just reserve the prefix for a later use.