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 (max-specpdl-size) Date: Sun, 14 Sep 2008 15:50:05 +0200 Message-ID: <48CD168D.10107@gmx.at> References: <48C3E3EE.9070309@gmx.at> <20080907165632.GA13662@baso.home> <48C421CC.7060206@gmx.at> <20080907234226.GA22400@baso.home> <48C528C4.4010606@gmx.at> 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 1221401281 10442 80.91.229.12 (14 Sep 2008 14:08:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Sep 2008 14:08:01 +0000 (UTC) Cc: Ian Miller To: 911@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 14 16:08:57 2008 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 1KesHW-0001CC-C7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 16:08:54 +0200 Original-Received: from localhost ([127.0.0.1]:44366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KesGV-0004iq-Lo for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Sep 2008 10:07:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KesGI-0004ev-6w for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 10:07:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KesGG-0004eb-Kb for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 10:07:37 -0400 Original-Received: from [199.232.76.173] (port=59841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KesGG-0004eY-GB for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 10:07:36 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37396) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KesGG-00044R-6X for bug-gnu-emacs@gnu.org; Sun, 14 Sep 2008 10:07:36 -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 m8EE7YTR018056; Sun, 14 Sep 2008 07:07:34 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8EE03Ju014221; Sun, 14 Sep 2008 07:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 14 Sep 2008 14:00: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.122140037212160 (code B ref 911); Sun, 14 Sep 2008 14:00:03 +0000 Original-Received: (at 911) by emacsbugs.donarmstrong.com; 14 Sep 2008 13:52:52 +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 m8EDqleM012153 for <911@emacsbugs.donarmstrong.com>; Sun, 14 Sep 2008 06:52:49 -0700 Original-Received: (qmail invoked by alias); 14 Sep 2008 13:52:42 -0000 Original-Received: from 62-47-41-96.adsl.highway.telekom.at (EHLO [62.47.41.96]) [62.47.41.96] by mail.gmx.net (mp033) with SMTP; 14 Sep 2008 15:52:42 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+K9NENkWCKDN9E4uVAedd5PF/DACHXC2S5deavVg wKLz3y6f/NR58b User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <48C528C4.4010606@gmx.at> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 14 Sep 2008 10:07:37 -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:20535 Archived-At: Ian, I can't reproduce this here. Could your try to edebug the functions `face-spec-set-2' and `face-spec-recalc' to find out why (or better how) in the trace > > face-spec-set-2(default # ((t :stipple > nil :background "#ffffff" :foreground "#000000" :inverse-video nil :box > nil :strike-through nil :overline nil :underline nil :slant normal > :weight normal :height 90 :width normal :foundry "unknown" :family > "DejaVu Sans Mono"))) > > face-spec-recalc(default #) [...] > > face-spec-set-2(default # ((t (:stipple > nil :background "DarkSlateGray" :foreground "wheat" :inverse-video nil > :box nil :strike-through nil :overline nil :underline nil :slant normal > :weight normal :height 121 :width normal :foundry "unknown" :family > "DejaVu Sans Mono")))) > > face-spec-recalc(default #) the function `face-spec-set-2' is called alternately with different backgrounds. That is, edebug these two functions, call C-x 5 2 or whatever you have to make a new frame, and tell me whether (1) `face-spec-recalc' in one and the same call invokes `face-spec-set-2' at least twice (where an invocation should cause `face-spec-set-2' to really call `set-face-attributes'), or (2) `face-spec-recalc' is called at least twice when making a new frame. Please complain immediately whem my recipe is unclear. Thanks in advance, martin.