[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: always white background in compiled emacs24
From: |
kolya . ay |
Subject: |
Re: always white background in compiled emacs24 |
Date: |
Fri, 31 Jan 2014 04:41:36 -0800 (PST) |
User-agent: |
G2/1.0 |
I had the same problem on Debian sid. It was because Emacs tried to setup
background/foreground colors according X resources (see `xrdb -query | grep
Emacs`). Untill this is fixed there is a workaround: `(setq inhibit-x-resources
t)` before any `load-theme`.
On Monday, January 13, 2014 3:49:31 PM UTC+4, Mattia Ziulu wrote:
> David Belohrad writes:
>
>
>
> > Dear All,
>
> >
>
> > I have git version of emacs compiled, using GTK3 (but tested with others
>
> > as well). When I try to load _any_ color theme using
>
> >
>
> > (load-theme '<theme> t)
>
> >
>
> > it applies all the colors except 'default-face' background and
>
> > foreground colors, which are always white (background) and black
>
> > (foreground).
>
> >
>
> > My init file does not contain anything else than
>
> >
>
> > #+BEGIN_SRC emacs-lisp
>
> > (load-theme 'leuven t)
>
> > #+END_SRC
>
> >
>
> > And this happens as well when no custom init file is loaded. Result is
>
> > always white background. *ONLY* exception is, when I run emacs with -Q
>
> > parameter. Then load-theme works correctly.
>
> >
>
> > Could someone point me to what I do wrong? I'm particularly puzzled with
>
> > fact, that even untweaked emacs ran without -Q parameter cannot load
>
> > themes correctly.
>
> >
>
> > Many thanks
>
> >
>
> >
>
> > david
>
>
>
> I can confirm this, and I use themes with dark backgrounds. I do think
>
> that the commit that "breaks" this is [0], as reverting to the one
>
> before that one lets me use whatever custom theme I want. Perhaps themes
>
> need to be updated to conform to the changes introduced in by this
>
> commit?
>
>
>
>
>
> [0]:
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=15e14b165dcbc6566a0459b0d5e66f89080f569e