GNU bug report logs - #66133
emacs-28.2 to emacs-29.1 made default-frame-alist/initial-frame-alist settings non functional

Previous Next

Package: emacs;

Reported by: Joakim Tjernlund <Joakim.Tjernlund <at> infinera.com>

Date: Thu, 21 Sep 2023 09:02:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Joakim Tjernlund <Joakim.Tjernlund <at> infinera.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: emacs-28.2 to emacs-29.1 made default-frame-alist/initial-frame-alist
 settings non functional
Date: Thu, 21 Sep 2023 09:00:54 +0000
I have in site-start.el:
(setq default-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color . "White")))
(setq initial-frame-alist default-frame-alist)

With above settings I expect to have a Dark Green background and white text.
These settings stopped working in emacs-29.1, now I see a White background and Black text.

As I use MATE I also have:

cat /etc/xrdb/Emacs.ad
Emacs.default.attributeForeground:	WINDOW_FOREGROUND
Emacs.default.attributeBackground:	WINDOW_BACKGROUND
 
Emacs*Foreground:		WINDOW_FOREGROUND
Emacs*Background:		WINDOW_BACKGROUND
Emacs*menubar*foreground:	FOREGROUND
Emacs*menubar*background:	BACKGROUND
Emacs*popup*Foreground:		FOREGROUND
Emacs*popup*Background:		BACKGROUND
Emacs*Dialog*foreground:	FOREGROUND
Emacs*Dialog*background:	BACKGROUND
Emacs*XlwScrollBar.Foreground:	FOREGROUND
Emacs*XlwScrollBar.Background:	BACKGROUND
Emacs*topToolBarShadowColor:	BACKGROUND
Emacs*bottomToolBarShadowColor:	BACKGROUND
Emacs*backgroundToolBarColor:	BACKGROUND
Emacs.scroll-bar.attributeBackground: BACKGROUND
Emacs.scroll-bar.attributeForeground: FOREGROUND
Emacs.mode-line.attributeForeground: FOREGROUND
Emacs.tool-bar.attributeBackground: BACKGROUND
Emacs.tool-bar.attributeForeground: FOREGROUND

(MATE replaces the sym names FOREGROUND/BACKGROUND etc. with Theme colours)

Removing this file make emacs-29.1 work again w.r.t default-frame-alist/initial-frame-alist settings above.

This bug report was last modified 1 year and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.