I'm trying to install go-mode in emacs (http://dominik.honnef.co/posts/2013/03/writing_go_in_emacs/) but am having trouble and I'm not sure if the problem is with my .emacs file or with the go-mode el. I've auto-generated go-mode-load.el as in http://www.pastebucket.com/58212.
I then configured my .emacs file as
(add-to-list 'load-path "/Users/<username>/Misc/emacs/go-mode.el/")
(require 'go-mode-load)
But when I start emacs I get the following error
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil "/SourceCache/emacs/emacs-92/emacs/lisp")
update-file-autoloads("go-mode.el")
(let ((generated-autoload-file buffer-file-name)) (update-file-autoloads "go-mode.el"))
eval-buffer(#<buffer *load*<2>> nil "/Users/ygreif/Misc/emacs/go-mode.el/go-mode-load.el" nil t) ; Reading at buffer position 143
load-with-code-conversion("/Users/ygreif/Misc/emacs/go-mode.el/go-mode-load.el" "/Users/ygreif/Misc/emacs/go-mode.el/go-mode-load.el" nil t)
require(go-mode-load)
eval-buffer(#<buffer *load*> nil "/Users/ygreif/.emacs" nil t) ; Reading at buffer position 88
load-with-code-conversion("/Users/ygreif/.emacs" "/Users/ygreif/.emacs" t t)
load("~/.emacs" t t)
[globbily-bluck]
command-line()
normal-top-level()
How do I interpet the --debug-init. Is the problem in my .emacs file?