all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Halliday <sam.halliday@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: "clean" starting point for custom-theme-set-faces
Date: Wed, 17 Sep 2014 08:41:05 -0700 (PDT)	[thread overview]
Message-ID: <64b6f8f3-e03a-4d56-b9ae-c9384ceb4ba4@googlegroups.com> (raw)
In-Reply-To: <287e4dab-9ee0-4840-bb8f-0fc1b18a5501@googlegroups.com>

On Wednesday, 17 September 2014 11:00:54 UTC+1, Sam Halliday  wrote:
> I'm creating a custom colour theme for emacs inspired by IntelliJ's Darcula. Work in progress here:
>   https://github.com/fommil/unix/blob/master/.emacs.d/lisp/Darkula-theme.el


I have a third question that I'd also like help with regarding this theme.

It would appear that when I load my custom theme (above) with

  (add-to-list 'custom-theme-load-path (concat user-emacs-directory "lisp"))
  (load-theme 'Darkula t)

not everything is set correctly. In particular (as one example), the font-lock-builtin-face (used extensively in the theme file itself) is not picking up the foreground defined in my theme.

However, if I open up the theme file and do a `C-x C-e` on the `custom-theme-set-faces` block, the theme works perfectly as intended as is evident by the colours in that file changing immediately.

Am I doing something wrong or missing something out?

Sam


  parent reply	other threads:[~2014-09-17 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17 10:00 "clean" starting point for custom-theme-set-faces Sam Halliday
2014-09-17 11:41 ` Alex Kost
     [not found] ` <mailman.9025.1410954123.1147.help-gnu-emacs@gnu.org>
2014-09-17 12:31   ` Sam Halliday
2014-09-18  5:23     ` Alex Kost
2014-09-17 15:41 ` Sam Halliday [this message]
2014-09-18  9:52   ` Sam Halliday
2014-09-17 16:42 ` Drew Adams

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

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

  git send-email \
    --in-reply-to=64b6f8f3-e03a-4d56-b9ae-c9384ceb4ba4@googlegroups.com \
    --to=sam.halliday@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.