Emacs Server Start Failure on Win32 and Go Mode

Got an error of “make-directory creating directory no such file or directory ” when starting Emacs with windows user account path set as home path for Emacs.

There are some post (http://stackoverflow.com/questions/885793/emacs-error-when-calling-server-start and http://stackoverflow.com/questions/41300/emacs-in-windows) with solutions but don’t work on my configuration (Win7+Emacswin32 v24.2).

Finally specifyed in Reg HKCU\Software\Emacs\Home -> C:\Application\emacs-24.2\home and put _emacs file to this folder to solve the problem.

To use go-mode shipped with Go Lang installation, read comments in go-mode-load.el. For my installation (Go in C:\Applications\Go), just add the following lines to _emacs:
(add-to-list 'load-path "C:\\Applications\\Go\\misc\\emacs\\" t)
(require 'go-mode-load)

Reference:
http://www.johndcook.com/emacs_windows.html#dotemacs
http://wifihack.net/blog/2012/09/golang-ide-emacs/

Leave a Reply

Your email address will not be published. Required fields are marked *