Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in loading of zenburn theme #33

Closed
quux00 opened this issue Jan 16, 2012 · 2 comments
Closed

Error in loading of zenburn theme #33

quux00 opened this issue Jan 16, 2012 · 2 comments

Comments

@quux00
Copy link

quux00 commented Jan 16, 2012

Hi, I am on emacs 23.3.1 and unable to load the zenburn theme. I am on Xubuntu Linux and have installed color-theme (via the Debian package) and I am able to install other custom color themes. When I try to load the zenburn theme, I get this error message:

Debugger entered--Lisp error: (void-variable zenburn-yellow\,)
  (list (quote :background) zenburn-yellow\, (quote :foreground) zenburn-red)
  (list class (list (quote :background) zenburn-yellow\, (quote :foreground) zenburn-red))
  (list (list class (list ... zenburn-yellow\, ... zenburn-red)))
  (list (quote whitespace-indentation) (list (list class ...)))
  (\` (whitespace-indentation (...)))
  (custom-theme-set-faces (quote zenburn) (quote (button ...)) (\` (link ...)) (\` (link-visited ...)) (\` (default ...)) (\` (cursor ...)) (\` (escape-glyph-face ...)) (\` (fringe ...)) (\` (header-line ...)) (\` (highlight ...)) (\` (compilation-column-face ...)) (\` (compilation-enter-directory-face ...)) (\` (compilation-error-face ...)) (\` (compilation-face ...)) (\` (compilation-info-face ...)) (\` (compilation-info ...)) (\` (compilation-leave-directory-face ...)) (\` (compilation-line-face ...)) (\` (compilation-line-number ...)) (\` (compilation-message-face ...)) (\` (compilation-warning-face ...)) (\` (grep-context-face ...)) (\` (grep-error-face ...)) (\` (grep-hit-face ...)) (\` (grep-match-face ...)) (\` (match ...)) (\` (isearch ...)) (\` (isearch-fail ...)) (\` (lazy-highlight ...)) (\` (menu ...)) (\` (minibuffer-prompt ...)) (\` (mode-line ...)) (\` (mode-line-buffer-id ...)) (\` (mode-line-inactive ...)) (\` (region ...)) (\` (secondary-selection ...)) (\` (trailing-whitespace ...)) (\` (vertical-border ...)) (\` (font-lock-builtin-face ...)) (\` (font-lock-comment-face ...)) (\` (font-lock-comment-delimiter-face ...)) (\` (font-lock-constant-face ...)) (\` (font-lock-doc-face ...)) (\` (font-lock-doc-string-face ...)) (\` (font-lock-function-name-face ...)) (\` (font-lock-keyword-face ...)) (\` (font-lock-negation-char-face ...)) (\` (font-lock-preprocessor-face ...)) (\` (font-lock-string-face ...)) ...)
  (let ((class ...) (zenburn-fg "#dcdccc") (zenburn-fg-1 "#656555") (zenburn-bg-1 "#2b2b2b") (zenburn-bg-05 "#383838") (zenburn-bg "#3f3f3f") (zenburn-bg+1 "#4f4f4f") (zenburn-bg+2 "#5f5f5f") (zenburn-bg+3 "#6f6f6f") (zenburn-red+1 "#dca3a3") (zenburn-red "#cc9393") (zenburn-red-1 "#bc8383") (zenburn-red-2 "#ac7373") (zenburn-red-3 "#9c6363") (zenburn-red-4 "#8c5353") (zenburn-orange "#dfaf8f") (zenburn-yellow "#f0dfaf") (zenburn-yellow-1 "#e0cf9f") (zenburn-yellow-2 "#d0bf8f") (zenburn-green-1 "#5f7f5f") (zenburn-green "#7f9f7f") (zenburn-green+1 "#8fb28f") (zenburn-green+2 "#9fc59f") (zenburn-green+3 "#afd8af") (zenburn-green+4 "#bfebbf") (zenburn-cyan "#93e0e3") (zenburn-blue+1 "#94bff3") (zenburn-blue "#8cd0d3") (zenburn-blue-1 "#7cb8bb") (zenburn-blue-2 "#6ca0a3") (zenburn-blue-3 "#5c888b") (zenburn-blue-4 "#4c7073") (zenburn-blue-5 "#366060") (zenburn-magenta "#dc8cc3")) (custom-theme-set-faces (quote zenburn) (quote ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) (\` ...) ...))
  eval-buffer(#> nil "/home/midpeter444/.emacs.d/site-lisp/color-theme-zenburn.el" nil t)  ; Reading at buffer position 26219
  load-with-code-conversion("/home/midpeter444/.emacs.d/site-lisp/color-theme-zenburn.el" "/home/midpeter444/.emacs.d/site-lisp/color-theme-zenburn.el" nil t)
  require(color-theme-zenburn)
  eval-buffer(# nil "/home/midpeter444/.emacs" nil t)  ; Reading at buffer position 10275
  load-with-code-conversion("/home/midpeter444/.emacs" "/home/midpeter444/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "�\205\264

More Background:
I downloaded zenburn-theme with wget https://raw.github.com/bbatsov/zenburn-emacs/master/zenburn-theme.el to my site-lisp dir (on my default load-path) and put this in my .emacs:

(require 'color-theme-zenburn)
(color-theme-zenburn)

I tried everything above (and a few more things) two or three times, always with same result.

Thanks for looking into this,
Michael

@bbatsov
Copy link
Owner

bbatsov commented Jan 16, 2012

The zenburn-theme file is for use with Emacs 24's new theming infrastructure based on deftheme. You should use the other color-theme-zenburn.el file.

@quux00
Copy link
Author

quux00 commented Jan 17, 2012

OK. Thanks. You might want to just put that statement in your README so it's clear to others (I see now that it is implied, but not clearly stated). In any case - thanks for providing this nice theme!

@quux00 quux00 closed this as completed Jan 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants