Re: [PATCH 1/2] Add Google Inc. to AUTHORS as a contributor.
[notmuch-archives.git] / b3 / 8b5dfad05ccbcc513adf6b21f14541fe2b0280
1 Return-Path: <jani@nikula.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 1350C431FB6\r
6         for <notmuch@notmuchmail.org>; Wed,  7 Sep 2011 01:01:46 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id D9Y722rBltsD for <notmuch@notmuchmail.org>;\r
17         Wed,  7 Sep 2011 01:01:44 -0700 (PDT)\r
18 Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com\r
19         [209.85.220.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 8E28E429E26\r
22         for <notmuch@notmuchmail.org>; Wed,  7 Sep 2011 01:01:43 -0700 (PDT)\r
23 Received: by mail-vx0-f181.google.com with SMTP id 7so579623vxh.26\r
24         for <notmuch@notmuchmail.org>; Wed, 07 Sep 2011 01:01:43 -0700 (PDT)\r
25 Received: by 10.52.21.3 with SMTP id r3mr968316vde.437.1315382503319;\r
26         Wed, 07 Sep 2011 01:01:43 -0700 (PDT)\r
27 Received: from localhost (nikula.org [92.243.24.172])\r
28         by mx.google.com with ESMTPS id t6sm2021250vdf.16.2011.09.07.01.01.41\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Wed, 07 Sep 2011 01:01:42 -0700 (PDT)\r
31 From: Jani Nikula <jani@nikula.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v2 2/2] emacs: Make saving new saved searches append,\r
34         not prepend\r
35 Date: Wed,  7 Sep 2011 08:01:28 +0000\r
36 Message-Id:\r
37  <0622b1df2fe1f06e4f54409fc81494dc9b9cba07.1315381553.git.jani@nikula.org>\r
38 X-Mailer: git-send-email 1.7.1\r
39 In-Reply-To: <1315322623575-3313863.post@n3.nabble.com>\r
40 References: <1315322623575-3313863.post@n3.nabble.com>\r
41 In-Reply-To: <cover.1315381553.git.jani@nikula.org>\r
42 References: <cover.1315381553.git.jani@nikula.org>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 07 Sep 2011 08:01:46 -0000\r
56 \r
57 Append new saved searches at the end of saved searches rather than insert\r
58 in front.\r
59 \r
60 Signed-off-by: Jani Nikula <jani@nikula.org>\r
61 ---\r
62  emacs/notmuch-hello.el |    4 ++--\r
63  1 files changed, 2 insertions(+), 2 deletions(-)\r
64 \r
65 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
66 index 6c8e265..dc34ebe 100644\r
67 --- a/emacs/notmuch-hello.el\r
68 +++ b/emacs/notmuch-hello.el\r
69 @@ -188,8 +188,8 @@ Typically \",\" in the US and UK and \".\" in Europe."\r
70                 collect elem))\r
71      ;; Add the new one.\r
72      (customize-save-variable 'notmuch-saved-searches\r
73 -                            (push (cons name search)\r
74 -                                  notmuch-saved-searches))\r
75 +                            (add-to-list 'notmuch-saved-searches\r
76 +                                         (cons name search) t))\r
77      (message "Saved '%s' as '%s'." search name)\r
78      (notmuch-hello-update)))\r
79  \r
80 -- \r
81 1.7.1\r
82 \r