-3

Possible Duplicate:
ediff-split-window-function horizontal==vertical?

Using GNU Emacs 23.4.1. With M-x ediff-files

1-How to make the 2 files vertically beside each other. By default they are one top, one down. I want one left and one right.

2-How to scroll automatically to next difference?

Community
  • 1
  • 1
blackmath
  • 195
  • 2
  • 8

1 Answers1

3

To split the panes side-by-side:

(setq ediff-split-window-function 'split-window-horizontally
      ediff-window-setup-function 'ediff-setup-windows-plain)

(You can explore ediff's settings using M-x customize-group RET ediff RET.)

n and p will take you to the next or previous diff chunk, respectively. Press ? to get the full menu, which includes handy keys to copy changes from buffer 1 to buffer 2 and vice versa.

sanityinc
  • 15,002
  • 2
  • 49
  • 43