From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18128@debbugs.gnu.org
Subject: bug#18128: Diff-mode doesn't refine hunks automatically
Date: Mon, 28 Jul 2014 16:49:36 +0200 [thread overview]
Message-ID: <CAG7BpaqPoQGk9m81M6N4sjFxq7ZeCYX5VBt8c0pUf7fkf=duHw@mail.gmail.com> (raw)
In-Reply-To: <83bns9h7aj.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]
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@gnu.org> wrote:
> > Date: Mon, 28 Jul 2014 16:39:56 +0200
> > From: Paul Pogonyshev <pogonyshev@gmail.com>
> > Cc: 18128@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.
>
[-- Attachment #2: Type: text/html, Size: 1808 bytes --]
next prev parent reply other threads:[~2014-07-28 14:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 13:59 bug#18128: Diff-mode doesn't refine hunks automatically Paul Pogonyshev
2014-07-28 14:28 ` Eli Zaretskii
2014-07-28 14:39 ` Paul Pogonyshev
2014-07-28 14:44 ` Eli Zaretskii
2014-07-28 14:49 ` Paul Pogonyshev [this message]
2014-07-28 14:45 ` Paul Pogonyshev
2014-07-28 23:28 ` Stefan Monnier
2016-01-17 6:22 ` bug#18128: Should be done as part of the font-lock Hong Xu
2016-11-04 7:54 ` Hong Xu
2016-11-05 2:10 ` bug#18128: Diff-mode doesn't refine hunks automatically npostavs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAG7BpaqPoQGk9m81M6N4sjFxq7ZeCYX5VBt8c0pUf7fkf=duHw@mail.gmail.com' \
--to=pogonyshev@gmail.com \
--cc=18128@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.