From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Load color-theme in init.el Date: Tue, 14 Aug 2012 10:48:27 +0200 Message-ID: References: <6a95b452-a586-45bd-970a-98f2b356669f@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344934124 23884 80.91.229.3 (14 Aug 2012 08:48:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2012 08:48:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: nathan.leclaire@gmail.com, Patrick Wang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 14 10:48:41 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 1T1Cno-0005TZ-4L for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2012 10:48:40 +0200 Original-Received: from localhost ([::1]:60180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Cnn-0007yM-7H for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Aug 2012 04:48:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Cni-0007yF-NZ for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 04:48:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1Cng-0007aN-On for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 04:48:34 -0400 Original-Received: from mout.web.de ([212.227.17.11]:51888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1Cng-0007aH-F4 for help-gnu-emacs@gnu.org; Tue, 14 Aug 2012 04:48:32 -0400 Original-Received: from [192.168.178.8] ([95.222.201.211]) by smtp.web.de (mrweb103) with ESMTPA (Nemesis) id 0Lu4uA-1Tjzzx3n9C-010n1c; Tue, 14 Aug 2012 10:48:28 +0200 In-Reply-To: <6a95b452-a586-45bd-970a-98f2b356669f@googlegroups.com> X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:IfAYPkqMmdV8eBV6IJDgzH75W2QXkhUDKRrKZlGIbQS WqQWMwm31OlluK0HJPZYuIC53uyIJTSA1QzIRayeQijuy/Aw6Q ZLbkYddAp/Muw/E6cTbEJ12Tx6wv6NJxqnrD36WCI6Y6nBak31 blrDscskPphojW0GSPRiTklO8Z7O2sB7/3373NO5WQQDl9O7qs 5vKJeP+QM1wOfsOgXDW7Q== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.11 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:86335 Archived-At: 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 =3D=3D=3D -Q =3D=3D<__/% >> _____________(_)____@_____________________________