0

Emacs 27.1

I want to find differents between 2 buffers.

I use command ediff-buffers

Steps:

enter image description here

enter image description here

enter image description here

enter image description here

Type the n in the Ediff Control Panel enter image description here

Again Type the n in the Ediff Control Panel enter image description here

And because the line is longer than the width of the window I need manually by mouse to scroll in the first buffer to see what exactly is different. Also I need manually by mouse to scroll in the second buffer to see what exactly is different enter image description here

As you can see it doesn't automatically jump synchronously to different characters in both buffers.

11
  • 1
    That's what happens here. Are you typing the n in the Ediff Control Panel?
    – NickD
    Feb 24 at 15:11
  • What @NickD said. C-h m to learn about Ediff - or check its manual.
    – Drew
    Feb 24 at 16:34
  • @NickD Yes, I typing "n" but it not help Feb 24 at 21:38
  • 1
    So IIUC your complaint is that since the line is longer than the width of the window, Emacs does not automatically scroll horizontally to pinpoint the difference (but once you get there manually, the difference is presumably made visible by the highlighting). n is irrelevant for this purpose.
    – NickD
    Feb 25 at 18:50
  • 1
    I don't know of a way to do what you want: there are a few synchronized scrolling modes, but AFAIK, they affect vertical scrolling only. Maybe you can set truncate-lines to nil (or perhaps enable visual-line-mode) to get the whole line displayed without scrolling.
    – NickD
    Feb 25 at 20:06

0

Your Answer

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

Browse other questions tagged or ask your own question.