all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ediff maximum line length?
@ 2011-02-11  4:18 Giorgos Keramidas
  2011-02-11  4:48 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Giorgos Keramidas @ 2011-02-11  4:18 UTC (permalink / raw)
  To: emacs-devel

ediff-mode highlights nicely all fine diffs within lines, using a
different face and this has proven *very* useful in many cases, but I've
now bumped on a case (and it will be often the case with some of the
stuff I'm lately doing) where ediff does not display fine diffs for
*very* long lines...

I did try setting up `ediff-auto-refine-limit' to a larger value, e.g.:

    (setq-default ediff-auto-refine-limit 16000)

But then the entire line is marked as 'fine diff' when I try for example
to diff the following files:

    perl -e 'print "x" x 15000 . "\n"' > file-a.txt
    perl -e 'print "x" x  8000 . "yyy" . "x" x 6977 . "\n"' > file-b.txt

Is the behavior of highlighting the full line as fine diff bogus when I
have configured `ediff-auto-refine-limit' to 16000?

If this is not a bug, is there any way to really highlight only the
"yyy" characters in the middle of such a huge line?




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-02-12  9:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11  4:18 ediff maximum line length? Giorgos Keramidas
2011-02-11  4:48 ` Stefan Monnier
2011-02-11  9:02   ` Giorgos Keramidas
2011-02-11  9:06     ` Lennart Borgman
2011-02-11  9:17       ` Giorgos Keramidas
2011-02-11 14:27     ` Stefan Monnier
2011-02-11 21:45       ` Giorgos Keramidas
2011-02-11 22:01         ` Andreas Schwab
2011-02-12  9:00           ` Giorgos Keramidas

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.