GNU bug report logs -
#18128
Diff-mode doesn't refine hunks automatically
Previous Next
Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>
Date: Mon, 28 Jul 2014 14:00:02 UTC
Severity: wishlist
Tags: fixed
Merged with 12747,
16798,
21744
Found in versions 23.4, 24.5
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I'd like hunks to be refined regardless of the way I move around the file.
E.g. if I chose to page-up through uninteresting parts of the diff,
auto-refinining shouldn't stop.
Paul
On 28 July 2014 16:44, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Mon, 28 Jul 2014 16:39:56 +0200
> > From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> > Cc: 18128 <at> debbugs.gnu.org
> >
> > It is enough. Then please add a reference to it to documentation of
> > diff-refine-hunk, I wasn't even aware of that mode.
>
> It is currently mentioned there as follows:
>
> `M-n'
> Move to the next hunk-start (`diff-hunk-next').
>
> This command has a side effect: it "refines" the hunk you move to,
> highlighting its changes with better granularity. To disable this
> feature, type `M-x diff-auto-refine-mode' to toggle off the minor
> mode Diff Auto-Refine mode. To disable Diff Auto Refine mode by
> default, add this to your init file (*note Hooks::):
>
> (add-hook 'diff-mode-hook
> (lambda () (diff-auto-refine-mode -1)))
>
> If you think this is not enough, please tell what else would you like
> to see there about this minor mode.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 7 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.