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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5378 in the body.
You can then email your comments to 5378 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5378; Package emacs. (Thu, 14 Jan 2010 14:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 14 Jan 2010 14:45:03 GMT) Full text and rfc822 format available.

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





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Thu, 01 Jul 2010 00:18:01 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Thu, 01 Jul 2010 00:18:01 GMT) Full text and rfc822 format available.

Message #10 received at 5378-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Jul 2010 11:24:03 GMT) Full text and rfc822 format available.

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.