Executables to get emacs daemon set up on Windows.
Think twice about whether you really need or want to support Windows. If you want to try out Linux on your machine and still be able to use Windows, you have the opportunity to dual-boot; see here [link].
- Add the folder in which
emacsclient.exe
,emacsclientw.exe
andrunemacs.exe
are located in to yourPath
variable. See here for a guide. - Download the executables, either manually or by cloning this repository.
- Put the file you have just downloaded anywhere you want, for example in a subfolder of your emacs directory.
- Right-click on
start_server.exe
and click oncreate shortcut
. - Press
Win + R
and type inshell:startup
to open up the auto start folder. - Put the just created shortcut in there. Now, at startup, an instance of emacs will start and run silently in the background.
- For every file type (e. g.,
.org
or.tex
), you want to open with the emacs daemon by default, right-click on a file of the respective file type, selectOpen
if no program is assigned to it yet orOpen with ...
if it is and selectopen_with_server.exe
. - Execute
start_server.exe
- Open a file with the emacs daemon!
Tested on Windows 10 with emacs built from source using msys2
; see [opensounsource-philosophy-link].