From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ankur Newsgroups: gmane.emacs.help Subject: Re: Emacs 22.1 color theme issue Date: Wed, 25 Jul 2007 05:54:51 -0000 Organization: http://groups.google.com Message-ID: <1185342891.126485.54840@19g2000hsx.googlegroups.com> References: <1185278854.024426.248450@o61g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185345697 2033 80.91.229.12 (25 Jul 2007 06:41:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2007 06:41:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 25 08:41:35 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 1IDaYw-0003AZ-MR for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2007 08:41:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDaYw-0005FE-8n for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2007 02:41:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!19g2000hsx.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 78 Original-NNTP-Posting-Host: 203.123.180.146 Original-X-Trace: posting.google.com 1185342891 11127 127.0.0.1 (25 Jul 2007 05:54:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 25 Jul 2007 05:54:51 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 T9357NC01 (NetCache NetApp/6.0.2) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000hsx.googlegroups.com; posting-host=203.123.180.146; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:150443 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:46022 Archived-At: On Jul 25, 9:56 am, Amy Templeton wrote: > Arjen Wiersma wrote: > > Ankur writes: > > > Now when I press RET on any color-theme in the list, I get the > > > following error : > > > > Symbol's function definition is void : color-theme-arjen. > > > > Could someone help me resolving this problem. > > Good choice for a color theme ;).... personally I add both > > color-theme and color-theme/themes to my load-path and also load > > color-theme-library.el in order to get it to work. > > Having just: > > (require 'color-theme) > > (color-theme-arjen) > > gives me the same error, however using color-theme-select works just > > fine. (?)... > > I settled on loading color-theme-library.el (byte compiled of course) > > and that has worked for me... > > Personally, I've found that... > > (require 'color-theme) > (color-theme-initialize) > (color-theme-your-theme-here) > > ...works fine on my Emacs, and didn't give me any problems when I > upgraded from 21.4. > > Anyway...just two cents. > > Amy > > -- > I got a hint of things to come when I overheard my boss lamenting, > "The books are done and we still don't have an author! I must sign > someone today!" > -- Tamim Ansary, Edutopia Magazine, Issue 2, > November 2004, on the topic of school textbooks Hi I entered the following lines into my .emacs (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) (color-theme-matrix) eval-region(4253 4273 t (lambda (ignore) (goto-char 4273) (quote (color-theme-matrix)))) ; Reading at buffer position 4253 apply(eval-region (4253 4273 t (lambda (ignore) (goto-char 4273) (quote ...)))) eval-defun-2() eval-defun(nil) (save-restriction (narrow-to-defun) (eval-defun nil) (goto-char (point-min)) (let* (... ... ... ... ... ... ...) (setq faces ...) (setq theme ...) (setcdr ... ...) (message "Pretty printing analysed color theme function...") (with-current-buffer ... ... ... ... ...) (message "Pretty printing analysed color theme function... done") (ediff-buffers ... ...))) (save-excursion (save-restriction (narrow-to-defun) (eval-defun nil) (goto-char ...) (let* ... ... ... ... ... ... ... ...))) color-theme-analyze-defun() call-interactively(color-theme-analyze-defun) execute-extended-command(nil) call-interactively(execute-extended-command) Any idea? I am using Emacs 22.1 on Windows XP. Regards Ankur Jain