Applying patches directly from emails?
[notmuch-archives.git] / e7 / 669d70b196ca8b97be3a59615ef19189bfedb8
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 CDD28431FAF\r
6         for <notmuch@notmuchmail.org>; Sun, 15 Sep 2013 01:19:42 -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 HZIz7kSDdJGz for <notmuch@notmuchmail.org>;\r
18         Sun, 15 Sep 2013 01:19:37 -0700 (PDT)\r
19 Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com\r
20  [74.125.82.46])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  2ECF8431FAE    for <notmuch@notmuchmail.org>; Sun, 15 Sep 2013 01:19:37 -0700\r
23  (PDT)\r
24 Received: by mail-wg0-f46.google.com with SMTP id k14so2509132wgh.13\r
25         for <notmuch@notmuchmail.org>; Sun, 15 Sep 2013 01:19:36 -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=OL42/qebErswpTzsRD37fppqbw/0qCpamT2vMeXCXGI=;\r
29         b=fpCPwbX8cp8+rBmGhP4uob1NkGQxpURbxHD3FdA0d4CSTr++3YaL2oAoBxmmWKSyR/\r
30         oSuAgIgBe0NbbzB/bdmTfpNpDG3S0rQ67T1w8BaoSJcIlLF4VbTikteu/iNy1Ma+dzan\r
31         pNRKQXk7dsbN7HwSuYpWMyj3jqTVgInsDk6RAJMmwdJc6aMGireFKCk8Hz/QdZlQ7k/C\r
32         uu11L7PAT+wdTpbhUuJqC2gzgEJWSm0RHctUkkF5WQ5iBberxGbe+BILIeIlclumdqdg\r
33         E+fH2U1UgkMVHkf2AAsqAsgvhPbioUvT7oe+uzniOlFmv+43wf7pry8/ICCYEgUjAw5J\r
34         mpcg==\r
35 X-Received: by 10.180.189.205 with SMTP id gk13mr8898349wic.12.1379233176136; \r
36         Sun, 15 Sep 2013 01:19:36 -0700 (PDT)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id b13sm14879456wic.9.1969.12.31.16.00.00\r
39         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
40         Sun, 15 Sep 2013 01:19:35 -0700 (PDT)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH] contrib: pick: bugfix use of mini-buffer history\r
44 Date: Sun, 15 Sep 2013 09:19:33 +0100\r
45 Message-Id: <1379233173-9812-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sun, 15 Sep 2013 08:19:42 -0000\r
60 \r
61 pick was meant to use the same mini-buffer history but this failed\r
62 because the interactive definition took place before the use search\r
63 mini-buffer history part. Remove the interactive prompt to ensure the\r
64 correct history is used.\r
65 ---\r
66  contrib/notmuch-pick/notmuch-pick.el |    2 +-\r
67  1 files changed, 1 insertions(+), 1 deletions(-)\r
68 \r
69 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
70 index 01ca4bd..ad85d03 100644\r
71 --- a/contrib/notmuch-pick/notmuch-pick.el\r
72 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
73 @@ -948,7 +948,7 @@ The arguments are:\r
74    BUFFER-NAME: the name of the buffer to show the pick tree. If\r
75        it is nil \"*notmuch-pick\" followed by QUERY is used.\r
76    OPEN-TARGET: If TRUE open the target message in the message pane."\r
77 -  (interactive "sNotmuch pick: ")\r
78 +  (interactive)\r
79    (if (null query)\r
80        (setq query (notmuch-read-query "Notmuch pick: ")))\r
81    (let ((buffer (get-buffer-create (generate-new-buffer-name\r
82 -- \r
83 1.7.9.1\r
84 \r