Subject: bug#9033: 24.0.50; background not set correctly when using default-frame-alist

From: Thierry Volpiatto <[email-masked]>
Date: Sun, 10 Jul 2011 21:27:54 +0200

Jan Djärv <[email-masked]> writes:

> Hi.
>
> I can't reproduce this.  There must be other steps that you do that
> causes this.  Can you give an example starting from emacs -q?

As i said, this happen only if you have some X settings.
~/.Xressources:

#+BEGIN_SRC conf
Emacs.title:Emacs
Emacs.menuBar:off
Emacs.verticalScrollBars:off
Emacs.toolBar:off
Emacs.foreground:Wheat
Emacs.background:Black
Emacs.cursorColor:red
Emacs.cursorBlink:off
Emacs.fullscreen:maximized
Emacs.font:-unknown-DejaVu Sans Mono-bold-normal-normal-*-14-*-*-*-m-0-iso10646-1
Emacs.bitmapIcon:on
Emacs.alpha:80

#+END_SRC

xrdb -load ~/.Xressources

emacs -q

eval in scratch buffer:

#+BEGIN_SRC lisp
(let ((default-frame-alist '((minibuffer . nil)
                              (width . 80)
                              (height . 24)
                              (left-fringe . 0)
                              (border-width . 0)
                              (menu-bar-lines . 0)
                              (tool-bar-lines . 0)
                              (unsplittable . t)
                              (top . 24)
                              (left . 450)
                              (background-color . "LightSteelBlue")
                              (foreground-color . "DarkGoldenrod")
                              (alpha . nil)
                              (fullscreen . nil))))
   (switch-to-buffer-other-frame (current-buffer))

#+END_SRC

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997