From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#911: 23.0.60; custom-set-faces causes "New Frame" to fail Date: Thu, 25 Sep 2008 10:31:16 -0400 Message-ID: <878wtgnvpn.fsf@cyd.mit.edu> References: <87y71hthoc.fsf@cyd.mit.edu> <48DB55BF.5040803@gmx.at> Reply-To: Chong Yidong , 911@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222354226 11680 80.91.229.12 (25 Sep 2008 14:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 14:50:26 +0000 (UTC) Cc: 911@emacsbugs.donarmstrong.com, Ian Miller To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 16:51:20 2008 connect(): Connection refused 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.50) id 1KisBS-0005Jd-HA for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 16:51:10 +0200 Original-Received: from localhost ([127.0.0.1]:60420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KisAO-0005yl-0n for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 10:50:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KisAJ-0005y7-83 for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 10:49:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KisAH-0005xl-Rx for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 10:49:58 -0400 Original-Received: from [199.232.76.173] (port=45112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KisAH-0005xh-JZ for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 10:49:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50091) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KisAG-0000fO-US for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 10:49:57 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8PEnsMn010195; Thu, 25 Sep 2008 07:49:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8PEe3Qj007925; Thu, 25 Sep 2008 07:40:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 25 Sep 2008 14:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 911 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: unreproducible Original-Received: via spool by 911-submit@emacsbugs.donarmstrong.com id=B911.12223530486656 (code B ref 911); Thu, 25 Sep 2008 14:40:03 +0000 Original-Received: (at 911) by emacsbugs.donarmstrong.com; 25 Sep 2008 14:30:48 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8PEUi7H006650 for <911@emacsbugs.donarmstrong.com>; Thu, 25 Sep 2008 07:30:46 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 88A0257E32C; Thu, 25 Sep 2008 10:31:16 -0400 (EDT) In-Reply-To: <48DB55BF.5040803@gmx.at> (martin rudalics's message of "Thu, 25 Sep 2008 11:11:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 25 Sep 2008 10:49:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:20770 Archived-At: martin rudalics writes: >> How about defining a variable `frame-set-background-mode-bg-mode'? If >> it's nil, frame-set-background-mode uses the existing calculation to >> determine whether it's light or dark; if it's non-nil, it uses that >> existing value. This should prevent the oscillation. > > But who would be responsible for setting and resetting that variable? > Hardly `frame-set-background-mode' itself. Would we make this a frame > parameter so the command loop can reset it and allow to change it once > and only once for a command? Otherwise, we might risk reentering the > loop with the next call of `frame-set-background-mode'. Why not in frame-set-background-mode itself? Then, when it's set, subsequent calls to that function could be no-ops. > BTW, it seems you already closed bug#911 ... Sorry, I must have mistyped when trying to close a different bug. Reopened.