Re: [PATCH v4 16/16] add "notmuch reindex" subcommand
[notmuch-archives.git] / 6d / ded27519623f4cc34beb0b9e25b907fb96b3cc
1 Return-Path: <daniel@schoepe.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 7683D431FC2\r
6         for <notmuch@notmuchmail.org>; Thu,  6 Nov 2014 10:48:35 -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.8\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         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 GkKW9mKh42Ex for <notmuch@notmuchmail.org>;\r
17         Thu,  6 Nov 2014 10:48:28 -0800 (PST)\r
18 Received: from mail-la0-f41.google.com (mail-la0-f41.google.com\r
19         [209.85.215.41]) (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 EFC5D431FBF\r
22         for <notmuch@notmuchmail.org>; Thu,  6 Nov 2014 10:48:27 -0800 (PST)\r
23 Received: by mail-la0-f41.google.com with SMTP id s18so3143671lam.14\r
24         for <notmuch@notmuchmail.org>; Thu, 06 Nov 2014 10:48:25 -0800 (PST)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
26         h=from:to:subject:user-agent:date:message-id:mime-version\r
27         :content-type; bh=24dLnMP1rACjntaZ8GrwQTsfimBEtDboU4hn/nJwE7E=;\r
28         b=CgDECtA25DiMRZEg+PvfTY+LNyYRujDUPeADS9nQ5YCtTJpwg/zFfRQ4JPWV4BvTOx\r
29         M5IYFJ0Up8rwxPR09daDKk5z8I6dv0P2V/S+TfMRm0moXg1YzeeXxCBrbAULaGXXETyO\r
30         1QE0CpUVw3zsKIcA1YQOsYKaK3e0G4s2zbZ0o=\r
31 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
32         d=1e100.net; s=20130820;\r
33         h=x-gm-message-state:from:to:subject:user-agent:date:message-id\r
34         :mime-version:content-type;\r
35         bh=24dLnMP1rACjntaZ8GrwQTsfimBEtDboU4hn/nJwE7E=;\r
36         b=babfHiWr6CyjFvSADgot6v2J2MZeCvPazUXE/Dc3d8PyzMsrBlP4qNwJ4Wns87I6HR\r
37         irG4DHhnl6m+UuT2nxTlARwPL2QIitYdvFzyn9DctTaRfBkxgrFTV3UAstPtCRcU8TF4\r
38         kd39WIM/UzVdxdUN4lNjSpVqjUcHRMeR16ALwWkCIlrq6pFc7ue8gggHuyWa7JO/LoC4\r
39         ROyVnTQvcfWgzUUVlsDg0LbnWKHuU5bYUfD5tbjylJ+Zfr4nNL5sffMDQ+hkgUSm38KN\r
40         KXz2TY8uNdaKYtmK8pNnadlvLQDUms9Px9u1J9rYi3P+Yd8J39oPvk5s3C1uU/WLoTUh\r
41         p9Zw==\r
42 X-Gm-Message-State:\r
43  ALoCoQkG2JLURhvHLEbSXc884rrjdzDl57SX0PgFA554kCclpTd2zrQqEHE6+ub12iSAssNHepZV\r
44 X-Received: by 10.112.11.133 with SMTP id q5mr6638087lbb.77.1415299705028;\r
45         Thu, 06 Nov 2014 10:48:25 -0800 (PST)\r
46 Received: from localhost (ds00.ekb.sgsnet.se. [46.239.108.171])\r
47         by mx.google.com with ESMTPSA id eg2sm2682297lbb.29.2014.11.06.10.48.23\r
48         for <notmuch@notmuchmail.org>\r
49         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
50         Thu, 06 Nov 2014 10:48:23 -0800 (PST)\r
51 From: Daniel Schoepe <daniel@schoepe.org>\r
52 To: <notmuch@notmuchmail.org>\r
53 Subject: Snoozing messages\r
54 User-Agent: Notmuch/0.18.2+162~g34d2c62 (http://notmuchmail.org) Emacs/24.4.1\r
55         (x86_64-unknown-linux-gnu)\r
56 Date: Thu, 06 Nov 2014 19:48:17 +0100\r
57 Message-ID: <87d290b1xq.fsf@schoepe.localhost>\r
58 MIME-Version: 1.0\r
59 Content-Type: multipart/signed; boundary="=-=-=";\r
60         micalg=pgp-sha1; protocol="application/pgp-signature"\r
61 X-BeenThere: notmuch@notmuchmail.org\r
62 X-Mailman-Version: 2.1.13\r
63 Precedence: list\r
64 List-Id: "Use and development of the notmuch mail system."\r
65         <notmuch.notmuchmail.org>\r
66 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
68 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
69 List-Post: <mailto:notmuch@notmuchmail.org>\r
70 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
71 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
73 X-List-Received-Date: Thu, 06 Nov 2014 18:48:35 -0000\r
74 \r
75 --=-=-=\r
76 Content-Type: text/plain\r
77 \r
78 Hi,\r
79 \r
80 inspired by my alarm clock and the snooze feature found in some other\r
81 mail clients, I cobbled something together that allows snoozing\r
82 (i.e. removing a message from the inbox and adding it again later)\r
83 messages in notmuch. It's a small script that removes the inbox tag from\r
84 messages and schedules a job to add it again later using the at daemon\r
85 [1].\r
86 \r
87 Time is specified in the format accepted by the perl library Date::Manip\r
88 [2]. It supports both absolute dates as well as relative times such as\r
89 "+5min".\r
90 \r
91 The code is available here: https://github.com/dschoepe/notmuch-snooze\r
92 \r
93 Best regards,\r
94 Daniel\r
95 \r
96 [1] https://packages.qa.debian.org/a/at.html\r
97 [2] http://search.cpan.org/~sbeck/Date-Manip/lib/Date/Manip.pod\r
98 \r
99 --=-=-=\r
100 Content-Type: application/pgp-signature; name="signature.asc"\r
101 \r
102 -----BEGIN PGP SIGNATURE-----\r
103 Version: GnuPG v2\r
104 \r
105 iQIcBAEBAgAGBQJUW8J2AAoJEIaTAtce+Z+JC7kQAIpeQeBClsLB9AJIvJStrbVP\r
106 M47MDsJ6aHNwqjtQS/LArwBgYbsMON9wyasz1aHya39LPtvzkCpBYvbhhmBqYPPx\r
107 qQpoidwpaIgWMTSGu0GAyGOsdfjzBHli8QIFEgY4MFv2Dk7FAsiObPIN3uklnzLO\r
108 ZNVZGvxJmPDD0alZ4HqKTRxySJJ/TjrINP2+cVGCBXEgwYJ8cjbXYh9ICgJm+kd6\r
109 24Z8tdpKjptzdVscVzMU/IUmpX599UrXgIJWfnRc8edqIch54Q3HENVzWuPNbpt9\r
110 cnzCrhigGhAcVeEsFT+70RsQx+T50/kd9Yrbzr8Wdm3FA08tjT3d3HgvyL2rf9TR\r
111 +AQb4GROaxGkPb9cVwngauOSxg8JpbFEreGbLRPxCRAuqVTbyS4mS2kzPmhtOtj9\r
112 i802ItAdoB1mX+NcycOw6HjWRt7O80cC83CHVhZubhPNb779ERhddlRALPcmd9u+\r
113 ucsRKy2XUjEHHT2CrpL+BbyfewsWq3NPxuX5CroQmAzEJ5nn1ixKxSf1AvlM/F3K\r
114 7sRlAF3Jd6LqbZ3bqi4Smt7G/FzgcYrGGd0o7NESUyAZGGpgkBexvX+xkFB9cM0r\r
115 IpdpxMWtIOsQ2A2h/KoGpQaLWr3XtXxid7XLwJC8zVK9m1bC8TfOqNwjDszsChSy\r
116 adUTOEsxa/gG93s8WH3/\r
117 =DURl\r
118 -----END PGP SIGNATURE-----\r
119 --=-=-=--\r