unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 22.1 color theme issue
Date: Fri, 27 Jul 2007 03:43:12 +0300	[thread overview]
Message-ID: <8764464qxr.fsf@kobe.laptop> (raw)
In-Reply-To: 1185379157.280511.59970@d55g2000hsg.googlegroups.com

On Wed, 25 Jul 2007 15:59:17 -0000, Ankur <jainankur@gmail.com> wrote:
>On Jul 25, 7:11 pm, Mark Harrison <m.a.harri...@gmail.com> wrote:
>>> (require 'color-theme)
>>> (color-theme-initialize)
>>> (color-theme-matrix)
>>
>>> and started emacs. I received the following error:
>>
>>> Debugger entered--Lisp error: (void-function color-theme-matrix)
>>
>> Make sure you have color-theme.el in a directory that is in your load
>> path, and also themes/color-theme-library.el in the same directory.
>> (i.e. a themes directory in the same dir that you have color-theme.el
>> in, and the color-theme-library.el inside that themes directory). That
>> is what I needed to do to get the above to work.
>
> Thanks a LOT Mark!!!
>
> That was the only issue. I had moved color-theme.el into a different
> directory. I put them in a structure as defined by you and it just
> worked!

You don't have to move anything around.

I extracted color-theme-6.6 in ~/elisp/color-theme/ here, and then added
the directory to my load-path with:

    (add-to-list 'load-path "~/elisp/color-theme")

Autoloading the color-theme library is also nice, which you can enable
with the following in your ~/.emacs file:

    (autoload 'color-theme-select "color-theme.el" "Color Theme Support" t)

Then it should be possible to just type `M-x color-theme-select' and let
Emacs do the work of locating `color-theme.el' in your `load-path', load
it, and run the function you just invoked.

- Giorgos

  reply	other threads:[~2007-07-27  0:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24 12:07 Emacs 22.1 color theme issue Ankur
2007-07-24 13:10 ` Arjen Wiersma
2007-07-25  4:56   ` Amy Templeton
     [not found]   ` <mailman.3937.1185338865.32220.help-gnu-emacs@gnu.org>
2007-07-25  5:54     ` Ankur
2007-07-25  8:08       ` Peter Dyballa
     [not found]       ` <mailman.3946.1185350923.32220.help-gnu-emacs@gnu.org>
2007-07-25 13:33         ` Ankur
2007-07-25 14:17           ` Peter Dyballa
2007-07-25 14:11       ` Mark Harrison
2007-07-25 15:59         ` Ankur
2007-07-27  0:43           ` Giorgos Keramidas [this message]
2007-07-24 17:40 ` Exal de Jesus Garcia Carrillo

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8764464qxr.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --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.
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).