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: Thu, 18 Sep 2014 02:52:32 -0700 (PDT) Message-ID: <6998417e-7c4c-43c6-8342-37dc446f3dec@googlegroups.com> References: <287e4dab-9ee0-4840-bb8f-0fc1b18a5501@googlegroups.com> <64b6f8f3-e03a-4d56-b9ae-c9384ceb4ba4@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 1411034127 899 80.91.229.3 (18 Sep 2014 09:55:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 09:55:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 11:55:22 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 1XUYQs-0000eb-0B for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 11:55:22 +0200 Original-Received: from localhost ([::1]:49489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUYQr-0005Wg-Mn for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 05:55:21 -0400 X-Received: by 10.182.213.105 with SMTP id nr9mr2887510obc.36.1411033952825; Thu, 18 Sep 2014 02:52:32 -0700 (PDT) X-Received: by 10.182.4.1 with SMTP id g1mr102628obg.3.1411033952709; Thu, 18 Sep 2014 02:52:32 -0700 (PDT) Original-Path: usenet.stanford.edu!h15no847524igd.0!news-out.google.com!ef6ni14504igb.0!nntp.google.com!h15no847522igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <64b6f8f3-e03a-4d56-b9ae-c9384ceb4ba4@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: Thu, 18 Sep 2014 09:52:32 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207730 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:100003 Archived-At: On Wednesday, 17 September 2014 16:41:05 UTC+1, Sam Halliday wrote: > 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 NOTE: https://github.com/alezost/alect-themes/#emacs-2431-and-earlier mentioned above seems to have fixed the problem I was having.