emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Hertrich <daniel@daniel-hertrich.photo>
To: emacs-org list <emacs-orgmode@gnu.org>
Subject: Color theme loading on startup
Date: Wed, 8 Jul 2015 14:08:43 +0200	[thread overview]
Message-ID: <D0E19D1A-545D-4C42-B96D-E2E6E0ADA38F@daniel-hertrich.photo> (raw)

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

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)

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 „Deep Blue“ listed there, but putting 
(color-theme-select ‚deep_blue)
into the .emacs file doesn’t have any effect. However, I don’t know if that’s 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


[-- Attachment #2: Type: text/html, Size: 2215 bytes --]

             reply	other threads:[~2015-07-08 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 12:08 Daniel Hertrich [this message]
2015-07-08 13:06 ` Color theme loading on startup Eric S Fraga
     [not found] ` <87io9u121s.fsf@turing.flintfam.org>
2015-07-09  7:44   ` Daniel Hertrich
2015-07-09 10:23     ` Kaushal
2015-07-09 10:34       ` Kaushal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D0E19D1A-545D-4C42-B96D-E2E6E0ADA38F@daniel-hertrich.photo \
    --to=daniel@daniel-hertrich.photo \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).