[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: Tue, 13 Mar 2007 16:45:32 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> So, there was fundamentally only 1 file, right?
> It just so happened that diff-mode found 2 different matching files (one for
> the "old" and one for the "new"), but it was unintended?

Yes, that's one way to look at it.  In the real situation there were some
differences between the orig tree and to working tree, but those were
unrelated to the patch.

> I'm not sure what you mean by "this behaviour".  I guess the confusing
> behavior is mostly the inconsistency between diff-goto-source and
> diff-apply-hook, is that right?

Right, and it became worse after I read the doc string.


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]