Re: [PATCH v4 16/16] add "notmuch reindex" subcommand
[notmuch-archives.git] / 5b / f16430656fbf3d433bfbcd19b776ee34f7a367
1 Return-Path: <jani@nikula.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 arlo.cworth.org (Postfix) with ESMTP id B04866DE39A3\r
6  for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:11 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.308\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.308 tagged_above=-999 required=5 tests=[AWL=1.028, \r
12  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id gwcJ-NmjfBhb for <notmuch@notmuchmail.org>;\r
17  Sat, 13 Aug 2016 03:40:04 -0700 (PDT)\r
18 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com\r
19  [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id 912E86DE39A1 for\r
20  <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:03 -0700 (PDT)\r
21 Received: by mail-wm0-f66.google.com with SMTP id i138so1827220wmf.3\r
22  for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:03 -0700 (PDT)\r
23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
24  d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
25  h=from:to:subject:in-reply-to:references:date:message-id:mime-version;\r
26  bh=Mr/9Y7i0FNs6r5+QrAm2WA47z94LCJSSGBgK1O7YLCk=;\r
27  b=grzTQCR0fLgTnEeV/V9N5A/Wuflo+mw44IvSAmBFhSUqILPZiQn66y6lGqU7VNkBDF\r
28  gdXpdIW65CUF4npZT7cP1qrrjdhlWnwPWGGtquKv/UWYCyr2UBcPH2zgc2KJ9ivtNFh+\r
29  aIBD4DcQ6q1V62F+kXqtGocWYZ/dDFT7cqtuKPFaG1mX/iyH2JF6Z6uhj+qZ5IMpZ8Hh\r
30  DtnjSTw5SC5OY8WGTRqIPIWD8tAJXRKZ+Scib6g3np/o0sL0Ngb5oUVr1pcGd1AOoasN\r
31  zqxv4AXHSYq7NG2ijQb+JTmfCteCPL7kPZIvcVOw5pAN1qlY3qY+x2/y2jEOw29J/QbQ\r
32  lRdw==\r
33 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
34  d=1e100.net; s=20130820;\r
35  h=x-gm-message-state:from:to:subject:in-reply-to:references:date\r
36  :message-id:mime-version;\r
37  bh=Mr/9Y7i0FNs6r5+QrAm2WA47z94LCJSSGBgK1O7YLCk=;\r
38  b=W/5AHAlvaFTFAK6TzkkQ4MK9/vnqZs5WTNL2qH0sqOHLTL7T57Ep4mQo5ONbtHJGZN\r
39  6XTYi8DMubBDY6iXe3S7rz1yAdQPNX0SJ/D9Hsn9jUl5ghVPLiv8TAmZatF1+R7/hrbk\r
40  Oh4jkYzUk7T1oe1SMJlu/iKYGRpgoaDb1auqNRhhFS5WvtJXrRbwevGUygvQ0ZaQpMNN\r
41  JrBkVJ8vP0aP240BHsIMugAQFsdQUBLcRm5fHy5XdZHdu7gwzekAeuhirWVNUEtsOs54\r
42  dWpIUS+yHYFcWvLgYSMl6XBNZlMIww+Yx2GyOQc6KI7InIBjm/TwKl6D1jrZptvh4Rtd\r
43  245A==\r
44 X-Gm-Message-State:\r
45  AEkoouv0V8ku++j5UtegxPCJ+mzu+47f+5ALHEjaGzbaBGNBYAW/XkSo5UXuM1uRphdPIw==\r
46 X-Received: by 10.28.174.76 with SMTP id x73mr3133251wme.60.1471084802247;\r
47  Sat, 13 Aug 2016 03:40:02 -0700 (PDT)\r
48 Received: from localhost (dsl-hkibrasgw2-58c368-70.dhcp.inet.fi.\r
49  [88.195.104.70])\r
50  by smtp.gmail.com with ESMTPSA id bj8sm11514585wjc.49.2016.08.13.03.40.01\r
51  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
52  Sat, 13 Aug 2016 03:40:01 -0700 (PDT)\r
53 From: Jani Nikula <jani@nikula.org>\r
54 To: Nicolas Petton <nicolas@petton.fr>,\r
55  Daniel Kahn Gillmor <dkg@fifthhorseman.net>, notmuch@notmuchmail.org\r
56 Subject: Re: Applying patches directly from emails?\r
57 In-Reply-To: <8737mzt9o6.fsf@petton.fr>\r
58 References: <87d1m58jzo.fsf@petton.fr>\r
59  <87fur0l6hg.fsf@alice.fifthhorseman.net> <8737mzt9o6.fsf@petton.fr>\r
60 Date: Sat, 13 Aug 2016 13:38:38 +0300\r
61 Message-ID: <87mvkh7y35.fsf@nikula.org>\r
62 MIME-Version: 1.0\r
63 Content-Type: text/plain\r
64 X-BeenThere: notmuch@notmuchmail.org\r
65 X-Mailman-Version: 2.1.20\r
66 Precedence: list\r
67 List-Id: "Use and development of the notmuch mail system."\r
68  <notmuch.notmuchmail.org>\r
69 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
70  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
72 List-Post: <mailto:notmuch@notmuchmail.org>\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
74 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
75  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
76 X-List-Received-Date: Sat, 13 Aug 2016 10:40:11 -0000\r
77 \r
78 On Sun, 24 Jul 2016, Nicolas Petton <nicolas@petton.fr> wrote:\r
79 > Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
80 >> If you're asking about notmuch-emacs, I just use "|" (or ". |" if a\r
81 >> MIME subpart is the patch instead of the whole message) to pipe the\r
82 >> patch into some command i care about.\r
83 >\r
84 > That'd work, but I was hoping for something more integrated.\r
85 >\r
86 > For Emacs development & GNUS, there's `debbugs-gnu-apply-patch', which,\r
87 > given a root directory, will apply a patch, inlined or attached to the\r
88 > email, to the Emacs repository.\r
89 \r
90 I find most projects have their own peculiarities, and I'm not convinced\r
91 it's beneficial for notmuch-emacs to include code to do this. It's\r
92 fairly trivial to write shell scripts to do that, and you can then pipe\r
93 the message(s) to the script, doing the cd and any other things you want\r
94 done as part of the process. Moreover, such scripts are useful for users\r
95 of other MUAs as well.\r
96 \r
97 BR,\r
98 Jani.\r