emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch parser


From: Stefan Monnier
Subject: Re: Patch parser
Date: Tue, 09 Dec 2014 17:11:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]