Results 1 to 1 of 1
Hi all,
I'm running slackware 12.2
I installed color-theme.el. I mean I copied it to /usr/share/emacs/22.3/lisp and /usr/share/emacs/22.3/site-lisp (what's the difference between the two directories?).
Then I ran 'make' and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-19-2009 #1Linux Newbie
- Join Date
- Feb 2009
- Posts
- 100
color schemes in emacs
Hi all,
I'm running slackware 12.2
I installed color-theme.el. I mean I copied it to /usr/share/emacs/22.3/lisp and /usr/share/emacs/22.3/site-lisp (what's the difference between the two directories?).
Then I ran 'make' and 'make install'
As they suggested, I addedCode:Autoloads up to date. Put the following lines in your configuration file (~/.emacs for a single user) : (require 'color-theme-autoload "color-theme-autoloads") In color-theme-install-variables: color-theme.el:1340:10:Warning: `make-variable-frame-local' is an obsolete function (as of Emacs 22.2); explicitly check for a frame-parameter instead. In end of data: color-theme.el:1669:1:Warning: the following functions are not known to be defined: color-theme-face-attr-construct, set-face-property, color-theme-spec-compat Wrote /home/xtd8865/.emacs.d/elisp/color-theme.elc Wrote /home/xtd8865/.emacs.d/elisp/themes/color-theme-example.elc Wrote /home/xtd8865/.emacs.d/elisp/themes/color-theme-library.elc In end of data: color-theme-tango.el:47:1:Warning: the function `color-theme-install' is not known to be defined. Wrote /home/xtd8865/.emacs.d/elisp/themes/color-theme-tango.elc install -d /usr/local/share/emacs/site-lisp/color-theme-el install -d /usr/local/share/emacs/site-lisp/color-theme-el/themes install -m 0644 color-theme-autoloads.el color-theme.el themes/color-theme-example.el themes/color-theme-library.el themes/color-theme-tango.el color-theme-autoloads.elc color-theme.elc themes/color-theme-example.elc themes/color-theme-library.elc themes/color-theme-tango.elc /usr/local/share/emacs/site-lisp/color-theme-el install -m 0644 themes/color-theme-example.el themes/color-theme-library.el themes/color-theme-tango.el color-theme-autoloads.elc color-theme.elc themes/color-theme-example.elc themes/color-theme-library.elc themes/color-theme-tango.elc /usr/local/share/emacs/site-lisp/color-theme-el/themes make: *** No rule to make target `color-theme.info', needed by `install-info'. Stop.
to ~/.emacs, which looks as follows:Code:(require 'color-theme-autoload "color-theme-autoloads")
I can change the color themes from emacs, however, what I need to do is:Code:(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(inhibit-startup-screen t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (require 'color-theme-autoload "color-theme-autoloads")
M-x load-library RET color-theme
M-x color-theme-select RET
and choose one of the themes.
How can I save one of the themes as a default theme eg. color-theme-word-perfect so that it would start up using this particular theme.
thanks


Reply With Quote
