From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.1 color theme issue Date: Fri, 27 Jul 2007 03:43:12 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <8764464qxr.fsf@kobe.laptop> References: <1185278854.024426.248450@o61g2000hsh.googlegroups.com> <1185342891.126485.54840@19g2000hsx.googlegroups.com> <1185372703.389610.32810@22g2000hsm.googlegroups.com> <1185379157.280511.59970@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185547675 19126 80.91.229.12 (27 Jul 2007 14:47:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2007 14:47:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 27 16:47:49 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IER6b-000810-Cd for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2007 16:47:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IER6b-0006pO-22 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jul 2007 10:47:49 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (berkeley-unix) Cancel-Lock: sha1:MjTZH1PmMfBuek+rJL6iWXJ0/z8= Original-Lines: 40 Original-NNTP-Posting-Host: 83.235.244.135 Original-X-Trace: news.sunsite.dk DXC=1Hh7bfE9K1_bD]FUj; YcCZYSB=nbEKnk[l:4`YVO27`_L^MjWPhb63:>SPn^>P; W:54]HfP6k8QE; \LhlQ Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:150538 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46118 Archived-At: On Wed, 25 Jul 2007 15:59:17 -0000, Ankur wrote: >On Jul 25, 7:11 pm, Mark Harrison 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