[PATCH v2 00/14] reply refactor, fixes
[notmuch-archives.git] / ec / be5d9c09681e0f1cb8bb31ecf88448e6f451bf
1 Return-Path: <markwalters1009@gmail.com>\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 E16D9431FDF\r
6         for <notmuch@notmuchmail.org>; Tue,  2 Sep 2014 05:31:00 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id JEO38buxUjSj for <notmuch@notmuchmail.org>;\r
18         Tue,  2 Sep 2014 05:30:55 -0700 (PDT)\r
19 Received: from mail-we0-f172.google.com (mail-we0-f172.google.com\r
20         [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 3D00F431FD2\r
23         for <notmuch@notmuchmail.org>; Tue,  2 Sep 2014 05:30:55 -0700 (PDT)\r
24 Received: by mail-we0-f172.google.com with SMTP id q59so6886232wes.31\r
25         for <notmuch@notmuchmail.org>; Tue, 02 Sep 2014 05:30:53 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id;\r
28         bh=sHyZNKiIhoxIoGuHYtTk2j3+e5nJOsyhlKAF8fW2qVU=;\r
29         b=vG6D2cntY3SwC0xPytP0cyodH/TGf2uIVjV0THL/osm7qF0nScNRk52ehp+4i2O5FV\r
30         XVcX8F3L49eR9UmIKxl4k9aWDa8UA5xqQASF48C18ccocRFQvG1MgAIQZ53AJ6gRg5oz\r
31         KncFBAr1AE3Bm2lp+TRHPxByahWqgd0Mp0Cw3syXAfvmdTdnJeQaPKR6s72B0OovIYlp\r
32         8MGxTA0FJgpYQ3C/TYrVHauGAoDajg9WM1EHHBO+8NDm6CM21pRkh1YrAtR++ot9LVAA\r
33         dKGh2yw9aMOP3pCgYVdyzJzEGC/hSrAwx3LbBlC6zTB3c9VA729AEqDYxp4xA1XAP2yU\r
34         CT7A==\r
35 X-Received: by 10.194.63.205 with SMTP id i13mr15999822wjs.74.1409661053875;\r
36         Tue, 02 Sep 2014 05:30:53 -0700 (PDT)\r
37 Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
38         by mx.google.com with ESMTPSA id n5sm9172874wja.38.2014.09.02.05.30.52\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Tue, 02 Sep 2014 05:30:53 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH] emacs: jump: sort-order bugfix\r
45 Date: Tue,  2 Sep 2014 13:30:49 +0100\r
46 Message-Id: <1409661049-23417-1-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.10.4\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Tue, 02 Sep 2014 12:31:01 -0000\r
61 \r
62 default-value needs its argument to be quoted.\r
63 ---\r
64 \r
65 Slightly strangely default-value of 't or nil is 't or nil\r
66 respectively so the code didn't give an error but just did the wrong\r
67 thing.\r
68 \r
69 Thanks to Jani for finding the bug.\r
70 \r
71 Best wishes\r
72 \r
73 Mark\r
74 \r
75  emacs/notmuch-jump.el |    2 +-\r
76  1 file changed, 1 insertion(+), 1 deletion(-)\r
77 \r
78 diff --git a/emacs/notmuch-jump.el b/emacs/notmuch-jump.el\r
79 index 5eb0949..0193f8c 100644\r
80 --- a/emacs/notmuch-jump.el\r
81 +++ b/emacs/notmuch-jump.el\r
82 @@ -51,7 +51,7 @@ (defun notmuch-jump-search ()\r
83                  (case (plist-get saved-search :sort-order)\r
84                    (newest-first nil)\r
85                    (oldest-first t)\r
86 -                  (otherwise (default-value notmuch-search-oldest-first)))))\r
87 +                  (otherwise (default-value 'notmuch-search-oldest-first)))))\r
88             (push (list key name\r
89                         `(lambda () (notmuch-search ',query ',oldest-first)))\r
90                   action-map)))))\r
91 -- \r
92 1.7.10.4\r
93 \r