[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Showing the relevant part of a diff
From: |
Lars Ingebrigtsen |
Subject: |
Re: [PATCH] Showing the relevant part of a diff |
Date: |
Fri, 19 Feb 2016 16:49:35 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
"Herring, Davis" <address@hidden> writes:
> When looking at changes made to a file, the ones most likely to be
> interesting are those affecting the portion of the file in view. The
> second attached patch causes `vc-diff' to place point at the place in
> the diff that corresponds to point in the file being compared (only if
> the current source is the endpoint of the diff, of course).
This sounds very useful, I think.
> To resolve:
> 1. Would this need a NEWS entry?
Yes. And documentation in the manual.
> 2. Does it need to be customizable? (M-< is all it takes to "recover
> the old behavior"...)
I don't think it has to be customisable.
> 3. Is it worth supporting the (very rare) "normal" diff format?
That would be nice, but it's very rare to see those in the wild these
days, so if it's a lot of work, it may not be worth it.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no