[Top][All Lists]

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

Re: diff-apply-hunk documentation doesn't match implementation

From: Andreas Schwab
Subject: Re: diff-apply-hunk documentation doesn't match implementation
Date: Mon, 12 Mar 2007 16:29:14 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>>>> This is just one part of the implementation.  The behavior is actually
>>>>> pretty subtle (too subtle, admittedly).  So I can't judge without knowing
>>>>> which end-user-level behavior you're referring to.
>>>> I look at a hunk, it says "Hunk not yet applied", I want to apply it, it
>>>> applies it to the original instead of the file I look at.
>>> Details please?
>> What do you need?
> Everything starting from "emacs -Q", including the patch file.

$ wget ftp://lwfinger.dynalias.org/patches/combined_2.6.20.2.patch
$ wget 
$ tar -xf linux-2.6.21-rc3.tar.bz2
$ cp -a linux-2.6.21-rc3 linux-2.6.21-rc3.orig
$ emacs combined_2.6.20.2.patch
C-c C-f
M-n M-4 M-f DEL 1-rc3 RET M-n M-n M-n
C-c C-a M-p


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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