help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: "clean" starting point for custom-theme-set-faces


From: Sam Halliday
Subject: Re: "clean" starting point for custom-theme-set-faces
Date: Thu, 18 Sep 2014 02:52:32 -0700 (PDT)
User-agent: G2/1.0

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.


reply via email to

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