Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / 2f / ed1e081223d130fd87f48d6f1a3d76e5e54d0c
1 Return-Path: <bremner@unb.ca>\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 76BB1431FB6\r
6         for <notmuch@notmuchmail.org>; Mon, 25 Feb 2013 13:53:33 -0800 (PST)\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 QEqz0QHELaqa for <notmuch@notmuchmail.org>;\r
16         Mon, 25 Feb 2013 13:53:33 -0800 (PST)\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id EF033431FAF\r
21         for <notmuch@notmuchmail.org>; Mon, 25 Feb 2013 13:53:32 -0800 (PST)\r
22 Received: from convex-new.cs.unb.ca ([131.202.245.35])\r
23         by tesseract.cs.unb.ca with esmtpsa\r
24         (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80)\r
25         (envelope-from <bremner@unb.ca>)\r
26         id 1UA5zA-000129-Mn; Mon, 25 Feb 2013 17:53:27 -0400\r
27 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.80)\r
28         (envelope-from <bremner@unb.ca>)\r
29         id 1UA5z3-0007kX-92; Mon, 25 Feb 2013 17:53:17 -0400\r
30 From: David Bremner <david@tethera.net>\r
31 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
32 Subject: Re: [PATCH 2/4] cli: add --remove-all option to "notmuch tag"\r
33 In-Reply-To: <87obf8ur0u.fsf@nikula.org>\r
34 References:\r
35  <1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani@nikula.org>\r
36         <e9dd76463809998cdb68bb5078a8d679e98560c2.1358876448.git.jani@nikula.org>\r
37         <87obf8ur0u.fsf@nikula.org>\r
38 User-Agent: Notmuch/0.14+257~ge43e0af (http://notmuchmail.org) Emacs/24.2.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Mon, 25 Feb 2013 17:53:17 -0400\r
41 Message-ID: <87a9qs6oxe.fsf@convex-new.cs.unb.ca>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain\r
44 X-Spam_bar: -\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Mon, 25 Feb 2013 21:53:33 -0000\r
58 \r
59 Jani Nikula <jani@nikula.org> writes:\r
60 \r
61 >>\r
62 >> $ notmuch tag $(notmuch search --output=tags '*' | sed 's/^/-/') \\r
63 >>   id:foo@example.com\r
64 >> $ notmuch tag $(notmuch search --output=tags '*' | sed 's/^/-/') \\r
65 >>   +foo +bar id:foo@example.com\r
66 \r
67 In the special case that the query really is a message-id, the following\r
68 should work\r
69 \r
70 echo "-- id:foo@example" | notmuch restore --format=batch-tag\r
71 \r
72 should work.\r
73 \r
74 Weirdly, that seems to even remove that attachment tag, I'm not sure if\r
75 that is a bug.\r
76 \r
77 Anyway your patches are more general.\r
78 \r
79 Sorry, that's not a review yet.\r
80 \r
81 d\r