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