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: Wed, 12 Jan 2011 23:42:55 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294894468 1507 80.91.229.12 (13 Jan 2011 04:54:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2011 04:54:28 +0000 (UTC) To: 6713@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 13 05:54:24 2011 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 1PdFCZ-000400-9F for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jan 2011 05:54:23 +0100 Original-Received: from localhost ([127.0.0.1]:52419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdFCY-0005M8-Mg for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 23:54:22 -0500 Original-Received: from [140.186.70.92] (port=47501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdFCU-0005KU-6w for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 23:54:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdFCT-00086N-5r for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 23:54:18 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdFCT-00086I-37 for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 23:54:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PdEuo-0007xD-Av; Wed, 12 Jan 2011 23:36:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: 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: Thu, 13 Jan 2011 04:36:02 +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.129489332630532 (code B ref 6713); Thu, 13 Jan 2011 04:36:02 +0000 Original-Received: (at 6713) by debbugs.gnu.org; 13 Jan 2011 04:35:26 +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 1PdEuD-0007wP-U1 for submit@debbugs.gnu.org; Wed, 12 Jan 2011 23:35:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PdEuC-0007wE-96 for 6713@debbugs.gnu.org; Wed, 12 Jan 2011 23:35:24 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskFADQRLk1FxIbi/2dsb2JhbACWM44SdLwshUwEhGiOKg X-IronPort-AV: E=Sophos;i="4.60,316,1291611600"; d="scan'208";a="87827888" Original-Received: from 69-196-134-226.dsl.teksavvy.com (HELO ceviche.home) ([69.196.134.226]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 12 Jan 2011 23:42:55 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5234E660BB; Wed, 12 Jan 2011 23:42:55 -0500 (EST) 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: Wed, 12 Jan 2011 23:36:02 -0500 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:43322 Archived-At: Trying to come back to this bug that's been affecting my Emacs's background for the last 6 months now ;-) I just found out that the behavior is affected by the Xft.dpi value: % echo Xft.dpi: 124 | xrdb % emacs -Q --eval '(progn (setq initial-frame-alist (quote ((background-color . "grey75")))) (make-frame))' C-x 5 2 leaves me with 3 frames: the initial frame with grey75 background (yay!), and 2 frames with white background (yay!). OTOH % echo Xft.dpi: 123 | xrdb % emacs -Q --eval '(progn (setq initial-frame-alist (quote ((background-color . "grey75")))) (make-frame))' C-x 5 2 leaves me with 3 frames: the initial frame with grey75 background (yay!), the second frame with white background (yay!), but the last frame with grey75 background (nay!). Only the value 124 gives me the right answer, on this machine. xdpyinfo says "96x96 dpi", so I'm not sure from where the 124 comes. Does this ring a bell to anyone? Stefan