From: David Belohrad <david@belohrad.ch>
To: kolya.ay@gmail.com, help-gnu-emacs@gnu.org
Subject: Re: always white background in compiled emacs24
Date: Fri, 31 Jan 2014 18:35:22 +0100 [thread overview]
Message-ID: <uaxzjmcqckl.fsf@beesknees.cern.ch> (raw)
In-Reply-To: <09554256-2c31-408a-8d9b-bbd549f988a9@googlegroups.com>
----------right! that's it. I had it setup as well and apparently for
background it takes preceedence over what is written in .emacs.
many thanks!
.d.
kolya.ay@gmail.com writes:
> 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
next prev parent reply other threads:[~2014-01-31 17:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 11:26 always white background in compiled emacs24 David Belohrad
2014-01-06 11:59 ` Joseph Vidal-Rosset
2014-01-06 13:11 ` David Belohrad
[not found] ` <mailman.11201.1389013894.10748.help-gnu-emacs@gnu.org>
2014-01-13 10:16 ` Fabrice Niessen
2014-01-13 11:28 ` David Belohrad
2014-01-13 11:49 ` Mattia Ziulu
[not found] ` <mailman.11804.1389632043.10748.help-gnu-emacs@gnu.org>
2014-01-31 12:41 ` kolya.ay
2014-01-31 17:35 ` David Belohrad [this message]
2014-02-05 12:01 ` Mattia Ziulu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uaxzjmcqckl.fsf@beesknees.cern.ch \
--to=david@belohrad.ch \
--cc=help-gnu-emacs@gnu.org \
--cc=kolya.ay@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).