From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6713: initial-frame-alist params applied to all frames Date: Mon, 25 Oct 2010 16:25:22 -0400 Message-ID: References: <87zkxi6v2x.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1288039424 9152 80.91.229.12 (25 Oct 2010 20:43:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 20:43:44 +0000 (UTC) Cc: 6713@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 25 22:43:42 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PATtK-0007Sq-MD for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Oct 2010 22:43:38 +0200 Original-Received: from localhost ([127.0.0.1]:42286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATtI-0007P1-AE for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Oct 2010 16:43:36 -0400 Original-Received: from [140.186.70.92] (port=44317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATse-0007Bt-R1 for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 16:42:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PATsd-0002Ux-Nh for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 16:42:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PATsd-0002Ur-Ko for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2010 16:42:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PATYP-000226-T6; Mon, 25 Oct 2010 16:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2010 20:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6713 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6713-submit@debbugs.gnu.org id=B6713.12880380897805 (code B ref 6713); Mon, 25 Oct 2010 20:22:01 +0000 Original-Received: (at 6713) by debbugs.gnu.org; 25 Oct 2010 20:21:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PATXs-00021q-RO for submit@debbugs.gnu.org; Mon, 25 Oct 2010 16:21:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PATXp-00021i-Ts for 6713@debbugs.gnu.org; Mon, 25 Oct 2010 16:21:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvkIAP2ExUxFxL/T/2dsb2JhbACgVXtyvkCFSASSIg X-IronPort-AV: E=Sophos;i="4.58,237,1286164800"; d="scan'208";a="80658381" Original-Received: from 69-196-191-211.dsl.teksavvy.com (HELO pastel.home) ([69.196.191.211]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 25 Oct 2010 16:25:22 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4B5F8A8519; Mon, 25 Oct 2010 16:25:22 -0400 (EDT) In-Reply-To: <87zkxi6v2x.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 23 Jul 2010 12:07:02 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 25 Oct 2010 16:22:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:41130 Archived-At: >> With a .emacs that contains just: >> (setq initial-frame-alist '((background-color . "grey75"))) >> start "emacs" and then hit C-x 5 2. Notice that the second frame also >> has a grey75 background. > Hmm, I can't reproduce this. For me, the second frame is white. This > is with latest bzr sources, and `xrdb -remove' before running Emacs. I'm still seeing this bug (which appeared back when you changed the default-frame-alist handling): % src/emacs -Q --eval '(setq initial-frame-alist (quote ((background-color . "grey75"))))' C-x 5 2 Gives me 2 frames, both with a grey75 background. If I change grey75 to something else (like "red"), I get a red background in both frames. But I recently noticed that the bug was not present on one of my machine; which happens to be one where I was running a mix of Debian "stable"&"testing" (because of a problem in the "testing" version of the X11 driver). I've now upgraded it back to "testing" and the bug is now present there as well, so it appears to also depend on the version of some library (probably libX11 since the bug appears both with Gtk and Lucid toolkits). Also the bug is not present in the emacs-23 branch, so while the version of some library might matter, Emacs's own code also matters. Stefan