From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Subject: Re: Color theme loading on startup Date: Thu, 9 Jul 2015 06:23:54 -0400 Message-ID: References: <87io9u121s.fsf@turing.flintfam.org> <4C9EFBAA-34B6-417B-86E1-71CE0247C771@daniel-hertrich.photo> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c034fc80c2aaf051a6ea7de Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD8zm-0002eU-3K for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 06:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZD8zk-00059c-S4 for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 06:23:58 -0400 Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:36233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD8zk-00059N-MU for emacs-orgmode@gnu.org; Thu, 09 Jul 2015 06:23:56 -0400 Received: by ykey15 with SMTP id y15so35835757yke.3 for ; Thu, 09 Jul 2015 03:23:54 -0700 (PDT) In-Reply-To: <4C9EFBAA-34B6-417B-86E1-71CE0247C771@daniel-hertrich.photo> 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: Daniel Hertrich Cc: emacs-org list --94eb2c034fc80c2aaf051a6ea7de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Daniel, What version of emacs are you on? color-theme is a very old style of setting themes. I believe load-theme will not work for color themes. Check out this recent answer on emacs.SE for more detail: http://emacs.stackexchange.com/a/13825/115 -- Kaushal Modi On Jul 9, 2015 3:44 AM, "Daniel Hertrich" wrote: > > > Am 09.07.2015 um 04:45 schrieb Samuel W. Flint : > > > > Daniel Hertrich writes: > > > >> 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) > > > > Try ~(load-theme 'cyberpunk t nil)~. That should work. > > Unfortunately it doesn=E2=80=99t. It has the same effect as without the = =E2=80=9Et nil=E2=80=9C, > background color is not applied. > > Daniel > > > > --94eb2c034fc80c2aaf051a6ea7de Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Daniel,

What version of emacs are you on?

color-theme is a very old style of setting themes. I believe= load-theme will not work for color themes.

Check out this recent answer on emacs.SE for more detail: http://emacs.stackexch= ange.com/a/13825/115

--
Kaushal Modi

On Jul 9, 2015 3:44 AM, "Daniel Hertrich&qu= ot; <daniel@daniel-hertrich.photo> wrote:

> Am 09.07.2015 um 04:45 schrieb Samuel W. Flint <swflint@flintfam.org>:
>
> Daniel Hertrich <daniel@daniel-hertrich.photo> writes:
>
>> Hi guys,
>>
>> quick question, as I don=E2=80=99t really see any root cause for t= his:
>> Whenever I try to load a color theme directly from .emacs using >> load-theme, e.g.
>>
>> (load-theme 'cyberpunk)
>
> Try ~(load-theme 'cyberpunk t nil)~.=C2=A0 That should work.

Unfortunately it doesn=E2=80=99t. It has the same effect as without the =E2= =80=9Et nil=E2=80=9C, background color is not applied.

Daniel



--94eb2c034fc80c2aaf051a6ea7de--