From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: "clean" starting point for custom-theme-set-faces Date: Wed, 17 Sep 2014 08:41:05 -0700 (PDT) Message-ID: <64b6f8f3-e03a-4d56-b9ae-c9384ceb4ba4@googlegroups.com> References: <287e4dab-9ee0-4840-bb8f-0fc1b18a5501@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1410968728 22602 80.91.229.3 (17 Sep 2014 15:45:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2014 15:45:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 17:45:23 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUHQ0-0005N4-7W for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 17:45:20 +0200 Original-Received: from localhost ([::1]:45758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUHPz-0002n1-OS for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2014 11:45:19 -0400 X-Received: by 10.182.125.68 with SMTP id mo4mr6131650obb.49.1410968465803; Wed, 17 Sep 2014 08:41:05 -0700 (PDT) X-Received: by 10.140.105.53 with SMTP id b50mr750797qgf.3.1410968465562; Wed, 17 Sep 2014 08:41:05 -0700 (PDT) Original-Path: usenet.stanford.edu!h3no8132igd.0!news-out.google.com!q8ni12qal.1!nntp.google.com!m5no1603445qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <287e4dab-9ee0-4840-bb8f-0fc1b18a5501@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.244.128.25; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 83.244.128.25 User-Agent: G2/1.0 Injection-Date: Wed, 17 Sep 2014 15:41:05 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207709 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99982 Archived-At: 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