[PATCH] emacs: address completion, allow sender/recipient and filters
[notmuch-archives.git] / f4 / d450d6b97b437705996a01526faa59ccaf1cf1
1 Return-Path: <dme@hotblack-desiato.hh.sledj.net>\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 29061431E84\r
6         for <notmuch@notmuchmail.org>; Fri,  2 May 2014 01:23:25 -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.379\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.379 tagged_above=-999 required=5\r
12         tests=[NO_DNS_FOR_FROM=0.379] 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 Coz6vLx2myv9 for <notmuch@notmuchmail.org>;\r
16         Fri,  2 May 2014 01:23:17 -0700 (PDT)\r
17 X-Greylist: delayed 423 seconds by postgrey-1.32 at olra;\r
18         Fri, 02 May 2014 01:23:17 PDT\r
19 Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net\r
20         [81.149.164.25])\r
21         (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
22         (No client certificate requested)\r
23         by olra.theworths.org (Postfix) with ESMTPS id 8B1E8431FBD\r
24         for <notmuch@notmuchmail.org>; Fri,  2 May 2014 01:23:17 -0700 (PDT)\r
25 Received: from hotblack-desiato.hh.sledj.net (hotblack-desiato.hh.sledj.net\r
26         [172.16.100.105])\r
27         by disaster-area.hh.sledj.net (Postfix) with ESMTPSA id F06CA501481\r
28         for <notmuch@notmuchmail.org>; Fri,  2 May 2014 09:16:11 +0100 (BST)\r
29 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
30         id B8D9C103452; Fri,  2 May 2014 09:16:10 +0100 (BST)\r
31 From: David Edmondson <dme@dme.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: Add support for specifying tags during "notmuch new"\r
34 Date: Fri,  2 May 2014 09:15:50 +0100\r
35 Message-Id: <1399018555-1994-1-git-send-email-dme@dme.org>\r
36 X-Mailer: git-send-email 1.9.2\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Fri, 02 May 2014 08:23:25 -0000\r
50 \r
51 This patch set allows a user to specify a list of tags to be\r
52 added/removed to messages discovered during "notmuch new".\r
53 \r
54 Two use-cases are envisaged:\r
55     1) A chunk of messages was just dumped into the configured\r
56        directory by hand, and the user doesn't want the 'inbox' tag\r
57        applied to them. Run 'notmuch new -inbox'.\r
58     2) A periodic mail processing script wants to add new messages to\r
59        the database, then process those newly added messages to add\r
60        convenience tags, etc. without worrying about the user or other\r
61        instances of the script manipulating tags at the same time. Use\r
62        this approach:\r
63          KEY=$RANDOM\r
64          notmuch new +$KEY\r
65          notmuch tag +notmuch tag:$KEY and to:notmuch@notmuchmail.org\r
66          notmuch tag +gnus tag:$KEY and to:ding@gnus.org\r
67          ...\r
68          notmuch tag -$KEY tag:$KEY\r
69 \r