emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Color theme loading on startup


From: Kaushal
Subject: Re: [O] Color theme loading on startup
Date: Thu, 9 Jul 2015 06:34:10 -0400

Daniel,

I reread your answer.

Looks like to are using the theme package cyberpunk ( https://github.com/n3mo/cyberpunk-theme.el ) which is compatible with load-theme. I got confused because you used the phrase "color theme".

Contrary to what the install instructions say in that theme package's README page, one should not set the `custom-theme-load-path` variable WHEN you install the package using the emacs package manager (package.el) and initialize the packages using `package-initialize`.

If you have set that variable using Customize, erase it using the Customize interface.

Then `(load-theme 'cyberpunk t nil)` will work.

Check out the below emacs.SE for more detail.

http://emacs.stackexchange.com/a/2113/115

--
Kaushal Modi

On Jul 9, 2015 6:23 AM, "Kaushal" <address@hidden> wrote:

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" <address@hidden> wrote:

> Am 09.07.2015 um 04:45 schrieb Samuel W. Flint <address@hidden>:
>
> Daniel Hertrich <address@hidden> writes:
>
>> Hi guys,
>>
>> quick question, as I don’t 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’t. It has the same effect as without the „t nil“, background color is not applied.

Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]