all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: Patch parser
Date: Tue, 09 Dec 2014 17:11:10 -0500	[thread overview]
Message-ID: <jwvvblklbox.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3lhmgzl2x.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 09 Dec 2014 20:20:38 +0100")

> Does Emacs have a patch parser?

I think the closest we have is the code in diff-mode.

> *** lisp/international/characters.el	2013-01-01 21:37:17.000000000 +0100
> --- lisp/international/characters-fixc1.el	2013-02-18 17:58:29.103018508 +0100

> should obviously be run from <top>/lisp with -p1 (or in <top> with -p0),
> while this is in <top> with -p1:

> --- a/lisp/net/eww.el
> +++ b/lisp/net/eww.el

> It's not rocket surgery to write this myself, but if it already exists...

FWIW, I currently use M-| M-p which (almost) always brings me to
a command like "cd ~/.../emacs/emacs-24; patch -p1", and it's really not
much work for me to adjust the -p1 to -p0 at the same time as I check
whether I want to change the "emacs-24" into a "master".


        Stefan



      reply	other threads:[~2014-12-09 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 19:20 Patch parser Lars Magne Ingebrigtsen
2014-12-09 22:11 ` Stefan Monnier [this message]

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=jwvvblklbox.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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.