Skip to main content
Improve formatting for readability
Source Link
Kaushal Modi
  • 26k
  • 4
  • 83
  • 191

Bear with me as I am a neophyte to Emacs. I followed http://pragmaticemacs.com/emacs/visualise-and-copy-differences-between-files/ to fireup thefire up Ediff in Emacs. It opened two buffers in two windows side-by-side. I then used p and n to move to the hunks and used b key to copy from B to A file. I then used C-x o to move to the edited buffer and used C-x C-s to save it and then I am lost.

  • It opened two buffers in two windows side-by-side.
  • I then used p and n to move to the hunks and used b to copy from B to A file.
  • I then used C-x o to move to the edited buffer and used C-x C-s to save it and then I am lost..

I want to go back to ediff-mode and want to use special keys "p"p, "n"n, etc. Now when I am trying to hit these keys it starts editing the buffers even the ediff help "?"key ? is not working. 

How can I get back to ediff-mode from this edit kind of mode.?

Bear with me as I am a neophyte to Emacs. I followed http://pragmaticemacs.com/emacs/visualise-and-copy-differences-between-files/ to fireup the Ediff in Emacs. It opened two buffers in two windows side-by-side. I then used p and n to move to the hunks and used b key to copy from B to A file. I then used C-x o to move to the edited buffer and used C-x C-s to save it and then I am lost. I want to go back to ediff-mode and want to use special keys "p", "n" etc. Now when I am trying to hit these keys it starts editing the buffers even the ediff help "?" is not working. How can I get back to ediff-mode from this edit kind of mode.

Bear with me as I am a neophyte to Emacs. I followed http://pragmaticemacs.com/emacs/visualise-and-copy-differences-between-files/ to fire up Ediff in Emacs.

  • It opened two buffers in two windows side-by-side.
  • I then used p and n to move to the hunks and used b to copy from B to A file.
  • I then used C-x o to move to the edited buffer and used C-x C-s to save it and then I am lost..

I want to go back to ediff-mode and want to use special keys p, n, etc. Now when I am trying to hit these keys it starts editing the buffers even the ediff help key ? is not working. 

How can I get back to ediff-mode from this edit kind of mode?

Source Link

How to get back to ediff mode from edit mode

Bear with me as I am a neophyte to Emacs. I followed http://pragmaticemacs.com/emacs/visualise-and-copy-differences-between-files/ to fireup the Ediff in Emacs. It opened two buffers in two windows side-by-side. I then used p and n to move to the hunks and used b key to copy from B to A file. I then used C-x o to move to the edited buffer and used C-x C-s to save it and then I am lost. I want to go back to ediff-mode and want to use special keys "p", "n" etc. Now when I am trying to hit these keys it starts editing the buffers even the ediff help "?" is not working. How can I get back to ediff-mode from this edit kind of mode.