From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: How to apply (multi file) patches conveniently Date: Tue, 07 Feb 2017 20:31:52 +0100 Message-ID: <871sv9u79z.fsf@drachen> References: <87efzb5xgl.fsf@drachen> <83fujr7216.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486495957 3036 195.159.176.226 (7 Feb 2017 19:32:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2017 19:32:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 20:32:33 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbBVB-0000aH-44 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 20:32:33 +0100 Original-Received: from localhost ([::1]:56083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbBVG-0003ws-Lf for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 14:32:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbBUf-0003wl-C0 for help-gnu-emacs@gnu.org; Tue, 07 Feb 2017 14:32:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbBUb-0007HW-Dk for help-gnu-emacs@gnu.org; Tue, 07 Feb 2017 14:32:01 -0500 Original-Received: from mout.web.de ([212.227.17.11]:49466) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbBUb-0007GR-3O; Tue, 07 Feb 2017 14:31:57 -0500 Original-Received: from drachen.dragon ([88.67.111.141]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Mg7I1-1cpqlb0Ck1-00NV5c; Tue, 07 Feb 2017 20:31:54 +0100 In-Reply-To: <83fujr7216.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Feb 2017 17:49:09 +0200") X-Provags-ID: V03:K0:XtEfNX7tgFWtqKnd6Xf5uF/5faenifHdD+K4TcAjmKqJtClx7Sz 4sQugbsX4CIR9IZ19bpYwMF0hs3LgVJWYTAlkrk2i/8v6/c/38RkxbJltkMMCqaw+qJo5Hl d4pbpZTbAa1zVS6LB9+T1IwOXQPApFVrgPINgrbAeKtnhrL8wgPUmtnvNFrsG/GbTHReZSu RQjCO/bysTACzWNR9dC2w== X-UI-Out-Filterresults: notjunk:1;V01:K0:umE0AaswL1o=:Wy/7MfTKLYBe3JEeIzw6Tu LRx9WwJCWqgKBsOngQTWWIjZeP4VkeOlsaYpzlUEFBmG1g3EfYSK5CbhN7MOA5KcttLJZ2Llb x9DtfrPzfHZHdhIvONlOKKy5BxpG2SMe92QdGzhHq21zzGIx75MVMQnPN/df90x3SGtj1w3pr HnX9nsbGx6Z9nFQ6clyg9LOLz2m7ysraqys7eQ5nXGIXkJ+h0r4f2AuptM0A5r8yAwf6gayBz OjccPXDw2y6TzReXejT+4hGBGkcw29Hj02FkAMygl1IOjC43tipIhhW/FJ90NyOKjOwVbNd2H lND1ZmkrHlzzKtYDrLoztmoD8yWGn/ZDa1gtGUt2xmw6QuhRnk2zKiLPhrun3S/eS39+6yo3y wbNcj0JrGTISUNECo6pdsTtpKb8yRIicDzN0XywAJuGbdovNNnrLBB1O41YbsMS6bzn6erosI X85kqUGDQND2w1QLMYMnSgoBIVKNO9K806f1W1NwozNySA8OOoKu7T44Wmr2/7GAvwfQsLRPs bQJAj1CIQ3JrIrUQNmg/eBtuFxVdDwnuIGPmfI1GZr1tOO0awr7mMDonskJXA0xCwDyqX6Xzc fz6U1R4pAPO5aITUTLSskEP7sDXlrIyMmCDGiu88eo7m7Ybw0q76AQY7/pNl6KhTYThSQo8nK QryDaaceQf3Y+48sB0czE8+ZbIgVKFTaX604xZahHMdjLj09mPxEWdOjpLM75sulWpgvXg0Dx gt/AusgWNmvK9j9pHGrKjpZmZUQ9qgBOfYXM24/dpxzcjnVrYiTiiIJhOpkKj/hGwTYfPtdL X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112272 Archived-At: Eli Zaretskii writes: > I just mark the entire patch in Emacs, then invoke "M-|", and type > > patch -d /the/root/directory/of/the/project -pN Btw, like with `epatch', this apparently also works with the complete buffer contents - seems "patch" is smart enough to DTRT. Which means, if I do this from within a command, I can probably avoid letting the user mark the patch as region. Michael.