all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to apply (multi file) patches conveniently
Date: Tue, 07 Feb 2017 17:48:05 +0100	[thread overview]
Message-ID: <87zihyt0ai.fsf@drachen> (raw)
In-Reply-To: <83fujr7216.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Feb 2017 17:49:09 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> I just mark the entire patch in Emacs, then invoke "M-|", and type
>
>   patch -d /the/root/directory/of/the/project -pN
>
> where N should be chosen by counting the slashes that you will want
> Patch to remove before looking for files relative to that root
> directory.  For patches produced by "git diff" etc., N is typically 1.

Ok thanks, then for now, I'll use a little command that is doing that
for me (funnily it seems to be impossible to type M-| with a German
keyboard, not even in X, because you need to hit Meta and AltGr and < at
the same time, and that doesn't generate an event at all).

And I guess epatch just makes nonsense and should be fixed.


Thanks,

Michael.



  reply	other threads:[~2017-02-07 16:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 12:13 How to apply (multi file) patches conveniently Michael Heerdegen
2017-02-06 15:49 ` Eli Zaretskii
2017-02-07 16:48   ` Michael Heerdegen [this message]
2017-02-07 17:19     ` Nick Dokos
2017-02-07 17:52       ` Michael Heerdegen
2017-02-07 19:45         ` Nick Dokos
2017-02-07 22:42         ` Robert Thorpe
2017-02-07 20:23     ` tomas
2017-02-07 20:42       ` Michael Heerdegen
2017-02-07 21:57         ` tomas
2017-02-07 19:31   ` Michael Heerdegen
2017-02-07 20:03     ` Eli Zaretskii
2017-02-07 20:22       ` Michael Heerdegen
2017-02-07 20:42         ` Eli Zaretskii
2017-02-07 20:50           ` Michael Heerdegen
2017-02-08  9:48         ` Thien-Thi Nguyen
2017-02-08 22:34           ` Michael Heerdegen
2017-02-09 17:49             ` Thien-Thi Nguyen
2017-02-07 14:25 ` Stefan Monnier
2017-02-07 16:51   ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zihyt0ai.fsf@drachen \
    --to=michael_heerdegen@web.de \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.