GNU bug report logs - #5378
arbitrary user parameters in default-frame-alist not set in subsequent frames

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Thu, 14 Jan 2010 14:45:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: arbitrary user parameters in default-frame-alist not set in 
	subsequent frames
Date: Thu, 14 Jan 2010 15:43:35 +0100
---------- Forwarded message ----------
From: Juanma Barranquero <lekktu <at> gmail.com>
Date: Sun, Jan 3, 2010 at 00:35
Subject: Is this a bug? (arbitrary user parameters in
default-frame-alist not set in subsequent frames)
To: Emacs developers <emacs-devel <at> gnu.org>


I'll file a bug report, assuming it is unexpected.

 emacs -Q --eval "(add-to-list 'default-frame-alist '(my-parameter . t))"
 M-: (frame-parameter nil 'my-parameter)   =>   t
 C-x 5 2
 M-: (frame-parameter nil 'my-parameter)   =>   nil

This happens for user-defined frame parameters; for example, if you
set `background-color' it is correctly passed.

Are initial-frame-alist and default-frame-alist intended for
"meaningful" stuff (X resources and other things that can affect frame
creation) only, or should user values be honored too?

   Juanma





This bug report was last modified 14 years and 330 days ago.

Previous Next


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