all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Finding color-theme in .emacs.d
Date: Thu, 11 Sep 2008 14:58:18 -0400	[thread overview]
Message-ID: <yu9zlmejyr9.fsf@nyu.edu> (raw)
In-Reply-To: <gabkjp$ef7$1@ger.gmane.org> (Eric Lilja's message of "Thu\, 11 Sep 2008 19\:30\:28 +0200")

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	other threads:[~2008-09-11 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 13:04 Finding color-theme in .emacs.d Eric Lilja
2008-09-11 17:30 ` Eric Lilja
2008-09-11 18:58   ` Allan Gottlieb [this message]
     [not found] ` <mailman.19039.1221154250.18990.help-gnu-emacs@gnu.org>
2008-09-11 18:32   ` Scott Frazer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9zlmejyr9.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.