all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5378: arbitrary user parameters in default-frame-alist not set in subsequent frames
@ 2010-01-14 14:43 Juanma Barranquero
  2010-07-01  0:17 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Juanma Barranquero @ 2010-01-14 14:43 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

---------- Forwarded message ----------
From: Juanma Barranquero <lekktu@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@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







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#5378: arbitrary user parameters in default-frame-alist not set in subsequent frames
  2010-01-14 14:43 bug#5378: arbitrary user parameters in default-frame-alist not set in subsequent frames Juanma Barranquero
@ 2010-07-01  0:17 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-07-01  0:17 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 5378-done

> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-01  0:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 14:43 bug#5378: arbitrary user parameters in default-frame-alist not set in subsequent frames Juanma Barranquero
2010-07-01  0:17 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.