sellout / emacs-color-theme-solarized

Emacs highlighting using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
MIT License
1.16k stars 202 forks source link

load-theme: Invalid theme name `' #86

Open webframp opened 11 years ago

webframp commented 11 years ago

I've consistently had this issue with solarized-dark, installed from melpa or directly cloning this repo.

I can use solarized-light, but M-x load-theme solarized-dark gives load-theme: Invalid theme name'`

On OS X 10.8.3, using emacs starter kit and emacs compiled from homebrew.

M-x version: GNU Emacs 24.3.1 (x86_64-apple-darwin12.3.0) of 2013-03-22 on soundwave.local

sellout commented 11 years ago

Hrmm, I have no idea why that would be the case. Since you’re on Emacs 24, you could try checking out the “unified” branch and using that. It has only a single theme, called “solarized” and uses the background-mode to determine whether the dark or light variant should be used. It also works better with emacsclient. If it weren’t for problems with older versions of Emacs, this would already be merged into master. You might want to review the usage instructions, since they are a little different for that branch.

simonjefford commented 11 years ago

Same issue here. I've tried the unified branch with background-mode set to dark and light and I get the same message. Build downloaded from http://emacsformacosx.com/

M-x version: GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-11 on bob.porkrind.org

onsails commented 10 years ago

I have the same issue

kremers commented 10 years ago

Seeing:

solarized-light-theme.el:5:1:Error: Wrong number of arguments: (lambda (mode) (let* ((theme-name (intern (concat "solarized-" (symbol-name mode)))) (defs (solarized-color-definitions mode)) (theme-vars (mapcar (function (lambda (def) (list (car def) (cdr def)))) (second defs))) (theme-faces (first defs))) (list (quote progn) (list (quote deftheme) theme-name solarized-description) (list (quote apply) (quote (quote custom-theme-set-variables)) (list (quote quote) theme-name) (list (quote quote) theme-vars)) (list (quote apply) (quote (quote custom-theme-set-faces)) (list (quote quote) theme-name) (list (quote quote) theme-faces)) (list (quote provide-theme) (list (quote quote) theme-name))))), 2...

during installation of "solarized-theme"

vellamike commented 10 years ago

I have the same issue.

JeffreyBenjaminBrown commented 4 years ago

I was getting such an error from (load-theme "manoj-dark" 1). When I changed "manoj-dark" to \manoj-dark` it went away.