From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathan LeClaire Newsgroups: gmane.emacs.help Subject: Re: Load color-theme in init.el Date: Tue, 14 Aug 2012 20:30:34 -0400 Message-ID: References: <6a95b452-a586-45bd-970a-98f2b356669f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307f330201e79204c7430967 X-Trace: dough.gmane.org 1344990747 15660 80.91.229.3 (15 Aug 2012 00:32:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 00:32:27 +0000 (UTC) Cc: Patrick Wang , help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 02:32:27 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1RX9-0002NL-Aw for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 02:32:27 +0200 Original-Received: from localhost ([::1]:37901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1RX8-00036P-Df for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2012 20:32:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1RVN-0002uq-99 for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 20:30:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1RVM-0000Ol-8v for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 20:30:37 -0400 Original-Received: from mail-gg0-f169.google.com ([209.85.161.169]:43817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1RVM-0000Og-4X for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 20:30:36 -0400 Original-Received: by ggnf4 with SMTP id f4so1333929ggn.0 for ; Tue, 14 Aug 2012 17:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XSMxu3sQGMuXUFi+/4i+uxJSCcqFmO5WDG49Mo4IBNw=; b=VMiLISAWZnueNI2Smm7L5p0hc9gYYOXxWZjJErfqHdbyOalaMGnjJKaeQwMUx9iu5K 0xeumayOoC8xWr5sq3DlToaxBPkqHjHZ0hqGuzc9vZBEfiN3F0PCwoKjHOU4cj2VdtGs /bOrH7dOHhNkZgFvRLaAyofaVJFpaJbTTlIiR7sWzdSSVtufVYHOzftQZ/tkM3l+NISt h2H3mJQVZoHf9V/WWJyV5A/10xtlC9/M2hyDovR+cVakdjGQZzrfspGLyAHv7w61WFfj gdiiro/h8o3gJOecbGTLmee+Q+4oy2K7vJRpXZ2SVCnzX3yUOxSuuF+vzHY5/qZ1j/cb s80w== Original-Received: by 10.43.131.193 with SMTP id hr1mr8480251icc.31.1344990634698; Tue, 14 Aug 2012 17:30:34 -0700 (PDT) Original-Received: by 10.64.70.161 with HTTP; Tue, 14 Aug 2012 17:30:34 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.161.169 X-Mailman-Approved-At: Tue, 14 Aug 2012 20:32:22 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86342 Archived-At: --20cf307f330201e79204c7430967 Content-Type: text/plain; charset=ISO-8859-1 Hi guys, thanks for replying. If anyone out there is still searching, I finally figured out that apparently in Emacs 24 color-theme is (slightly?) deprecated. Instead you can load color themes with M - x load-theme, which provides a bunch of choices. I enjoy wombat, myself. I'm using Emacs 24 for OS X. Cheers, Nathan On Tue, Aug 14, 2012 at 4:48 AM, Peter Dyballa wrote: > > Am 14.08.2012 um 04:39 schrieb nathan.leclaire: > > >> It seems that init.el is evaluated before packages are loaded. > > What is this file "init.el"? Is it the (C-h v) site-run-file? If so, then > it's the wrong place for the purpose of setting a colour theme. It might be > OK to load here the Elisp code to handle colour themes, i.e., (require > 'color-theme). > > The run-time load order is: 1. file described in > this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'. > > When you look up the documentation of site-run-file you'll find some more > hints. > > The file "~/.emacs" is named by the variable user-init-file. > > -- > Greetings > > Pete === -Q > ==<__/% >> > _____________(_)____@_____________________________ > > --20cf307f330201e79204c7430967 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi guys, thanks for replying. =A0If anyone out there is still searching, I = finally figured out that apparently in Emacs 24 color-theme is (slightly?) deprecated. =A0Inste= ad you can load color themes with M - x load-theme, which provides a bunch of choices. =A0I enj= oy wombat, myself. =A0I'm using Emacs 24 for OS X.

Cheers,

Nathan

On Tue, Aug 14, 2012 at 4:48 AM, Peter Dyballa <Pe= ter_Dyballa@web.de> wrote:

Am 14.08.2012 um 04:39 schrieb nathan.leclaire:

>> It seems that init.el is evaluated before packages are loaded.

What is this file "init.el"? Is it the (C-h v) site-run-fil= e? If so, then it's the wrong place for the purpose of setting a colour= theme. It might be OK to load here the Elisp code to handle colour themes,= i.e., (require 'color-theme).

=A0 =A0 =A0 =A0 The run-time load order is: 1. file described in
=A0 =A0 =A0 =A0 this variable, if non-nil; 2. `~/.emacs'; 3. `default.e= l'.

When you look up the documentation of site-run-file you'll find some mo= re hints.

The file "~/.emacs" is named by the variable user-init-file.

--
Greetings

=A0 Pete =A0 =A0 =3D=3D=3D -Q
=A0 =A0 =A0 =A0 =A0 =A0 =A0=3D=3D<__/% >>
_____________(_)____@_____________________________


--20cf307f330201e79204c7430967--