unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: 18128@debbugs.gnu.org
Subject: bug#18128: Diff-mode doesn't refine hunks automatically
Date: Fri, 04 Nov 2016 22:10:13 -0400	[thread overview]
Message-ID: <8760o2pth6.fsf@users.sourceforge.net> (raw)
In-Reply-To: <CAG7BpaqPWV1DJi89rYHasMTLCv+NQg5u=JC-rM_oyU=B1bqLag@mail.gmail.com> (Paul Pogonyshev's message of "Mon, 28 Jul 2014 15:59:12 +0200")

Paul Pogonyshev <pogonyshev@gmail.com> writes:

> Diff-mode should just refine hunks automatically when visiting a
> buffer. If it is a performance concern, there should be some
> customization option for it and/or this could be done lazily.
>

A patch was recently added to magit that let-binds
write-region-inhibit-fsync around the call to diff-refine-hunk, this was
reported to make a significant improvement in speed when refining all
hunks in a diff.  We should do the same for smerge-refine-subst (or is
it possible to do this automatically for all temp files?) before
extending diff refinement over the whole buffer.

https://patch-diff.githubusercontent.com/raw/magit/magit/pull/2834.patch





      parent reply	other threads:[~2016-11-05  2:10 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
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 ` npostavs [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760o2pth6.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=18128@debbugs.gnu.org \
    --cc=pogonyshev@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).