For example, the following case. It seems the system mistakenly compare wrong paragraph.

What I want to compare, for example, is the public static... with public static.... How can I do that? Thank you.

enter image description here

  • Have you tried hitting n until you see public static... block?
    – Emacs User
    Commented Jun 17, 2016 at 23:12

1 Answer 1


Type = to invoke ediff-inferior-compare-regions

Tell it that you don't want to compare the current highlighted regions, and Ediff will ask you to select the regions that you do want to compare.

After exiting the inferior ediff session, return to the ediff control buffer for the original session and type C-l to resume it, and ! to recalculate the regions.

See also C-hig (ediff) Quick Help Commands RET

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.