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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Juanma Barranquero <lekktu <at> gmail.com>
Subject: bug#5378: closed (Re: arbitrary user parameters in
 default-frame-alist not set in subsequent frames)
Date: Thu, 01 Jul 2010 00:18:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#5378: arbitrary user parameters in default-frame-alist not set in  subsequent frames

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5378 <at> debbugs.gnu.org.

-- 
5378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5378
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 5378-done <at> debbugs.gnu.org
Subject: Re: arbitrary user parameters in default-frame-alist not set in
	subsequent frames
Date: Wed, 30 Jun 2010 20:17:19 -0400
> 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

I have checked in a fix that tweaks the way default-frame-alist is
handled during frame creation.  It should solve this problem.

[Message part 3 (message/rfc822, inline)]
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.