--- /dev/null
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id B04866DE39A3\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.308\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.308 tagged_above=-999 required=5 tests=[AWL=1.028, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id gwcJ-NmjfBhb for <notmuch@notmuchmail.org>;\r
+ Sat, 13 Aug 2016 03:40:04 -0700 (PDT)\r
+Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com\r
+ [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id 912E86DE39A1 for\r
+ <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:03 -0700 (PDT)\r
+Received: by mail-wm0-f66.google.com with SMTP id i138so1827220wmf.3\r
+ for <notmuch@notmuchmail.org>; Sat, 13 Aug 2016 03:40:03 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=nikula-org.20150623.gappssmtp.com; s=20150623;\r
+ h=from:to:subject:in-reply-to:references:date:message-id:mime-version;\r
+ bh=Mr/9Y7i0FNs6r5+QrAm2WA47z94LCJSSGBgK1O7YLCk=;\r
+ b=grzTQCR0fLgTnEeV/V9N5A/Wuflo+mw44IvSAmBFhSUqILPZiQn66y6lGqU7VNkBDF\r
+ gdXpdIW65CUF4npZT7cP1qrrjdhlWnwPWGGtquKv/UWYCyr2UBcPH2zgc2KJ9ivtNFh+\r
+ aIBD4DcQ6q1V62F+kXqtGocWYZ/dDFT7cqtuKPFaG1mX/iyH2JF6Z6uhj+qZ5IMpZ8Hh\r
+ DtnjSTw5SC5OY8WGTRqIPIWD8tAJXRKZ+Scib6g3np/o0sL0Ngb5oUVr1pcGd1AOoasN\r
+ zqxv4AXHSYq7NG2ijQb+JTmfCteCPL7kPZIvcVOw5pAN1qlY3qY+x2/y2jEOw29J/QbQ\r
+ lRdw==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:from:to:subject:in-reply-to:references:date\r
+ :message-id:mime-version;\r
+ bh=Mr/9Y7i0FNs6r5+QrAm2WA47z94LCJSSGBgK1O7YLCk=;\r
+ b=W/5AHAlvaFTFAK6TzkkQ4MK9/vnqZs5WTNL2qH0sqOHLTL7T57Ep4mQo5ONbtHJGZN\r
+ 6XTYi8DMubBDY6iXe3S7rz1yAdQPNX0SJ/D9Hsn9jUl5ghVPLiv8TAmZatF1+R7/hrbk\r
+ Oh4jkYzUk7T1oe1SMJlu/iKYGRpgoaDb1auqNRhhFS5WvtJXrRbwevGUygvQ0ZaQpMNN\r
+ JrBkVJ8vP0aP240BHsIMugAQFsdQUBLcRm5fHy5XdZHdu7gwzekAeuhirWVNUEtsOs54\r
+ dWpIUS+yHYFcWvLgYSMl6XBNZlMIww+Yx2GyOQc6KI7InIBjm/TwKl6D1jrZptvh4Rtd\r
+ 245A==\r
+X-Gm-Message-State:\r
+ AEkoouv0V8ku++j5UtegxPCJ+mzu+47f+5ALHEjaGzbaBGNBYAW/XkSo5UXuM1uRphdPIw==\r
+X-Received: by 10.28.174.76 with SMTP id x73mr3133251wme.60.1471084802247;\r
+ Sat, 13 Aug 2016 03:40:02 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c368-70.dhcp.inet.fi.\r
+ [88.195.104.70])\r
+ by smtp.gmail.com with ESMTPSA id bj8sm11514585wjc.49.2016.08.13.03.40.01\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 13 Aug 2016 03:40:01 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Nicolas Petton <nicolas@petton.fr>,\r
+ Daniel Kahn Gillmor <dkg@fifthhorseman.net>, notmuch@notmuchmail.org\r
+Subject: Re: Applying patches directly from emails?\r
+In-Reply-To: <8737mzt9o6.fsf@petton.fr>\r
+References: <87d1m58jzo.fsf@petton.fr>\r
+ <87fur0l6hg.fsf@alice.fifthhorseman.net> <8737mzt9o6.fsf@petton.fr>\r
+Date: Sat, 13 Aug 2016 13:38:38 +0300\r
+Message-ID: <87mvkh7y35.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 13 Aug 2016 10:40:11 -0000\r
+\r
+On Sun, 24 Jul 2016, Nicolas Petton <nicolas@petton.fr> wrote:\r
+> Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:\r
+>> If you're asking about notmuch-emacs, I just use "|" (or ". |" if a\r
+>> MIME subpart is the patch instead of the whole message) to pipe the\r
+>> patch into some command i care about.\r
+>\r
+> That'd work, but I was hoping for something more integrated.\r
+>\r
+> For Emacs development & GNUS, there's `debbugs-gnu-apply-patch', which,\r
+> given a root directory, will apply a patch, inlined or attached to the\r
+> email, to the Emacs repository.\r
+\r
+I find most projects have their own peculiarities, and I'm not convinced\r
+it's beneficial for notmuch-emacs to include code to do this. It's\r
+fairly trivial to write shell scripts to do that, and you can then pipe\r
+the message(s) to the script, doing the cd and any other things you want\r
+done as part of the process. Moreover, such scripts are useful for users\r
+of other MUAs as well.\r
+\r
+BR,\r
+Jani.\r