I have Emacs version 23 on Windows and it seem the ediff
executable is missing?
From where can I download ediff
for Emacs on Windows?
To compare the contents of two text files, use M-x ediff-files and open the two files you want to compare. Emacs will then open one above the other in your main emacs window (N.B. a window is called a frame in emacs terminology), and also open a smaller window which says Type ? for help .
Installing Emacs on Windows 10 The easiest method is to download Emacs for Windows directly from its makers on the GNU website. In most cases, you need the emacs-$VERSION-x86_64-installer.exe , where version is currently 27.2. This file contains a 64-bit build of Emacs with dependencies as an installer package.
If you have git for windows installed, then it is enough to add
C:\Program Files\Git\usr\bin\
to your PATH environment variable, because git for windows already ships with a diff executable and installs it in that folder.
You can download diffUtils, extract it, add the path to %PATH% and emacs exec-path in your Emacs init file like that.
(when (string-equal system-type "windows-nt")
(progn
(setq diff-path "your-diff-path")
(setenv "PATH"
(concat diff-path ";"))
(setq exec-path
'(diff-path))))
finally, using M-x diff
to compare what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With