Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 2c / 09e5dbd03530aa011c6f171400cbe6df37444b
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 4D695429E2E\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 11:57:54 -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 dzrLXh33oicA for <notmuch@notmuchmail.org>;\r
17         Fri, 23 Sep 2011 11:57:53 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53]) (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 0C505429E26\r
22         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 11:57:50 -0700 (PDT)\r
23 Received: by mail-fx0-f53.google.com with SMTP id 2so4098681fxh.26\r
24         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 11:57:50 -0700 (PDT)\r
25 Received: by 10.223.44.89 with SMTP id z25mr5523044fae.42.1316804270642;\r
26         Fri, 23 Sep 2011 11:57:50 -0700 (PDT)\r
27 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
28         [80.220.92.23])\r
29         by mx.google.com with ESMTPS id f10sm11984257fac.14.2011.09.23.11.57.48\r
30         (version=SSLv3 cipher=OTHER); Fri, 23 Sep 2011 11:57:49 -0700 (PDT)\r
31 From: Jani Nikula <jani@nikula.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH RESEND 2/2] emacs: Make saving new saved searches append,\r
34         not prepend\r
35 Date: Fri, 23 Sep 2011 21:57:38 +0300\r
36 Message-Id:\r
37  <3adf76032013969bf26c56d25de68ebad5b8445b.1316803382.git.jani@nikula.org>\r
38 X-Mailer: git-send-email 1.7.4.1\r
39 In-Reply-To: <cover.1316803382.git.jani@nikula.org>\r
40 References: <cover.1316803382.git.jani@nikula.org>\r
41 In-Reply-To: <cover.1316803382.git.jani@nikula.org>\r
42 References: <cover.1316803382.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: Fri, 23 Sep 2011 18:57:54 -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.4.1\r
82 \r