From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: how to highlight fine differences in Diff mode?
Date: Wed, 7 Dec 2005 08:19:35 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICEEMMCPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <dn4rjn$9t6$1@sea.gmane.org>
But sometimes I have to compare extremely large files, larger than Emacs
maximum buffer size. So I simply run diff and redirect its output to a
.diff file, which is easily small enought to visit and navigate in Diff
mode. What I'd like at that point is a command to highlight the changed
text within the current hunk, just like "*" does in Ediff:
,----[ C-h k * ]
| * runs the command ediff-make-or-kill-fine-diffs
| which is an interactive compiled Lisp function in `ediff-util'.
| (ediff-make-or-kill-fine-diffs ARG)
|
| Compute fine diffs. With negative prefix arg, kill fine diffs.
| In both cases, operates on the current difference region.
`----
Is there any way to take advantage of the Ediff machinery inside
Diff mode?
I don't have an answer for you, unfortunately. I do have some code that
improves the highlighting of regular `diff' output slightly:
http://www.emacswiki.org/cgi-bin/wiki/diff-mode-.el, but it doesn't do what
you're asking.
next prev parent reply other threads:[~2005-12-07 16:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 20:16 how to highlight fine differences in Diff mode? Kevin Rodgers
2005-12-07 16:19 ` Drew Adams [this message]
[not found] <mailman.18178.1133901143.20277.help-gnu-emacs@gnu.org>
2005-12-07 3:45 ` Stefan Monnier
2005-12-07 7:54 ` Matthieu Moy
2005-12-08 18:58 ` Kevin Rodgers
2005-12-08 14:29 ` Alan Mackenzie
[not found] <mailman.18320.1133972403.20277.help-gnu-emacs@gnu.org>
2006-01-07 1:38 ` David Combs
2006-01-07 1:58 ` Drew Adams
[not found] <mailman.217.1136599234.26925.help-gnu-emacs@gnu.org>
2006-01-11 1:59 ` David Combs
2006-01-11 3:09 ` Drew Adams
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=DNEMKBNJBGPAOPIJOOICEEMMCPAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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 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.