From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#911: 23.0.60; custom-set-faces causes "New Frame" to fail Date: Thu, 25 Sep 2008 11:11:27 +0200 Message-ID: <48DB55BF.5040803@gmx.at> References: <87y71hthoc.fsf@cyd.mit.edu> Reply-To: martin rudalics , 911@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222335357 12580 80.91.229.12 (25 Sep 2008 09:35:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 09:35:57 +0000 (UTC) Cc: 911@emacsbugs.donarmstrong.com, Ian Miller To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 25 11:36:53 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 1KinDI-00026v-4l for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 11:32:44 +0200 Original-Received: from localhost ([127.0.0.1]:51062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KinCE-0004kE-SD for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 05:31:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KinAf-0004S5-Ef for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 05:30:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KinAd-0004RM-7m for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 05:30:00 -0400 Original-Received: from [199.232.76.173] (port=55968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KinAc-0004RH-VM for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 05:29:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43110) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KinAd-0007uC-6U for bug-gnu-emacs@gnu.org; Thu, 25 Sep 2008 05:29:59 -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 m8P9Ts7H026714; Thu, 25 Sep 2008 02:29:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8P9K3Is024431; Thu, 25 Sep 2008 02:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 25 Sep 2008 09:20: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.122233411223806 (code B ref 911); Thu, 25 Sep 2008 09:20:03 +0000 Original-Received: (at 911) by emacsbugs.donarmstrong.com; 25 Sep 2008 09:15:12 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8P9F8FD023242 for <911@emacsbugs.donarmstrong.com>; Thu, 25 Sep 2008 02:15:09 -0700 Original-Received: (qmail invoked by alias); 25 Sep 2008 09:15:02 -0000 Original-Received: from 62-47-52-66.adsl.highway.telekom.at (EHLO [62.47.52.66]) [62.47.52.66] by mail.gmx.net (mp018) with SMTP; 25 Sep 2008 11:15:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/sUJt87YfshM7yHTum5UEbfSjDgYMdxL44iZomwH RaWKOvGZ8/aUaI User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <87y71hthoc.fsf@cyd.mit.edu> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 25 Sep 2008 05:30:00 -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:20761 Archived-At: > 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'. martin BTW, it seems you already closed bug#911 ...