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

color-theme not behaving as expected #4

Closed
jrhorn424 opened this issue Aug 11, 2011 · 4 comments
Closed

color-theme not behaving as expected #4

jrhorn424 opened this issue Aug 11, 2011 · 4 comments

Comments

@jrhorn424
Copy link
Contributor

  1. Start emacs

  2. M-x color-theme-select

  3. Observe debugger output:

    Debugger entered--Lisp error: (void-function color-theme-initialize) color-theme-initialize() color-theme-select(nil) call-interactively(color-theme-select t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil)

Additionally, pointing to EmacsWiki and the color-theme page don't help much in the docs, since any version downloaded and installed from there will not be loaded since elpa packages are precedent in the path. I somehow had this working with the previous starter kit, but had similar problems until I abandoned the elpa package. Additionally, I do not believe the theme library is provided in the package. Will themes be picked up in a ./src/themes/, for example?

I find it a bit weird that the official version is 6.6.0 but the elpa package is at 6.6.1.

@jrhorn424
Copy link
Contributor Author

Replacing color-theme.el with the one from 6.6.0 (official src) gets rid of the error, but not the issue. 6.6.1 (elpa) has no definition for color-theme-initialize but the function is still called elsewhere in color-theme.el. Though the error is gone, the color-theme-select buffer produced is empty, save for two lines [Reset] and [Quit] at the top.

@pchalasani
Copy link

why was this issue closed? I'm still having this issue -- what was the resolution?

@jrhorn424
Copy link
Contributor Author

I don't recall what I did now, but I think either of these two solutions should work:

  1. Use the official source instead of the ELPA package (uninstall the package), or
  2. Diff and merge the ELPA package and the official source.

Additionally, it should be closed because it was found to be an issue with either ELPA or with color-theme, not with emacs24-starter-kit.

@jrhorn424
Copy link
Contributor Author

@pchalasani You may wish to try the new customize-themes function in Emacs 24. I converted a few themes from the color-theme files to the new format by hand. You can see list of user-submitted themes to download, as well.

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