help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding color-theme in .emacs.d


From: Allan Gottlieb
Subject: Re: Finding color-theme in .emacs.d
Date: Thu, 11 Sep 2008 14:58:18 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

At Thu, 11 Sep 2008 19:30:28 +0200 Eric Lilja <mindcooler@gmail.com> wrote:

> Eric Lilja wrote:
>> Hello, I encountered a problem when I tried to move my color-theme
>> directory to ~/.emacs.d (can't wait for color-theme to be included
>> in the official emacs btw).
>>
>> I have this in my .emacs-file:
>> (add-to-list 'load-path "~/color-theme")
>> (require 'color-theme)
>> (color-theme-initialize)
>> (color-theme-clarity)
>>
>> which works fine when color-theme is directly under ~
>>
>> However, if I move it to ~/.emacs.d and update the snippet accordingly:
>> (add-to-list 'load-path "~/.emacs.d/color-theme")
>> (require 'color-theme)
>> (color-theme-initialize)
>> (color-theme-clarity)
>>
>> It cannot be found, why? I should place third party modes under
>> .emacs.d, right? At least that's what the wiki says. :)

I have it in /usr/share/emacs/site-lisp, which is already in
load-path.


In my .emacs I have

    ;; Non-std locations for elisp code
    ;;
    (setq load-path (append (list "/allan/gottlieb/share/emacs/") load-path))
    (if (file-exists-p "/usr/share/emacs/site-lisp/site-gentoo.el")
        (load "/usr/share/emacs/site-lisp/site-gentoo"))

and

    ;; Fancy colors
    ;;   Use my own color-theme, starting with `dark-laptop'
    (require 'color-theme)
    (color-theme-initialize)
    (load-file "/allan/gottlieb/.emacs.d/ajg-color-theme-library.el")
    (color-theme-dark-laptop)


>> I'm using emacs trunk, checkout is a few days old.

I use both emacs-22 (22.1) and emacs-23 (23.0.60) with the setup
above.

allan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]