From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hertrich Subject: Color theme loading on startup Date: Wed, 8 Jul 2015 14:08:43 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_57D313E1-ED6E-4C22-8392-1ACB7ACAD138" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCo9i-0006uJ-6o for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 08:08:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCo9d-0007FI-Qm for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 08:08:50 -0400 Received: from mx02.posteo.de ([89.146.194.165]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCo9d-0007ES-IZ for emacs-orgmode@gnu.org; Wed, 08 Jul 2015 08:08:45 -0400 Received: from dovecot04.posteo.de (unknown [185.67.36.27]) by mx02.posteo.de (Postfix) with ESMTPS id 5E12825A3DC4 for ; Wed, 8 Jul 2015 14:08:44 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot04.posteo.de (Postfix) with ESMTPSA id 3mRKDC6Rb9zFpVk for ; Wed, 8 Jul 2015 14:08:43 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org list --Apple-Mail=_57D313E1-ED6E-4C22-8392-1ACB7ACAD138 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi guys, quick question, as I don=E2=80=99t really see any root cause for this: =20 Whenever I try to load a color theme directly from .emacs using = load-theme, e.g. (load-theme 'cyberpunk) even if I put this line to the end of the .emacs file, the background = color of the theme is overridden by something and not applied to the = look of Emacs.=20 If I load the same theme while Emacs is running using=20 M-x load-theme RET cyberpunk RET it looks good. However, using this method I cannot persist the choice = across sessions. Any ideas what the reason could be? Also, there is=20 M-x color-theme-select which lists different themes than load-theme. Is this method better? How = to load such themes through .emacs correctly? E.g. I like the theme =E2=80=9EDeep Blue=E2=80=9C listed there, but = putting=20 (color-theme-select =E2=80=9Adeep_blue) into the .emacs file doesn=E2=80=99t have any effect. However, I don=E2=80= =99t know if that=E2=80=99s the correct lisp-compatible name of the = theme. How to know what it is? And where are new themes for this method installed to? As far as I = understood, both methods take different format theme files?=20 Thanks! Daniel --Apple-Mail=_57D313E1-ED6E-4C22-8392-1ACB7ACAD138 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi guys,

quick question, as I don=E2=80=99t really see any root cause = for this:
 
Whenever I = try to load a color theme directly from .emacs using load-theme, = e.g.

(load-theme 'cyberpunk)

even if I put this line to the end of = the .emacs file, the background color of the theme is overridden by = something and not applied to the look of Emacs. 
If I load the same theme while Emacs is running = using 

M-x load-theme RET cyberpunk RET

it looks good. However, using this = method I cannot persist the choice across sessions.

Any ideas what the = reason could be?



Also, there is 

M-x = color-theme-select

which lists different themes than load-theme. Is this method = better? How to  load such themes through .emacs = correctly?
E.g. I like the theme =E2=80=9EDeep = Blue=E2=80=9C listed there, but putting 
(color-theme-select =E2=80=9Adeep_blue)
into the .emacs file doesn=E2=80=99t have any effect. = However, I don=E2=80=99t know if that=E2=80=99s the correct = lisp-compatible name of the theme. How to know what it is?
And where are new themes for this method installed to? As far = as I understood, both methods take different format theme = files? 

Thanks!
Daniel

= --Apple-Mail=_57D313E1-ED6E-4C22-8392-1ACB7ACAD138--