Last active
October 30, 2024 01:17
-
-
Save bjodah/bf554c4eb6d75837c00b4ec01991da05 to your computer and use it in GitHub Desktop.
Using emacs under windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install msys2 from msys2.org | |
2. run msys2.exe: pacman -Syu, restart, pacman -Su | |
3. run mingw64.exe: pamcan -S mingw-w64-x86_64-emacs | |
4. create C:\msys2_64\runemacs_patched_path.bat: | |
cmd /C "set PATH=C:\msys2_64\mingw64\bin;C:\msys2_64\usr\bin;%PATH% && C:\msys2_64\mingw64\bin\runemacs.exe --daemon" | |
5. Super-R shell:startup [RET] | |
6. Create shortcut to runemacs_patched_path.bat, call it e.g. "emacs-daemon" | |
7. Create a short-cut in Start menu: | |
C:\msys2_64\mingw64\bin\emacsclientw.exe -c -n -a "C:\msys2_64\mingw64\bin\runemacs.exe" | |
8. Install useful software: | |
pacman -S \ | |
mingw-w64-x86_64-diffutils \ | |
mingw-w64-x86_64-libgccjit \ | |
mingw-w64-x86_64-ttf-dejavu \ | |
mingw-w64-x86_64-autotools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment