* Trouble Adding Color Theme
@ 2009-04-11 8:02 DaveLG526
2009-04-11 18:52 ` DaveLG526
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: DaveLG526 @ 2009-04-11 8:02 UTC (permalink / raw)
To: help-gnu-emacs
I added this following 5 lines to my .emacs file and I also have the
color-theme-blue.el file in the .emacs.d directory
;; Color theme, add to .emacs
(require 'color-theme)
(color-theme-initialize)
(load-file "~/.emacs.d/color-theme-blue.el")
(color-theme-blue)
This is the error message I receive when I started emacs.
I have no idea what it means.
Any ideas?
Debugger entered--Lisp error: (void-function color-theme-initialize)
(color-theme-initialize)
eval-buffer(#<buffer *load*> nil "c:/Program Files/Emacs/
emacs/.emacs" nil t) ; Reading at buffer position 443
load-with-code-conversion("c:/Program Files/Emacs/emacs/.emacs" "c:/
Program Files/Emacs/emacs/.emacs" t t)
load("~/.emacs" t t)
#[nil "\b
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble Adding Color Theme
2009-04-11 8:02 Trouble Adding Color Theme DaveLG526
@ 2009-04-11 18:52 ` DaveLG526
2009-04-11 18:55 ` Leo
[not found] ` <mailman.5159.1239476164.31690.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: DaveLG526 @ 2009-04-11 18:52 UTC (permalink / raw)
To: help-gnu-emacs
On Apr 11, 1:02 am, DaveLG526 <David.Gillo...@gmail.com> wrote:
> I added this following 5 lines to my .emacs file and I also have the
> color-theme-blue.el file in the .emacs.d directory
>
> ;; Color theme, add to .emacs
> (require 'color-theme)
> (color-theme-initialize)
> (load-file "~/.emacs.d/color-theme-blue.el")
> (color-theme-blue)
>
> This is the error message I receive when I started emacs.
> I have no idea what it means.
>
> Any ideas?
>
> Debugger entered--Lisp error: (void-function color-theme-initialize)
> (color-theme-initialize)
> eval-buffer(#<buffer *load*> nil "c:/Program Files/Emacs/
> emacs/.emacs" nil t) ; Reading at buffer position 443
> load-with-code-conversion("c:/Program Files/Emacs/emacs/.emacs" "c:/
> Program Files/Emacs/emacs/.emacs" t t)
> load("~/.emacs" t t)
> #[nil "
>
> Dave
I removed some additional things in my .emacs file to make debugging
easier (at least for me). The current error message and my .emacs file
is:
I am running on Windows.
This is my current error message when I run emacs with debug on:
I am running on Windows.
This is my current error message when I run emacs with debug on:
--------------------------------------------------------------------------------------------------------------------------------------------
Debugger entered--Lisp error: (void-function color-theme-initialize)
(color-theme-initialize)
eval-buffer(#<buffer *load*> nil "c:/Program Files/Emacs/
emacs/.emacs" nil t) ; Reading at buffer position 579
load-with-code-conversion("c:/Program Files/Emacs/emacs/.emacs" "c:/
Program Files/Emacs/emacs/.emacs" t t)
load("~/.emacs" t t)
#[nil "\b
---------------------------------------------------------------------------------------------------------------------------------------------
For reference this is my .emacs file. The color-theme-blue.el file is
in my C:\Program Files\Emacs\emacs\.emacs.d windows directory
;;
-----------------------------------------------------------------------------
;; General Setup
;;
-----------------------------------------------------------------------------
;;start the emacsclient server
(server-start)
;;(setq load-path (cons "~\chipmarketing\lisp" load-path))
;;(setq load-path (append load-path (list "~lisp\color-theme-6.6.0")))
;;(require 'color-theme)
;; (load-library "color-theme")
;; (color-theme-select)
(setq custom-file "~/.emacs.d/custom.el")
(load custom-file 'noerror)
;; Color theme
;;(require 'color-theme)
(color-theme-initialize)
(load-file "C:/Program Files/Emacs/.emacs.d/color-theme-blue.el")
(load-theme 'color-theme-blue)
;;(load-file "C:\Program Files\Emacs\emacs\lisp\color-
theme-6.6.0\themes\color-theme-blackboard.el") ;; does not ;;run
;; activate it
;;(color-theme-blackboard)
;; Removed during my debugging
;; Text mode and Auto Fill mode
;; The next three lines put Emacs into Text mode
;; and Auto Fill mode, and are for writers who
;; want to start writing prose rather than code.
;;(setq default-major-mode 'text-mode)
;;(add-hook 'text-mode-hook 'text-mode-hook-identify)
;;(add-hook 'text-mode-hook 'turn-on-auto-fill)
;; Set Geographic Location info
(setq calendar-latitude 37.3)
(setq calendar-longitude -121.9)
(setq calendar-location-name "Campbell, CA")
;;Org-mode settings
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-font-lock-mode 1)
;; Change title bar to ~/file-directory if the current buffer is a
;; real file or buffer name if it is just a buffer.
(setq frame-title-format
'(:eval
(if buffer-file-name
(replace-regexp-in-string
(getenv "HOME") "~"
(file-name-directory buffer-file-name))
(buffer-name))))
;; HTML helper mode
;; Add HTML-Helper-Mode. Anymore than this line caused it not to load
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
;; format the title-bar to always include the buffer name
(setq frame-title-format "emacs - %b")
;; displays the time in the status bar
(display-time)
(require 'hfyview)
(require 'htmlfontify)
(require 'easymenu)
;;
-----------------------------------------------------------------------------
;; Functions
;;
-----------------------------------------------------------------------------
;; Backup File Location
;;
;; Redefining the make-backup-file-name function in order to get
;; backup files in ~/.backups/ rather than scattered around all over
;; the filesystem. Note that you must have a directory ~/.backups/
;; made. This function looks first to see if that folder exists. If
;; it does not the standard backup copy is made.
(defun make-backup-file-name (file-name)
"Create the non-numeric backup file name for `file-name'."
(require 'dired)
(if (file-exists-p "~/backups")
(concat (expand-file-name "~/backups/")
(replace-regexp-in-string "/" "!" file-name))
(concat file-name "~")))
(defun insert-date (prefix)
"Insert the current date. With prefix-argument, use ISO format. With
two prefix arguments, write out the day and month name."
(interactive "P")
(let ((format (cond
((not prefix) "%A, %B %d, %Y")
((equal prefix '(4)) "%m-%d-%Y")
((equal prefix '(16)) "%m.%d.%Y"))))
(insert (format-time-string format))))
;; Setup time mode
(autoload 'display-time "time" "Display Time" t)
(condition-case err
(display-time)
(error (message "Unable to load Time package.")))
(setq display-time-24hr-format nil)
(setq display-time-day-and-date t)
;;; AsciiTable
(autoload 'ascii-table "ascii-table" nil t)
(autoload 'ascii-table-hex "ascii-table" nil t)
(autoload 'ascii-table-octal "ascii-table" nil t)
(autoload 'ascii-table-decimal "ascii-table" nil t)
;;
-----------------------------------------------------------------------------
;; Macros
;;
-----------------------------------------------------------------------------
;;TBD
;;
-----------------------------------------------------------------------------
;; Key Bindings
;;
-----------------------------------------------------------------------------
;;TBD
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble Adding Color Theme
2009-04-11 8:02 Trouble Adding Color Theme DaveLG526
2009-04-11 18:52 ` DaveLG526
@ 2009-04-11 18:55 ` Leo
[not found] ` <mailman.5159.1239476164.31690.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Leo @ 2009-04-11 18:55 UTC (permalink / raw)
To: help-gnu-emacs
On 2009-04-11 09:02 +0100, DaveLG526 wrote:
> Debugger entered--Lisp error: (void-function color-theme-initialize)
> (color-theme-initialize)
> eval-buffer(#<buffer *load*> nil "c:/Program Files/Emacs/
> emacs/.emacs" nil t) ; Reading at buffer position 443
> load-with-code-conversion("c:/Program Files/Emacs/emacs/.emacs" "c:/
> Program Files/Emacs/emacs/.emacs" t t)
> load("~/.emacs" t t)
> #[nil "\b
You need a new version of color-theme from its cvs/svn repository.
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
www.git-scm.com
git - the one true version control system
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble Adding Color Theme
[not found] ` <mailman.5159.1239476164.31690.help-gnu-emacs@gnu.org>
@ 2009-04-11 21:34 ` DaveLG526
0 siblings, 0 replies; 4+ messages in thread
From: DaveLG526 @ 2009-04-11 21:34 UTC (permalink / raw)
To: help-gnu-emacs
On Apr 11, 11:55 am, Leo <sdl....@gmail.com> wrote:
> On 2009-04-11 09:02 +0100, DaveLG526 wrote:
>
> > Debugger entered--Lisp error: (void-function color-theme-initialize)
> > (color-theme-initialize)
> > eval-buffer(#<buffer *load*> nil "c:/Program Files/Emacs/
> > emacs/.emacs" nil t) ; Reading at buffer position 443
> > load-with-code-conversion("c:/Program Files/Emacs/emacs/.emacs" "c:/
> > Program Files/Emacs/emacs/.emacs" t t)
> > load("~/.emacs" t t)
> > #[nil "
>
> You need a new version of color-theme from its cvs/svn repository.
>
> --
> .: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.
>
> www.git-scm.com
> git - the one true version control system
I have been downloading from:
http://www.emacswiki.org/emacs/ColorTheme#toc3
Is there somewhere else I need to look for the latest file?
Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-11 21:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 8:02 Trouble Adding Color Theme DaveLG526
2009-04-11 18:52 ` DaveLG526
2009-04-11 18:55 ` Leo
[not found] ` <mailman.5159.1239476164.31690.help-gnu-emacs@gnu.org>
2009-04-11 21:34 ` DaveLG526
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).