Re: new "crypto" branch providing full PGP/MIME support
[notmuch-archives.git] / 0b / 0c95fc6ed3ed5bdbd345a633b1d9763f46c871
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 81EB2431FBC\r
6         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 04:19:40 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.741\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.741 tagged_above=-999 required=5\r
12         tests=[AWL=-0.001, BAYES_20=-0.74] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 3A8pIb7tobiW for <notmuch@notmuchmail.org>;\r
16         Thu, 11 Feb 2010 04:19:39 -0800 (PST)\r
17 Received: from mail-fx0-f212.google.com (mail-fx0-f212.google.com\r
18         [209.85.220.212])\r
19         by olra.theworths.org (Postfix) with ESMTP id 7AA03431FAE\r
20         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 04:19:39 -0800 (PST)\r
21 Received: by fxm4 with SMTP id 4so1088058fxm.0\r
22         for <notmuch@notmuchmail.org>; Thu, 11 Feb 2010 04:19:38 -0800 (PST)\r
23 Received: by 10.223.47.28 with SMTP id l28mr2107467faf.74.1265890778436;\r
24         Thu, 11 Feb 2010 04:19:38 -0800 (PST)\r
25 Received: from aw.hh.sledj.net (host83-217-165-81.dsl.vispa.com\r
26         [83.217.165.81])\r
27         by mx.google.com with ESMTPS id 35sm3639529fkt.10.2010.02.11.04.19.37\r
28         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
29         Thu, 11 Feb 2010 04:19:37 -0800 (PST)\r
30 Received: by aw.hh.sledj.net (Postfix, from userid 1000)\r
31         id CF8BC3A088; Thu, 11 Feb 2010 12:19:19 +0000 (GMT)\r
32 From: David Edmondson <dme@dme.org>\r
33 To: notmuch@notmuchmail.org\r
34 Date: Thu, 11 Feb 2010 12:19:12 +0000\r
35 Message-Id: <1265890752-26242-1-git-send-email-dme@dme.org>\r
36 X-Mailer: git-send-email 1.6.6.1\r
37 Subject: [notmuch] [PATCH] notmuch.el: Prefix arg inverts the sort order of\r
38         notmuch-search.\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Thu, 11 Feb 2010 12:19:40 -0000\r
52 \r
53 ---\r
54  notmuch.el |    3 ++-\r
55  1 files changed, 2 insertions(+), 1 deletions(-)\r
56 \r
57 diff --git a/notmuch.el b/notmuch.el\r
58 index 8f50abe..de9ddf8 100644\r
59 --- a/notmuch.el\r
60 +++ b/notmuch.el\r
61 @@ -1398,7 +1398,8 @@ characters as well as `_.+-'.\r
62  (defun notmuch-search (query &optional oldest-first)\r
63    "Run \"notmuch search\" with the given query string and display results."\r
64    (interactive "sNotmuch search: ")\r
65 -  (let ((buffer (get-buffer-create (concat "*notmuch-search-" query "*"))))\r
66 +  (let ((buffer (get-buffer-create (concat "*notmuch-search-" query "*")))\r
67 +       (oldest-first (if current-prefix-arg (not oldest-first) oldest-first)))\r
68      (switch-to-buffer buffer)\r
69      (notmuch-search-mode)\r
70      (set 'notmuch-search-query-string query)\r
71 -- \r
72 1.6.6.1\r
73 \r