TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error when I open emacs in Mac OSX:

Warning (initialization): An error occurred while loading 
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)
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)

Can anybody help me sort through this? This is my first time trying to debug/edit init.el.

share|improve this question

closed as off topic by lockstep, Loop Space, egreg, Stephan Lehmke, David Carlisle Apr 29 '12 at 21:16

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Your question does not seem to fit in with the scope of TeX-sx: could you explain the link to TeX? – Joseph Wright Apr 29 '12 at 17:26
I believe you are right. The only link is that I am using emacs for typesetting in LaTeX, nothing else. If necessary please delete my post. – jvcasill Apr 29 '12 at 17:36
@jvcasill: Removing isn't necessary but I think guys of the site stackoverflow are more competent. – Marco Daniel Apr 29 '12 at 17:37
@jvcaskill Here or on stackoverflow a MWE should include your init.el file as well as the error messages. – Ethan Bolker Apr 29 '12 at 18:06
The most likely problem is a forgotten quote, i.e. somewhere in your init.el you've written Synctex when you actually should have written 'Synctex. Another possibility would be that you used a wrong case (ELisp is case sensitive!), that is you've written Synctex when you should have written synctex or maybe SyncTeX). Anyway, the location of the error should be easily found by looking for the string Synctex in your init.el. – celtschk Apr 29 '12 at 19:41

Browse other questions tagged or ask your own question.