reddit / emacs

Compare two files in ediff by lines (not words)?

violinear · 2022-03-22 09:22
When I compare two files or buffers in **ediff**, it compares lines by words (inline differences). Is it possible to compare two files by whole lines? Now to show that one line was replaced with another. Here's what I see now, but I want to see line differences in a way that one line was added, another line was removed, not differences within those lines: https://imgur.com/I8PHrWU.png
vifon · 2022-03-22 10:14
Looks like a line-wise diff to me. The highlighted part is merely a refinement you can ignore. The diff itself is line-based.
7890yuiop · 2022-03-22 21:57
Type `@` to cycle auto refinement in ediff. If you want it disabled by default: (setq-default ediff-auto-refine 'off)