I get the following error when I open emacs in Mac OSX:
Warning (initialization): An error occurred while loading
`/Users/my-user-name/.emacs.d/init.el':
Symbol's value as variable is void: Synctex
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
I then start emacs using --debug-init and get the following:
Debugger entered--Lisp error: (error "Unknown keyword :risky")
signal(error ("Unknown keyword :risky"))
error("Unknown keyword %s" :risky)
custom-handle-keyword(package-load-list :risky t custom-variable)
custom-declare-variable(package-load-list (quote (all)) "List of packages for `package-initialize' to load.\nEach eleme$
(defcustom package-load-list (quote (all)) "List of packages for `package-initialize' to load.\nEach element in this li$
eval-buffer(#<buffer *load*<3>> nil "/Users/my-user-name/.emacs.d/package.el" nil t) ; Reading at buffer position 9131
load-with-code-conversion("/Users/my-user-name/.emacs.d/package.el" "/Users/my-user-name/.emacs.d/package.el" nil t)
require(package)
eval-buffer(#<buffer *load*<2>> nil "/Users/my-user-name/.emacs.d/starter-kit.el" nil t) ; Reading at buffer position 17$
load-with-code-conversion("/Users/my-user-name/.emacs.d/starter-kit.el" "/Users/my-user-name/.emacs.d/starter-kit.el" nil nil$
load("/Users/my-user-name/.emacs.d/starter-kit.el" nil nil t)
load-file("/Users/my-user-name/.emacs.d/starter-kit.el")
Can anybody help me sort through this? This is my first time trying to debug/edit init.el.
init.elfile as well as the error messages. – Ethan Bolker Apr 29 '12 at 18:06init.elyou've writtenSynctexwhen you actually should have written'Synctex. Another possibility would be that you used a wrong case (ELisp is case sensitive!), that is you've writtenSynctexwhen you should have writtensynctexor maybeSyncTeX). Anyway, the location of the error should be easily found by looking for the stringSynctexin yourinit.el. – celtschk Apr 29 '12 at 19:41