summaryrefslogblamecommitdiffstats
path: root/emacs.d/lisp/color-theme.elc
blob: d88f0750b6744ecdf83202aedd9b3769f2b648a1 (plain) (tree)
1
2
3
4
        


                                                                  












                                                                                      
                                                                    

                                                                                                                                                                            
                                            









                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                                                                               



                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                             



                                                                        
                                                                                                                            


                                                         
                                                                                                                                                                                                      


                                                                           
                                                                                                                                                    



























                                                                          
                                                                                                    


                                                                             
                                                                                                        





                                                                   
                                                                                                             



                                                                               
                                                                                                                                                                                                                    


                                              
                                                                                                         
                                
                                                                                                  
                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
                                                                                       
                                                
                                               
                                                                      
                                                           
                                                         
                                                   
                                            


                                                      
                                                                                                                                                                                       


                                                          
                                          
                           
                                                                                                                                                               
                                                    
                                                                                                                                                                                                                                          

















                                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         


                                                              
                                                                                                                                                                                                                                      





                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               








































                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                  



                                                                      
                                                                                                                                   


                                                       
                                                                                                                                                      



                                                                 
                                                                                                                                                                                                                                                                                                         


                                                          
                                                                                                                                                               







                                                                        
                                                                                                                                                                                                                                                                                                                                                                                          



                                                               
                                                                                                                                                                                                                                

                                                                  
                                                                                                                                                                                                                                   

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                      

                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        


                                                                    
                                                                                                                                                                                                                                                                                                                                             









                                                                       
                                                                                                                                                                                                                                                                                                            


                                                                           
                                                                                                                                                                                                                                                          



                                                                    
                                                                                                                                                                                                                                                                                                                                                                             
                  
                                                                                                                                                                                                                                                                                  


                                                                   
                                                                                                                                                                                                                
                                                   
                                                                                                                                                 
                                                                            
                                                                                                                                                                                                                            
                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                      



                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
























                                                                     
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                      
                                                                                                                                                                                                                                    

                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
                                                                      
                                                                                                                                                                                                                                                                                                                                            



                                                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        


                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              


                                                                         
                                                                                                                                           

                                                    
                                                                                                                                                                                                                                                                                                                                                            



                                                                            
                                                                                                                                                                                            













                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      









                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                  




















                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

                                                       
                                                                                                                                                                                                                       
                                           
                                                                           
                                               
                                                                                
                                    
                                                                                  
                                    
                                                                              


                                                                  
                                                                                                                                                                                                                                                                    






                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               






























                                                                              
                                                                                                                                                                                                                                                                                                                                                                                   
                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                               
                      
;ELC
;;; Compiled by alexander@sulfrian.net on Wed Apr 25 00:54:34 2012
;;; from file /home/alex/.dotfiles/emacs.d/lisp/color-theme.el
;;; in Emacs version 23.2.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.

;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\300\301!\210\300\302!\210\300\303!\207" [require cl cus-face wid-edit] 2)
#@39 Address used by `submit-color-theme'.
(defconst color-theme-maintainer-address "zedek@gnu.org" (#$ . 614))
(byte-code "\300\301!\203\300\302!\204\303\302\304\301#\210\202'\300\302!\203'\300\301!\204'\303\301\304\302#\210\300\207" [facep tool-bar toolbar put face-alias] 4)
#@28 Non-nil if running XEmacs.
(defvar color-theme-xemacs-p nil (#$ . 900))
(byte-code "\300\301!\203\302\303\304\"\210\202!\300\305!\203\302\303\305\"\210\202!\302\303\306\"\210\300\207" [fboundp custom-face-attributes-get defalias color-theme-face-attr-construct #[(face frame) ":\204\n\303	\"\207:\203 @\304=\203 \303\211A@)	\"\207\303@	\"\207" [face frame x custom-face-attributes-get quote] 4] face-custom-attributes-get #[(&rest ignore) "\300\301!\207" [error "Unable to construct face attributes"] 2]] 3)
#@508 Transform PLIST into an alist if it is a plist and return it.
If the first element of PLIST is a cons cell, we just return PLIST,
assuming PLIST to be an alist.  If the first element of plist is not a
symbol, this is an error: We cannot distinguish a plist from an ordinary
list, but a list that doesn't start with a symbol is certainly no plist
and no alist.

This is used to make sure `default-frame-alist' really is an alist and not
a plist.  In XEmacs, the alist is deprecated; a plist is used instead.
(defalias 'color-theme-alist #[(plist) "@:\203\207@9?\205\301\302\"\207" [plist error "Wrong type argument: plist, %S"] 3 (#$ . 1431)])
(custom-declare-group 'color-theme nil "Color Themes for Emacs.\nA color theme consists of frame parameter settings, variable settings,\nand face definitions." :version "20.6" :group 'faces)
#@135 Regexp that matches frame parameter names.
Only frame parameter names that match this regexp can be changed as part
of a color theme.
(custom-declare-variable 'color-theme-legal-frame-parameters '"\\(color\\|mode\\)$" '(#$ . 2280) :type '(choice (const :tag "Colors only" "\\(color\\|mode\\)$") (const :tag "Colors, fonts, and size" "\\(color\\|mode\\|font\\|height\\|width\\)$") (regexp :tag "Custom regexp")) :group 'color-theme :link '(info-link "(elisp)Window Frame Parameters"))
#@226 Regexp that matches variable names.
Only variables that match this regexp can be changed as part of a color
theme.  In addition to matching this name, the variables have to be user
variables (see function `user-variable-p').
(custom-declare-variable 'color-theme-legal-variables '"\\(color\\|face\\)$" '(#$ . 2771) :type 'regexp :group 'color-theme)
#@135 Regexp that matches face names forbidden in themes.
The default setting "^w3-" excludes w3 faces since these
are created dynamically.
(custom-declare-variable 'color-theme-illegal-faces '"^w3-" '(#$ . 3128) :type 'regexp :group 'color-theme :link '(info-link "(elisp)Faces for Font Lock") :link '(info-link "(elisp)Standard Faces"))
#@174 A list of face properties to be ignored when installing faces.
This prevents Emacs from doing terrible things to your display just because
a theme author likes weird fonts.
(custom-declare-variable 'color-theme-illegal-default-attributes ''(:family :height :width) '(#$ . 3468) :type '(repeat symbol) :group 'color-theme)
#@1219 *Determines wether a color theme is installed on all frames or not.
If non-nil, color themes will be installed for all frames.
If nil, color themes will be installed for the selected frame only.

A possible use for this variable is dynamic binding. Here is a larger
example to put in your ~/.emacs; it will make the Blue Sea color theme
the default used for the first frame, and it will create two additional
frames with different color themes.

setup:
    (require 'color-theme)
    ;; set default color theme
    (color-theme-blue-sea)
    ;; create some frames with different color themes
    (let ((color-theme-is-global nil))
      (select-frame (make-frame))
      (color-theme-gnome2)
      (select-frame (make-frame))
      (color-theme-standard))

Please note that using XEmacs and and a nil value for
color-theme-is-global will ignore any variable settings for the color
theme, since XEmacs doesn't have frame-local variable bindings.

Also note that using Emacs and a non-nil value for color-theme-is-global
will install a new color theme for all frames.  Using XEmacs and a
non-nil value for color-theme-is-global will install a new color theme
only on those frames that are not using a local color theme.
(custom-declare-variable 'color-theme-is-global 't '(#$ . -3798) :type 'boolean :group 'color-theme)
#@164 *Determines wether new color themes are installed on top of each other.
If non-nil, installing a color theme will undo all settings made by
previous color themes.
(custom-declare-variable 'color-theme-is-cumulative 't '(#$ . -5124) :type 'boolean :group 'color-theme)
#@359 Directory where we can find additionnal themes (personnal).
Note that there is at least one directory shipped with the official
color-theme distribution where all contributed themes are located.
This official selection can't be changed with that variable. 
However, you still can decide to turn it on or off and thus,
not be shown with all themes but yours.
(custom-declare-variable 'color-theme-directory 'nil '(#$ . 5399) :type '(repeat string) :group 'color-theme)
#@203 A list of files, which will be loaded in color-theme-initialize depending
on `color-theme-load-all-themes' value. 
This allows a user to prune the default color-themes (which can take a while
to load).
(custom-declare-variable 'color-theme-libraries '(directory-files (concat (file-name-directory (locate-library "color-theme")) "/themes") t "^color-theme") '(#$ . 5874) :type '(repeat string) :group 'color-theme)
#@120 When t, load all color-theme theme files
as presented by `color-theme-libraries'. Else
do not load any of this themes.
(custom-declare-variable 'color-theme-load-all-themes 't '(#$ . 6296) :type 'boolean :group 'color-theme)
#@28 Hook for color-theme-mode.
(custom-declare-variable 'color-theme-mode-hook 'nil '(#$ . 6527) :type 'hook :group 'color-theme)
#@63 Mode map used for the buffer created by `color-theme-select'.
(defvar color-theme-mode-map (byte-code "\302 \303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\305#\210\303\315\316#\210\303\317\320#\210\303\321\322#\210\303\323\311#\210	\203F\303\324\325#\210\202L\303\326\325#\210)\207" [map color-theme-xemacs-p make-sparse-keymap define-key "
" color-theme-install-at-point "c" list-colors-display "d" color-theme-describe "f" list-faces-display "i" "l" color-theme-install-at-point-for-current-frame "p" color-theme-print "q" bury-buffer "?" [button2] color-theme-install-at-mouse [mouse-2]] 4) (#$ . 6659))
#@83 Internal variable determining whether color-theme-initialize has been invoked yet
(defvar color-theme-initialized nil (#$ . 7317))
#@43 Name of the color theme selection buffer.
(defvar color-theme-buffer-name "*Color Theme Selection*" (#$ . 7454))
#@55 nil until one of the color themes has been installed.
(defvar color-theme-original-frame-alist nil (#$ . 7573))
#@47 List of color-themes called, in reverse order
(defvar color-theme-history nil (#$ . 7691))
#@132 Max length of history to maintain.
Two other values are acceptable: t means no limit, and
nil means that no history is maintained.
(custom-declare-variable 'color-theme-history-max-length 'nil '(#$ . 7789) :type '(choice (const :tag "No history" nil) (const :tag "Unlimited length" t) integer) :group 'color-theme)
#@146 Counter for every addition to `color-theme-history'.
This counts how many themes were installed, regardless
of `color-theme-history-max-length'.
(defvar color-theme-counter 0 (#$ . 8111))
#@23 Menu tool entry path.
(defvar color-theme-entry-path (byte-code "\301\302\"\203	\303\207\304\207" [global-map lookup-key [menu-bar tools] ("tools") ("Tools")] 3) (#$ . 8305))
#@48 Add color-theme NAME to `color-theme-history'.
(defalias 'color-theme-add-to-history #[(name) "	D\nBT\f\250\205\nG\fY\205\fS\n\233\305\241\207" [name color-theme-is-cumulative color-theme-history color-theme-counter color-theme-history-max-length nil] 2 (#$ . 8488)])
#@637 List of color themes.

Each THEME is itself a three element list (FUNC NAME MAINTAINER &optional LIBRARY).

FUNC is a color theme function which does the setup.  The function
FUNC may call `color-theme-install'.  The color theme function may be
interactive.

NAME is the name of the theme and MAINTAINER is the name and/or email of
the maintainer of the theme.

If LIBRARY is non-nil, the color theme will be considered a library and
may not be shown in the default menu.

If you defined your own color theme and want to add it to this list,
use something like this:

  (add-to-list 'color-themes '(color-theme-gnome2 "Gnome2" "Alex"))
(defvar color-themes '((color-theme-aalto-dark "Aalto Dark" "Jari Aalto <jari.aalto@poboxes.com>") (color-theme-aalto-light "Aalto Light" "Jari Aalto <jari.aalto@poboxes.com>") (color-theme-aliceblue "Alice Blue" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-andreas "Andreas" "Andreas Busch <Andreas.Busch@politics.ox.ac.uk>") (color-theme-arjen "Arjen" "Arjen Wiersma <arjen@wiersma.org>") (color-theme-beige-diff "Beige Diff" "Alex Schroeder <alex@gnu.org>" t) (color-theme-bharadwaj "Bharadwaj" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-bharadwaj-slate "Bharadwaj Slate" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-billw "Billw" "Bill White <billw@wolfram.com>") (color-theme-black-on-gray "BlackOnGray" "Sudhir Bhojwani <sbhojwani@altoweb.com>") (color-theme-blippblopp "Blipp Blopp" "Thomas Sicheritz-Ponten<thomas@biopython.org>") (color-theme-simple-1 "Black" "Jonadab <jonadab@bright.net>") (color-theme-blue-erc "Blue ERC" "Alex Schroeder <alex@gnu.org>" t) (color-theme-blue-gnus "Blue Gnus" "Alex Schroeder <alex@gnu.org>" t) (color-theme-blue-mood "Blue Mood" "Nelson Loyola <nloyola@yahoo.com>") (color-theme-blue-sea "Blue Sea" "Alex Schroeder <alex@gnu.org>") (color-theme-calm-forest "Calm Forest" "Artur Hefczyc <kobit@plusnet.pl>") (color-theme-charcoal-black "Charcoal Black" "Lars Chr. Hausmann <jazz@zqz.dk>") (color-theme-goldenrod "Cheap Goldenrod" "Alex Schroeder <alex@gnu.org>") (color-theme-clarity "Clarity and Beauty" "Richard Wellum <rwellum@cisco.com>") (color-theme-classic "Classic" "Frederic Giroud <postcard@worldonline.fr>") (color-theme-comidia "Comidia" "Marcelo Dias de Toledo <mtole@ig.com.br>") (color-theme-jsc-dark "Cooper Dark" "John S Cooper <John.Cooper@eu.citrix.com>") (color-theme-jsc-light "Cooper Light" "John S Cooper <John.Cooper@eu.citrix.com>") (color-theme-jsc-light2 "Cooper Light 2" "John S Cooper <John.Cooper@eu.citrix.com>") (color-theme-dark-blue "Dark Blue" "Chris McMahan <cmcmahan@one.net>") (color-theme-dark-blue2 "Dark Blue 2" "Chris McMahan <cmcmahan@one.net>") (color-theme-dark-green "Dark Green" "eddy_woody@hotmail.com") (color-theme-dark-laptop "Dark Laptop" "Laurent Michel <ldm@cs.brown.edu>") (color-theme-deep-blue "Deep Blue" "Tomas Cerha <cerha@brailcom.org>") (color-theme-digital-ofs1 "Digital OFS1" "Gareth Owen <gowen@gwowen.freeserve.co.uk>") (color-theme-euphoria "Euphoria" "oGLOWo@oGLOWo.cjb.net") (color-theme-feng-shui "Feng Shui" "Walter Higgins <walterh@rocketmail.com>") (color-theme-fischmeister "Fischmeister" "Sebastian Fischmeister <sfischme@nexus.lzk.tuwien.ac.at>") (color-theme-gnome "Gnome" "Jonadab <jonadab@bright.net>") (color-theme-gnome2 "Gnome 2" "Alex Schroeder <alex@gnu.org>") (color-theme-gray1 "Gray1" "Paul Pulli <P.Pulli@motorola.com>") (color-theme-gray30 "Gray30" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-kingsajz "Green Kingsajz" "Olgierd `Kingsajz' Ziolko <kingsajz@rpg.pl>") (color-theme-greiner "Greiner" "Kevin Greiner <kgreiner@mapquest.com>") (color-theme-gtk-ide "GTK IDE" "Gordon Messmer <gordon@dragonsdawn.net>") (color-theme-high-contrast "High Contrast" "Alex Schroeder <alex@gnu.org>") (color-theme-hober "Hober" "Edward O'Connor <ted@oconnor.cx>") (color-theme-infodoc "Infodoc" "Frederic Giroud <postcard@worldonline.fr>") (color-theme-jb-simple "JB Simple" "jeff@dvns.com") (color-theme-jedit-grey "Jedit Grey" "Gordon Messmer <gordon@dragonsdawn.net>") (color-theme-jonadabian "Jonadab" "Jonadab <jonadab@bright.net>") (color-theme-jonadabian-slate "Jonadabian Slate" "Jonadab <jonadab@bright.net>") (color-theme-katester "Katester" "Higgins_Walter@emc.com") (color-theme-late-night "Late Night" "Alex Schroeder <alex@gnu.org>") (color-theme-lawrence "Lawrence" "lawrence mitchell <wence@gmx.li>") (color-theme-lethe "Lethe" "Ivica Loncar <ivica.loncar@srk.fer.hr>") (color-theme-ld-dark "Linh Dang Dark" "Linh Dang <linhd@nortelnetworks.com>") (color-theme-marine "Marine" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-matrix "Matrix" "Walter Higgins <walterh@rocketmail.com>") (color-theme-marquardt "Marquardt" "Colin Marquardt <colin@marquardt-home.de>") (color-theme-midnight "Midnight" "Gordon Messmer <gordon@dragonsdawn.net>") (color-theme-mistyday "Misty Day" "Hari Kumar <Hari.Kumar@mtm.kuleuven.ac.be>") (color-theme-montz "Montz" "Brady Montz <bradym@becomm.com>") (color-theme-oswald "Oswald" "Tom Oswald <toswald@sharplabs.com>") (color-theme-parus "Parus" "Jon K Hellan <hellan@acm.org>") (color-theme-pierson "Pierson" "Dan L. Pierson <dan@sol.control.com>") (color-theme-ramangalahy "Ramangalahy" "Solofo Ramangalahy <solofo@irisa.fr>") (color-theme-raspopovic "Raspopovic" "Pedja Raspopovic <pedja@lsil.com>") (color-theme-renegade "Renegade" "Dave Benjamin <ramen@ramenfest.com>") (color-theme-resolve "Resolve" "Damien Elmes <resolve@repose.cx>") (color-theme-retro-green "Retro Green" "Alex Schroeder <alex@gnu.org>") (color-theme-retro-orange "Retro Orange" "Alex Schroeder <alex@gnu.org>") (color-theme-robin-hood "Robin Hood" "Alex Schroeder <alex@gnu.org>") (color-theme-rotor "Rotor" "Jinwei Shen <shenjw@wam.umd.edu>") (color-theme-ryerson "Ryerson" "Luis Fernandes <elf@ee.ryerson.ca>") (color-theme-salmon-diff "Salmon Diff" "Alex Schroeder <alex@gnu.org>" t) (color-theme-salmon-font-lock "Salmon Font-Lock" "Alex Schroeder <alex@gnu.org>" t) (color-theme-scintilla "Scintilla" "Gordon Messmer <gordon@dragonsdawn.net>") (color-theme-shaman "Shaman" "shaman@interdon.net") (color-theme-sitaramv-nt "Sitaram NT" "Sitaram Venkatraman <sitaramv@loc251.tandem.com>") (color-theme-sitaramv-solaris "Sitaram Solaris" "Sitaram Venkatraman <sitaramv@loc251.tandem.com>") (color-theme-snow "Snow" "Nicolas Rist <Nicolas.Rist@alcatel.de>") (color-theme-snowish "Snowish" "Girish Bharadwaj <girishb@gbvsoft.com>") (color-theme-standard-ediff "Standard Ediff" "Emacs Team, added by Alex Schroeder <alex@gnu.org>" t) (color-theme-standard "Standard Emacs 20" "Emacs Team, added by Alex Schroeder <alex@gnu.org>") (color-theme-emacs-21 "Standard Emacs 21" "Emacs Team, added by Alex Schroeder <alex@gnu.org>") (color-theme-emacs-nw "Standard Emacs 21 No Window" "Emacs Team, added by D. Goel <deego@gnufans.org>") (color-theme-xemacs "Standard XEmacs" "XEmacs Team, added by Alex Schroeder <alex@gnu.org>") (color-theme-subtle-blue "Subtle Blue" "Chris McMahan <cmcmahan@one.net>") (color-theme-subtle-hacker "Subtle Hacker" "Colin Walters <levanti@verbum.org>") (color-theme-taming-mr-arneson "Taming Mr Arneson" "Erik Arneson <erik@aarg.net>") (color-theme-taylor "Taylor" "Art Taylor <reeses@hemisphere.org>") (color-theme-tty-dark "TTY Dark" "O Polite <m2@plusseven.com>") (color-theme-vim-colors "Vim Colors" "Michael Soulier <msoulier@biryani.nssg.mitel.com>") (color-theme-whateveryouwant "Whateveryouwant" "Fabien Penso <penso@linuxfr.org>, color by Scott Jaderholm <scott@jaderholm.com>") (color-theme-wheat "Wheat" "Alex Schroeder <alex@gnu.org>") (color-theme-pok-wob "White On Black" "S. Pokrovsky <pok@nbsp.nsk.su>") (color-theme-pok-wog "White On Grey" "S. Pokrovsky <pok@nbsp.nsk.su>") (color-theme-word-perfect "WordPerfect" "Thomas Gehrlein <Thomas.Gehrlein@t-online.de>") (color-theme-xp "XP" "Girish Bharadwaj <girishb@gbvsoft.com>")) (#$ . 8771))
#@117 Back up the original `default-frame-alist'.
The values are stored in `color-theme-original-frame-alist' on
startup.
(defalias 'color-theme-backup-original-values #[nil "?\205\302\303\304 !	\"\211\207" [color-theme-original-frame-alist color-theme-legal-frame-parameters color-theme-filter frame-parameters selected-frame] 3 (#$ . 16688)])
(add-hook 'after-init-hook 'color-theme-backup-original-values)
#@336 Displays a special buffer for selecting and installing a color theme.
With optional prefix ARG, this buffer will include color theme libraries
as well.  A color theme library is in itself not complete, it must be
used as part of another color theme to be useful.  Thus, color theme
libraries are mainly useful for color theme authors.
(defalias 'color-theme-select #[(&optional arg) "\204\306 \210\307\310	!!\210\311\312 \210\313\236\203\314\313!\2046\313\315 M\210\316\313\236\"\316\317\236\"\320\321\"\311\211\203\247
@\211@\fA@\322\f8\323\f8\311\"#$%&#\203a'\203\237\324\325#\203o%\326P\202q%$#\"\327\330\"G\331&\"%\210\327\330%G\332\333\"%\210\327\330%G\334\335\"%\210\"c\210\336 \210-
A\211\204>*eb\210\337\340\311!\210\341 \207" [color-theme-initialized color-theme-buffer-name buffer-read-only color-themes theme #1=#:--cl-dolist-temp-- color-theme-initialize switch-to-buffer get-buffer-create nil erase-buffer color-theme-snapshot commandp color-theme-make-snapshot delq bury-buffer append ((color-theme-snapshot "[Reset]" "Undo changes, if possible.") (bury-buffer "[Quit]" "Bury this buffer.")) 2 3 format "%-23s %s" " [lib]" put-text-property 0 color-theme face bold mouse-face highlight newline t set-buffer-modified-p color-theme-mode desc library author name func arg] 7 (#$ . 17102) "P"])
(byte-code "\301\302!\203\303\304\305#\210\303\304\306#\210\304\207" [color-theme-entry-path require easymenu easy-menu-add-item nil "--" ["Color Themes" color-theme-select t]] 4)
#@1573 Major mode to select and install color themes.

Use \[color-theme-install-at-point] to install a color theme on all frames.
Use \[color-theme-install-at-point-for-current-frame] to install a color theme for the current frame only.

The changes are applied on top of your current setup.  This is a
feature.

Some of the themes should be considered extensions to the standard color
theme: they modify only a limited number of faces and variables.  To
verify the final look of a color theme, install the standard color
theme, then install the other color theme.  This is a feature. It allows
you to mix several color themes.

Use \[color-theme-describe] to read more about the color theme function at point.
If you want to install the color theme permanently, put the call to the
color theme function into your ~/.emacs:

    (require 'color-theme)
    (color-theme-gnome2)

If you worry about the size of color-theme.el: You are right.  Use
\[color-theme-print] to print the current color theme and save the resulting buffer
as ~/.emacs-color-theme.  Now you can install only this specific color
theme in your .emacs:

    (load-file "~/.emacs-color-theme")
    (my-color-theme)

The Emacs menu is not affected by color themes within Emacs.  Depending
on the toolkit you used to compile Emacs, you might have to set specific
X ressources.  See the info manual for more information.  Here is an
example ~/.Xdefaults fragment:

    emacs*Background: DarkSlateGray
    emacs*Foreground: wheat

\{color-theme-mode-map}

The color themes are listed in `color-themes', which see.
(defalias 'color-theme-mode #[nil "\303 \210\304\305\306\n!\210\307\310!\203\310 \210\311\312!\207" [major-mode mode-name color-theme-mode-map kill-all-local-variables color-theme-mode "Color Themes" use-local-map functionp goto-address run-hooks color-theme-mode-hook] 2 (#$ . 18647)])
#@206 Describe color theme listed at point.
This shows the documentation of the value of text-property color-theme
at point.  The text-property color-theme should be a color theme
function.  See `color-themes'.
(defalias 'color-theme-describe #[nil "\300\301`\302\"!\207" [describe-function get-text-property color-theme] 4 (#$ . 20517) nil])
#@142 Install color theme clicked upon using the mouse.
First argument EVENT is used to set point.  Then
`color-theme-install-at-point' is called.
(defalias 'color-theme-install-at-mouse #[(event) "\212\301!\210\302 )\207" [event mouse-set-point color-theme-install-at-point] 2 (#$ . 20861) "e"])
#@183 Install color theme at point.
This calls the value of the text-property `color-theme' at point.
The text-property `color-theme' should be a color theme function.
See `color-themes'.
(defalias 'color-theme-install-at-point #[nil "\303`\304\"\211\203\f \210\305\306!\205.\307ed\"\310\211\203+\n@\311	!\210\nA\211\204*\306 )\207" [func o #1=#:--cl-dolist-temp-- get-text-property color-theme functionp goto-address overlays-in nil delete-overlay] 5 (#$ . 21160) nil])
#@133 Install color theme at point for current frame only.
Binds `color-theme-is-global' to nil and calls
`color-theme-install-at-point'.
(defalias 'color-theme-install-at-point-for-current-frame #[nil "\301\302 )\207" [color-theme-is-global nil color-theme-install-at-point] 1 (#$ . 21643) nil])
#@370 Filter OLD-LIST.
The resulting list will be newly allocated and contains only elements
with names matching REGEXP.  OLD-LIST may be a list or an alist.  If you
want to filter a plist, use `color-theme-alist' to convert your plist to
an alist, first.

If the optional argument EXCLUDE is non-nil, then the sense is
reversed: only non-matching elements will be retained.
(defalias 'color-theme-filter #[(old-list regexp &optional exclude) "\306\211\n\306\211\203S@\307	<\203	@\202	!
\204)\310\n\f\"\2045
\203L\310\n\f\"\204L	:\203H	A;\203H	@\311	A!B	BA\211\204\f**\207" [new-list elem old-list #1=#:--cl-dolist-temp-- name exclude nil symbol-name string-match copy-sequence regexp] 4 (#$ . 21942)])
#@189 Filter the attributes in SPEC.
This makes sure that SPEC has the form ((t (PLIST ...))).
Only properties not in `color-theme-illegal-default-attributes'
are included in the SPEC returned.
(defalias 'color-theme-spec-filter #[(spec) "\211@A)@\306\211\211
\203-
@
A@
AA>\204\n\fBB\202\307\f\237,DC\207" [spec x val prop result props nil t color-theme-illegal-default-attributes] 5 (#$ . 22673)])
#@84 Delete property PROP from property list PLIST by side effect.
This modifies PLIST.
(defalias 'color-theme-plist-delete #[(plist prop) "@	=\203\211AA)\211\202\203HA\211AA)\203G@	=\2039\211AA)\f\241\210\202 A\211AA)\211\204$*\207" [plist prop x l lastcell] 3 (#$ . 23092)])
(byte-code "\301W\203\302\303\304\"\210\202\302\303\305\"\210\301\207" [emacs-major-version 21 defalias color-theme-spec-compat identity #[(spec) "\211@A)@\303\n\304\"\203!\305\n\304\"\303\n\306\"\204!\307\n\306\310#\303\n\311\"\203:\305\n\311\"\303\n\312\"\204:\307\n\312\313#\314\n)DC\207" [spec x props plist-member :bold color-theme-plist-delete :weight plist-put bold :italic :slant italic t] 5 "Filter the attributes in SPEC such that is is never invalid.\nExample: Eventhough :bold works in Emacs, it is not recognized by\n`customize-face' -- and then the face is uncustomizable.  This\nfunction replaces a :bold attribute with the corresponding :weight\nattribute, if there is no :weight, or deletes it.  This undoes the\ndoings of `color-theme-spec-canonical-font', more or less."]] 3)
#@48 Add :bold and :italic attributes if necessary.
(defalias 'color-theme-spec-canonical-font #[(atts) "\301\302\"\303>\203\301\304\"\204\304\305BB\301\306\"\307>\204,\301\310\"\204,\310\305BB\207" [atts plist-get :weight (ultra-bold extra-bold bold semi-bold) :bold t :slant (normal nil) :italic] 3 (#$ . 24212)])
#@112 Return the new height given OLD and NEW height.
OLD is the current setting, NEW is the setting inherited from.
(defalias 'color-theme-spec-resolve-height #[(old new) "\204	\207\250\203
\207\302!\203	\250\203\303	_!\207\302!\203.\302	!\203.	_\207\304!\203?	\250\203?\303	!!\207\304!\203W\305	!\203W\306\307\310\311\312BB	EE\207\304!\203q\304	!\203q\306\313\310\311\311	\314BBEDE\207\315\316	#\207" [old new floatp round functionp float lambda (f) * funcall (f) (f) (f) error "Illegal :height attributes: %S or %S"] 8 (#$ . 24545)])
#@51 Resolve all occurences of the :inherit attribute.
(defalias 'color-theme-spec-resolve-inheritance #[(atts) "\306\307\"\211\203X\310\307\310	\"\"\311\312	\313 \"!\314\211\f\203W\f@\f\211A@)\f\211AA)\315=\203G\316\315\317\306\"\n\"#\202\306\"\204\nBB\202+)\207" [atts face val att more-atts x plist-get :inherit delq color-theme-spec-resolve-inheritance color-theme-face-attr-construct selected-frame nil :height plist-put color-theme-spec-resolve-height] 8 (#$ . 25111)])
#@149 Remove the :inverse-video attribute from ATTS.
If ATTS contains :inverse-video t, remove it and swap foreground and
background color.  Return ATTS.
(defalias 'color-theme-spec-maybe-invert #[(atts) "\305\306\"\211\203S\307\211\203M@A\n\310=\203(\f\204(\311B\202
\n\311=\2039\f\2049\310B\202
\n\306=\203FA\211\202\nB\202
\237*\202T)\207" [atts inv att result color-theme-xemacs-p plist-get :inverse-video nil :foreground :background] 4 (#$ . 25621)])
#@543 Return a list for FACE which has the form (FACE SPEC).
See `defface' for the format of SPEC.  In this case we use only one
DISPLAY, t, and determine ATTS using `color-theme-face-attr-construct'.
If ATTS is nil, (nil) is used  instead.

If ATTS contains :inverse-video t, we remove it and swap foreground and
background color using `color-theme-spec-maybe-invert'.  We do this
because :inverse-video is handled differently in Emacs and XEmacs.  We
will loose on a tty without colors, because in that situation,
:inverse-video means something.
(defalias 'color-theme-spec #[(face) "\302\303\304\305\306 \"!!!\211\203\307	DCD\202\310B)\207" [face atts color-theme-spec-canonical-font color-theme-spec-maybe-invert color-theme-spec-resolve-inheritance color-theme-face-attr-construct selected-frame t (((t (nil))))] 7 (#$ . 26110)])
#@218 Return a list of frame parameter settings usable in a color theme.
Such an alist may be installed by `color-theme-install-frame-params'.  The
frame parameters returned must match `color-theme-legal-frame-parameters'.
(defalias 'color-theme-get-params #[nil "\302\303\304 !\"\305	\306\")\207" [color-theme-legal-frame-parameters params color-theme-filter frame-parameters selected-frame sort #[(a b) "\302@!\302	@!\231\207" [a b symbol-name] 3]] 3 (#$ . 26954)])
#@262 Return a list of variable settings usable in a color theme.
Such an alist may be installed by `color-theme-install-variables'.
The variable names must match `color-theme-legal-variables', and the
variable must be a user variable according to `user-variable-p'.
(defalias 'color-theme-get-vars #[nil "\302\211\303\304!\210\305	\306\"*\207" [val vars nil mapatoms #[(v) "\303!\205#\304!\205#\305	\306!\"\205#\307!\211\205#\310\311\nB\"\207" [v color-theme-legal-variables val boundp user-variable-p string-match symbol-name eval add-to-list vars] 4] sort #[(a b) "@	@\231\207" [a b] 2]] 3 (#$ . 27426)])
#@14 Print ALIST.
(defalias 'color-theme-print-alist #[(alist) "\303\203	\304\202\n\305\261\210\306\211\203-\n@h\307U\203!\310c\210\311	p\"\210\nA\211\204*h\307U\2056\312c\207" [alist elem #1=#:--cl-dolist-temp-- "\n     " "(" "nil" nil 41 "\n      " prin1 ")"] 4 (#$ . 28047)])
#@176 Return a list of faces usable in a color theme.
Such an alist may be installed by `color-theme-install-faces'.  The
faces returned must not match `color-theme-illegal-faces'.
(defalias 'color-theme-get-faces #[nil "\302\303 \304#\305\306\307\305	\"\310\")B\207" [color-theme-illegal-faces faces color-theme-filter face-list t default sort delq string-lessp] 5 (#$ . 28342)])
#@47 Return face settings usable in a color-theme.
(defalias 'color-theme-get-face-definitions #[nil "\301 \302\303\")\207" [faces color-theme-get-faces mapcar color-theme-spec] 3 (#$ . 28725)])
#@72 Print face settings for all faces returned by `color-theme-get-faces'.
(defalias 'color-theme-print-faces #[(faces) "\203\303c\210\304\211\203'\n@h\305U\203\303c\210\306	p\"\210\nA\211\204*\304\207" [faces face #1=#:--cl-dolist-temp-- "\n     " nil 41 prin1] 4 (#$ . 28923)])
#@72 Reset face settings for all faces returned by `color-theme-get-faces'.
(defalias 'color-theme-reset-faces #[nil "\306 \307\211\211?\205\f\310 
\205C\311
@!\211@\312
A\313\314!\2030\314\f	\"\210\202\315\f	#\210\203\316\f\317#\210\202-\207" [color-theme-is-global frame entry spec face faces color-theme-get-faces nil selected-frame color-theme-spec ((t (nil))) functionp face-spec-reset-face face-spec-set put face-defface-spec] 6 (#$ . 29218)])
#@189 Print a theme into the current buffer.
FUNC is the function name, DOC the doc string, PARAMS the
frame parameters, VARS the variable bindings, and FACES
the list of faces and their specs.
(defalias 'color-theme-print-theme #[(func doc params vars faces) "\305\306!\307\310	\311\312\313\314\306!\261\n\210\315\n!\210\315!\210\316\f!\210\317c\210\320\306!\321\322\261\210eb\207" [func doc params vars faces "(defun " symbol-name " ()\n" "  \"" "\"\n" "  (interactive)\n" "  (color-theme-install\n" "   '(" color-theme-print-alist color-theme-print-faces ")))\n" "(add-to-list 'color-themes '(" " " " \"THEME NAME\" \"YOUR NAME\"))"] 11 (#$ . 29692)])
#@626 Print the current color theme function.

You can contribute this function to <URL:news:gnu.emacs.sources> or
paste it into your .emacs file and call it.  That should recreate all
the settings necessary for your color theme.

Example:

    (require 'color-theme)
    (defun my-color-theme ()
      "Color theme by Alex Schroeder, created 2000-05-17."
      (interactive)
      (color-theme-install
       '(...
	 ...
	 ...)))
    (my-color-theme)

If you want to use a specific color theme function, you can call the
color theme function in your .emacs directly.

Example:

    (require 'color-theme)
    (color-theme-gnome2)
(defalias 'color-theme-print #[(&optional buf) "\303\304!\210\305\203
\202\306\307!!\210\204\310\311 \210\312\313\261\210\314\315\316\n\317\230\203.\320 \202/\n\321\322\323!\324\260\325 \326 \327\330\331 \"%\210\204H\332 \210eb\210\303\333!\207" [buf buffer-read-only user-full-name message "Pretty printing current color theme function..." switch-to-buffer get-buffer-create "*Color Theme*" nil erase-buffer "(eval-when-compile" "    (require 'color-theme))\n" color-theme-print-theme my-color-theme "Color theme by " "" user-login-name ", created " format-time-string "%Y-%m-%d" "." color-theme-get-params color-theme-get-vars mapcar color-theme-spec color-theme-get-faces emacs-lisp-mode "Pretty printing current color theme function... done"] 8 (#$ . 30353) nil])
#@50 Find the sexpr that calls `color-theme-install'.
(defalias 'color-theme-analyze-find-theme #[(code) "\302\204$	\203$	@\303=\203		@<\203\304	@!	A\202)\207" [theme code nil color-theme-install color-theme-analyze-find-theme] 2 (#$ . 31767)])
#@157 If only one of A or B are in FACES, the other is added, and FACES is returned.
If REGEXP is given, this is only done if faces contains a match for regexps.
(defalias 'color-theme-analyze-add-face #[(a b regexp faces) "\203\n\306\307\215\2038\310	\n\"\310\n\"\211\203'\f\204'
A@D\nB\2027
\2047\f\2037	\fA@D\nB*\n\207" [regexp a faces b face-b face-a found (byte-code "\304\211\203!\n@\305\306	@!\"\203\307\310\311\"\210\nA\211\204*\304\207" [faces face #1=#:--cl-dolist-temp-- regexp nil string-match symbol-name throw found t] 5) assoc] 5 (#$ . 32028)])
#@43 Add missing faces to FACES and return it.
(defalias 'color-theme-analyze-add-faces #[(faces) "\306\211\307\211\203 \n@\310	@	A@\311	8$\nA\211\204\n+\312\313\"\204,\314B\312\315\"\2047\316B\211@@)\317=\204R\312\317\"\211\320\321
\"\322\"B)\207" [rules rule #1=#:--cl-dolist-temp-- faces x face ((font-lock-builtin-face font-lock-reference-face) (font-lock-doc-face font-lock-doc-string-face) (font-lock-constant-face font-lock-preprocessor-face) (modeline mode-line) (modeline modeline-buffer-id) (modeline modeline-mousable) (modeline modeline-mousable-minor-mode) (region primary-selection) (region zmacs-region) (font-lock-string-face dired-face-boring "^dired") (font-lock-function-name-face dired-face-directory "^dired") (default dired-face-executable "^dired") (font-lock-warning-face dired-face-flagged "^dired") (font-lock-warning-face dired-face-marked "^dired") (default dired-face-permissions "^dired") (default dired-face-setuid "^dired") (default dired-face-socket "^dired") (font-lock-keyword-face dired-face-symlink "^dired") (tool-bar menu)) nil color-theme-analyze-add-face 2 assoc fringe (fringe ((t (nil)))) tool-bar (tool-bar ((t (nil)))) default sort delete #[(a b) "@	@\231\207" [a b] 2]] 7 (#$ . 32613)])
#@66 Remove :height property where it is an integer and return FACES.
(defalias 'color-theme-analyze-remove-heights #[(faces) "\306	\306\211\203D@\211A@\211@A)@\307
\310\"\2038\311
\310\"\250\2038\312
\310\"\n@\313
DCDB\202<\nB)A\211\204\n*\237)\207" [result faces face #1=#:--cl-dolist-temp-- x props nil plist-member :height plist-get color-theme-plist-delete t] 4 (#$ . 33873)])
#@203 Once you have a color-theme printed, check for missing faces.
This is used by maintainers who receive a color-theme submission
and want to make sure it follows the guidelines by the color-theme
author.
(defalias 'color-theme-analyze-defun #[nil "\212\214\306 \210\307\310!\210eb\210\311p!\312\313\314!\211A@)!!\315\n!\316\317\"\320\n!\321\n!\322\n! \323\324!!\314!\211\211A@)A@ 
E\241\210\325\326!\210r\327\330!q\210\310!\331 \210\332\f 
%\210\333 \210)\325\334!\210\335p\336\330!\".	\207" [code x theme func doc variables narrow-to-defun eval-defun nil read color-theme-canonic eval color-theme-analyze-find-theme color-theme-function documentation t color-theme-variables color-theme-faces color-theme-frame-params color-theme-analyze-remove-heights color-theme-analyze-add-faces message "Pretty printing analysed color theme function..." get-buffer-create "*Color Theme*" erase-buffer color-theme-print-theme emacs-lisp-mode "Pretty printing analysed color theme function... done" ediff-buffers get-buffer faces params buffer-read-only] 7 (#$ . 34277) nil])
(defalias 'color-theme-snapshot #[nil "\300\207" [nil] 1])
#@125 Return the definition of the current color-theme.
The function returned will recreate the color-theme in use at the moment.
(defalias 'color-theme-make-snapshot #[nil "\300\301\302\303\304\305\306\307\310 \311 \312 BBBDD\257!\207" [eval lambda nil "The color theme in use when the selection buffer was created.\n\\[color-theme-select] creates the color theme selection buffer.  At the\nsame time, this snapshot is created as a very simple undo mechanism.\nThe snapshot is created via `color-theme-snapshot'." (interactive) color-theme-install quote color-theme-snapshot color-theme-get-params color-theme-get-vars color-theme-get-face-definitions] 11 (#$ . 35430)])
#@195 List of rules to use when frobbing faces based on frame parameters.
This is only necessary for XEmacs, because in Emacs 21 changing the
frame paramters automatically affects the relevant faces.
(defvar color-theme-frame-param-frobbing-rules '((foreground-color default foreground) (background-color default background)) (#$ . 36104))
#@95 Change certain faces according to PARAMS.
This uses `color-theme-frame-param-frobbing-rules'.
(defalias 'color-theme-frob-faces #[(params) "\306\211\203=\n@\211@	A@\307	8\n\236A\f?\205%\310 
\2035\311\f

$\210-\nA\211\204*\306\207" [color-theme-frame-param-frobbing-rules rule #1=#:--cl-dolist-temp-- param face prop nil 2 selected-frame set-face-property params val color-theme-is-global frame] 6 (#$ . 36444)])
#@202 Reduce OLD-LIST.
The resulting list will be newly allocated and will not contain any elements
with duplicate cars.  This will speed the installation of new themes by
only installing unique attributes.
(defalias 'color-theme-alist-reduce #[(old-list) "\304	\304\211\203@\211@\236\204\nBA\211\204\n*)\207" [new-list old-list elem #1=#:--cl-dolist-temp-- nil] 3 (#$ . 36888)])
#@659 Change frame parameters using alist PARAMETERS.

If `color-theme-is-global' is non-nil, all frames are modified using
`modify-frame-parameters' and the PARAMETERS are prepended to
`default-frame-alist'.  The value of `initial-frame-alist' is not
modified.  If `color-theme-is-global' is nil, only the selected frame is
modified.  If `color-theme-is-cumulative' is nil, the frame parameters
are restored from `color-theme-original-frame-alist'.

If the current frame parameters have a parameter `minibuffer' with
value `only', then the frame parameters are not installed, since this
indicates a dedicated minibuffer frame.

Called from `color-theme-install'.
(defalias 'color-theme-install-frame-params #[(params) "\306	\"\n\203z\307 \f\204
\204)\310\311!\"\310\311!\"\2028\310
\"\310\311!\"\312!\312!\313\211\203v@\314\315!\236A\316=\203d\202f\317\320\321\217\210)A\211\204N+\202\317\322\323\217\210\205\207\324!\207" [params color-theme-legal-frame-parameters color-theme-is-global frames color-theme-is-cumulative color-theme-original-frame-alist color-theme-filter frame-list append color-theme-alist color-theme-alist-reduce nil minibuffer frame-parameters only var (modify-frame-parameters frame params) ((error (message "Error using params %S: %S" params var))) (byte-code "\301\302 \"\207" [params modify-frame-parameters selected-frame] 3) ((error (message "Error using params %S: %S" params var))) color-theme-frob-faces default-frame-alist minibuffer-frame-alist frame #1=#:--cl-dolist-temp-- color-theme-xemacs-p] 4 (#$ . 37285)])
#@439 Change variables using alist VARS.
All variables matching `color-theme-legal-variables' are set.

If `color-theme-is-global' and `color-theme-xemacs-p' are nil, variables
are made frame-local before setting them.  Variables are set using `set'
in either case.  This may lead to problems if changing the variable
requires the usage of the function specified with the :set tag in
defcustom declarations.

Called from `color-theme-install'.
(defalias 'color-theme-install-variables #[(vars) "\306	\"\211\307\211\2034@\f\204
\203!\n@\nAL\210\202-\310\n@!\210\311\312 \nC\"\210A\211\204
+\307\207" [vars color-theme-legal-variables var #1=#:--cl-dolist-temp-- color-theme-is-global color-theme-xemacs-p color-theme-filter nil make-variable-frame-local modify-frame-parameters selected-frame] 5 (#$ . 38899)])
#@797 Change faces using FACES.

Change faces for all frames and create any faces listed in FACES which
don't exist.  The modified faces will be marked as "unchanged from
its standard setting".  This is OK, since the changes made by
installing a color theme should never by saved in .emacs by
customization code.

FACES should be a list where each entry has the form:

  (FACE SPEC)

See `defface' for the format of SPEC.

If `color-theme-is-global' is non-nil, faces are modified on all frames
using `face-spec-set'.  If `color-theme-is-global' is nil, faces are
only modified on the selected frame.  Non-existing faces are created
using `make-empty-face' in either case.  If `color-theme-is-cumulative'
is nil, all faces are reset before installing the new faces.

Called from `color-theme-install'.
(defalias 'color-theme-install-faces #[(faces) "\204\306 \210\307	\n\310#?\205\311 \211\312\211\203o@\211@
A@\313!\2047\314!\210\315=\203D\316!\317!\320\321!\203`\322\232\203`\321\f\"\210\202e\323\324\325\217\210*A\211\204,\312\207" [color-theme-is-cumulative faces color-theme-illegal-faces color-theme-is-global frame entry color-theme-reset-faces color-theme-filter t selected-frame nil facep make-empty-face default color-theme-spec-filter color-theme-spec-compat functionp face-spec-reset-face ((t (nil))) var (byte-code "\304	\n#\210\203\305\306	#\210\304\207" [face spec frame color-theme-is-global face-spec-set put face-defface-spec] 4) ((error (message "Error using spec %S: %S" spec var))) #1=#:--cl-dolist-temp-- spec face] 5 (#$ . 39724)])
#@90 Return the canonic form of THEME.
This deals with all the backwards compatibility stuff.
(defalias 'color-theme-canonic #[(theme) "\306\211\211\211\307\f@!\203\f@\fA\f@\fA\211\211@@)<\203+\f@\fA\f\n	F,\207" [faces variables frame-params function theme x nil functionp] 5 (#$ . 41332)])
#@39 Return function used to create THEME.
(defalias 'color-theme-function #[(theme) "@\207" [theme] 1 (#$ . 41641)])
#@43 Return frame-parameters defined by THEME.
(defalias 'color-theme-frame-params #[(theme) "A@\207" [theme] 1 (#$ . 41761)])
#@32 Return variables set by THEME.
(defalias 'color-theme-variables #[(theme) "\3018\207" [theme 2] 2 (#$ . 41890)])
#@32 Return faces defined by THEME.
(defalias 'color-theme-faces #[(theme) "\3018\207" [theme 3] 2 (#$ . 42010)])
#@163 Merges all the alist arguments into one alist.
Only the first instance of every key will be part of the resulting
alist.  Membership will be tested using `assq'.
(defalias 'color-theme-merge-alists #[(&rest alists) "\306	\306\211\2032@\211\306\211\203*
@\211@\236\204#\fB
A\211\204*A\211\204\n*\237)\207" [result alists l #1=#:--cl-dolist-temp-- entry #2=#:--cl-dolist-temp-- nil] 4 (#$ . 42127)])
#@387 Compare two color themes.
This will print the differences between installing THEME-A and
installing THEME-B.  Note that the order is important: If a face is
defined in THEME-A and not in THEME-B, then this will not show up as a
difference, because there is no reset before installing THEME-B.  If a
face is defined in THEME-B and not in THEME-A, then this will show up as
a difference.
(defalias 'color-theme-compare #[(theme-a theme-b) "\306\307\310 !\210	 \210	\311 \312 \313 F\n \210\n\311 \312 \313 F\314 \210)\315\316\n!\316	!\317\320$\315\321\n!\321	!\317\320$\315\322\n!\322	!\317\320$\323
\fF+\207" [color-theme-is-global theme-a theme-b faces vars params nil select-frame make-frame color-theme-get-params color-theme-get-vars color-theme-get-face-definitions delete-frame set-difference color-theme-frame-params :test equal color-theme-variables color-theme-faces diff] 7 (#$ . 42553) (list (intern (completing-read "Theme A: " (mapcar (lambda (i) (list (symbol-name (car i)))) color-themes) (lambda (i) (string-match "color-theme" (car i))))) (intern (completing-read "Theme B: " (mapcar (lambda (i) (list (symbol-name (car i)))) color-themes) (lambda (i) (string-match "color-theme" (car i))))))])
#@1317 Install a color theme defined by frame parameters, variables and faces.

The theme is installed for all present and future frames; any missing
faces are created.  See `color-theme-install-faces'.

THEME is a color theme definition.  See below for more information.

If you want to install a color theme from your .emacs, use the output
generated by `color-theme-print'.  This produces color theme function
which you can copy to your .emacs.

A color theme definition is a list:
([FUNCTION] FRAME-PARAMETERS VARIABLE-SETTINGS FACE-DEFINITIONS)

FUNCTION is the color theme function which called `color-theme-install'.
This is no longer used.  There was a time when this package supported
automatic factoring of color themes.  This has been abandoned.

FRAME-PARAMETERS is an alist of frame parameters.  These are installed
with `color-theme-install-frame-params'.  These are installed last such
that any changes to the default face can be changed by the frame
parameters.

VARIABLE-DEFINITIONS is an alist of variable settings.  These are
installed with `color-theme-install-variables'.

FACE-DEFINITIONS is an alist of face definitions.  These are installed
with `color-theme-install-faces'.

If `color-theme-is-cumulative' is nil, a color theme will undo face and
frame-parameter settings of previous color themes.
(defalias 'color-theme-install #[(theme) "\302!\303\304!!\210\305\306!!\210\307\310!!\210	\205\311@!\207" [theme color-theme-history-max-length color-theme-canonic color-theme-install-variables color-theme-variables color-theme-install-faces color-theme-faces color-theme-install-frame-params color-theme-frame-params color-theme-add-to-history] 3 (#$ . 43778)])
#@44 Submit your color-theme to the maintainer.
(defalias 'color-theme-submit #[nil "\306\307!\210p\310\211\311\312\313\314 p\310 !\306\315!\210\310\211\"#\316	!\210$\2032\317!!\210*eb\210\320\321!\210%c\210\320\322!\210c\210\323 \210`\324\216\325 \211 b\210)\326\n\327N\310\330#&\326\n\331N\310\330#'&\203s\332&!\202t\333('\203\202\332'!\202\203\334)\335\336()#.
\207" [hookvar mailbuf agent problem reporter-status-count reporter-status-message require reporter nil "Formatting buffer..." 0 "Yet another color-theme" reporter-compose-outgoing sendmail pop-to-buffer display-buffer mail-position-on-field "to" "subject" mail-text ((byte-code "\301p!\210b\210\302c\210b\210\303c\210\304\211\223\207" [final-resting-place color-theme-print "\n\n" "Hello there!\n\nHere's my color theme named: " nil] 3)) point-marker where-is-internal sendfunc t abortfunc key-description "C-c C-c" "M-x kill-buffer" message "Enter a message and type %s to send or %s to abort." after-sep-pos final-resting-place reporter-eval-buffer same-window-regexps same-window-buffer-names pop-up-windows color-theme-maintainer-address sendkey-whereis abortkey-whereis sendkey abortkey] 10 (#$ . 45471) nil])
(defalias 'define-color-theme '(macro . #[(name author description &rest forms) "\305\306\307\310\311	D\312\313\314\315\313\316\317\320\311	DDFFD\nFE\321	\322\323\fBBBBBE)\207" [name n author description forms progn add-to-list 'color-themes list quote upcase-initials replace-regexp-in-string "-" " " "^color-theme-" "" symbol-name defun nil (interactive)] 15]))
#@70 Initialize the color theme package by loading color-theme-libraries.
(defalias 'color-theme-initialize #[nil "\204	\203\305	\306\307#\202	\203\305	\306\307#A\nB\n\310\211\2034\f@\311!\210\fA\211\204&*\310\207" [color-theme-load-all-themes color-theme-directory color-theme-libraries library #1=#:--cl-dolist-temp-- directory-files t "^color-theme" nil load] 4 (#$ . 47056) nil])
(provide 'color-theme)