This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:emacs_doc [2024/02/15 14:09] jypeter [Example configuration file] Improved |
other:emacs_doc [2024/02/15 14:38] jypeter [Windows installation] Improved the diffutils section |
||
---|---|---|---|
Line 86: | Line 86: | ||
* **If** you need to use the **emacs //ediff// mode to compare text files**\\ <wrap hi>Very useful</wrap> | * **If** you need to use the **emacs //ediff// mode to compare text files**\\ <wrap hi>Very useful</wrap> | ||
* Install the Windows version of [[https://www.gnu.org/software/diffutils/diffutils.html|Gnu diffutils]] | * Install the Windows version of [[https://www.gnu.org/software/diffutils/diffutils.html|Gnu diffutils]] | ||
- | * Download and execute the //Complete package, except sources installer// (''diffutils-2.8.7-1.exe'' as of August 2023) from [[https://gnuwin32.sourceforge.net/packages/diffutils.htm|]] | + | * Download the //Complete package, except sources installer// (''diffutils-2.8.7-1.exe'' as of February 2024) from [[https://gnuwin32.sourceforge.net/packages/diffutils.htm|]] and execute the installer |
- | * Be sure to uncomment the following line in your ''.emacs'' configuration file (and restart emacs). Otherwise emacs will not be able to find the ''diffutils'' binaries it needs for comparing text files | + | * This will install the required binaries and reources in ''C:\Program Files (x86)\GnuWin32\'' |
- | * ''(setq exec-path (append exec-path '("C:\\Program Files (x86)\\GnuWin32\\bin")))'' | + | * If you use the recommended ''.emacs'' configuration file, it should already have a section telling emacs where to find the ''diffutils'' binaries it needs for comparing text files |
- | * FIXME Find a recent //compiled for Windows// version of ''diffutils''\\ As of July 2023... | + | * <code>(when (eq window-system 'w32) |
+ | (setq exec-path (append exec-path '("C:\\Program Files (x86)\\GnuWin32\\bin"))) | ||
+ | )</code> | ||
+ | * FIXME Check if there is a recent //compiled for Windows// version of ''diffutils''\\ As of February 2024... | ||
* [[https://savannah.gnu.org/news/?id=10368|diffutils-3.10]] is available (released in May 2023) | * [[https://savannah.gnu.org/news/?id=10368|diffutils-3.10]] is available (released in May 2023) | ||
* The ''2.8.7-1'' Win32 binaries are dated //May 2004//, but **work perfectly fine**! | * The ''2.8.7-1'' Win32 binaries are dated //May 2004//, but **work perfectly fine**! |