Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 77 / 9591a1cb487bafb83f58a1588763dc4f4b79bf
1 Return-Path: <tomi.ollila@iki.fi>\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 0678A431FAE\r
6         for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 11:42:16 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 dhTAPieaFnwN for <notmuch@notmuchmail.org>;\r
16         Sun, 11 Mar 2012 11:42:11 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id 63403431FAF\r
19         for <notmuch@notmuchmail.org>; Sun, 11 Mar 2012 11:42:11 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id ED57468055; Sun, 11 Mar 2012 20:42:09 +0200 (EET)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Pieter Praet <pieter@praet.org>, Notmuch Mail <notmuch@notmuchmail.org>\r
24 Subject: Re: [PATCH v4] test: emacs: new test "notmuch-search: change tags of\r
25         all matching messages"\r
26 In-Reply-To: <1331149792-17192-1-git-send-email-pieter@praet.org>\r
27 References: <1329936867-923-1-git-send-email-pieter@praet.org>\r
28         <1331149792-17192-1-git-send-email-pieter@praet.org>\r
29 User-Agent: Notmuch/0.11.1+288~g4b3af0e (http://notmuchmail.org) Emacs/23.3.1\r
30         (x86_64-unknown-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Sun, 11 Mar 2012 20:42:09 +0200\r
35 Message-ID: <m2399fkmim.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sun, 11 Mar 2012 18:42:16 -0000\r
51 \r
52 On Wed,  7 Mar 2012 20:49:52 +0100, Pieter Praet <pieter@praet.org> wrote:\r
53 > * test/emacs-search:\r
54\r
55 >   - New subtest "notmuch-search: change tags of all matching messages":\r
56 >     `notmuch-search-tag-all' (bound to "*") adds and removes tags\r
57 >     to/from all messages which match the query used to populate the\r
58 >     current search buffer.\r
59 > ---\r
60\r
61 > Moved to a separate file to prevent a merge conflict when applied in\r
62 > conjunction with the patches listed @ id:"877gz4dnl2.fsf@praet.org".\r
63 \r
64 Hi Pieter!\r
65 \r
66 I did the following script:\r
67 \r
68 --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--\r
69 \r
70 #!/bin/sh\r
71 \r
72 while read line\r
73 do\r
74         case $line in id:*) notmuch show --format=mbox "$line"\r
75         esac\r
76 done < "$0" | git am \r
77 exit 0\r
78 \r
79 id:"1329684990-12504-2-git-send-email-pieter@praet.org"\r
80 id:"1329684990-12504-3-git-send-email-pieter@praet.org"\r
81 id:"1329684990-12504-4-git-send-email-pieter@praet.org"\r
82 \r
83 id:"1330122640-18895-2-git-send-email-pieter@praet.org"\r
84 id:"1330122640-18895-3-git-send-email-pieter@praet.org"\r
85 \r
86 id:"1331149792-17192-1-git-send-email-pieter@praet.org"\r
87 \r
88 --8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--\r
89 \r
90 When executed on top of current master (c46764030d, 0.11.1-1-293-gc467640)\r
91 last patch (1331149792-17192-1..., this I'm replying to) fails as:\r
92 \r
93 error: patch failed: test/notmuch-test:54\r
94 error: test/notmuch-test: patch does not apply\r
95 \r
96 \r
97 In order to get clear picture of the changes you wish to get\r
98 reviewed please provide cleanly applicable patchset.\r
99 \r
100 The best possible way to inform what is to be reviewed\r
101 is\r
102 \r
103 1) List of message id:s of the patches, in order those\r
104    are to be applied.\r
105 \r
106 2) Sha1 of the commit where this patchset applies cleanly\r
107    (In this case I will do review even though it would not\r
108     apply on top of current master (at that time) anymore --\r
109     but *I* would not expect it to to be pushed until rebased\r
110     patchset is sent again).\r
111 \r
112 BR,\r
113 \r
114 Tomi\r