Gnuserv installation

  1. Install gnuserv.el

    Extract gnuserv.el from the gnuserv archive and put it into your \emacsen\site-lisp directory, e.g. C:\Programs\emacsen\site-lisp. Start Emacs and byte-compile the file by issuing Alt-x byte-compile-file [Return] c:/programs/emacsen/site-lisp/gnuserv.el. This will create gnuserv.elc.

  2. Modify your _emacs

    Add the following lines to your _emacs:

         (require 'gnuserv)
          (gnuserv-start)
       
    
  3. Install the binaries

    Extract the .exe files from the gnuserv archive and put them into your \emacsen\bin directory, e.g. C:\Programs\emacsen\bin. Restart your Emacs.

  4. Associate file types

    You can use the View->Options command in your Windows file explorer to associate file types with applications. Switch to the File types tab and associate whatever files you want with Emacs. Enter a command like c:\programs\emacsen\bin\gnuclientw.exe "%1" to the open action (enclosing the argument in "" helps to prevent problems with filenames that contain spaces). You can also create an equivalent link in your "Send to" folder which will allow you to open files with arbitrary (or no) extensions in Emacs with a right-click in the File Explorer.