From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier " Newsgroups: gmane.emacs.bugs Subject: Re: problems porting .emacs to NTemacs Date: 25 Aug 2002 15:15:09 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <5ladnaycle.fsf@rum.cs.yale.edu> References: <3D63E035.60209@nortelnetworks.com> <5lofbtxxgd.fsf@rum.cs.yale.edu> <3D67761D.8060601@nortelnetworks.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030302894 24932 127.0.0.1 (25 Aug 2002 19:14:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 25 Aug 2002 19:14:54 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17j2qa-0006U1-00 for ; Sun, 25 Aug 2002 21:14:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j2rs-0006PI-00; Sun, 25 Aug 2002 15:16:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17j2r0-0006OE-00 for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2002 15:15:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17j2qt-0006Np-00 for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2002 15:15:17 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j2qs-0006Nk-00 for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2002 15:15:11 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g7PJFAB21416; Sun, 25 Aug 2002 15:15:10 -0400 X-Authentication-Warning: rum.cs.yale.edu: monnier set sender to monnier@cs.yale.edu using -f Original-Newsgroups: gnu.emacs.help Original-Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 In-Reply-To: <3D67761D.8060601@nortelnetworks.com> Posted-To: gnu.emacs.help Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3297 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3297 The following message is a courtesy copy of an article that has been posted to gnu.emacs.help as well. >>>>> "Michael" == Michael Soulier writes: > Stefan Monnier wrote: >>> '(default ((t (:stipple nil :background "#e5e5e5" :foreground >>> "black" :inverse-video nil :box nil :strike-through nil :overline >>> nil :underline nil :slant normal :weight normal :height 87 :width >>> normal :family "adobe-courier")))) >> Options => Enter Debugger on Error > Ok. This is a piece of the backtrace. It would seem that face-spec-choose > has run amock, but I'm guessing. [...] > Debugger entered--Lisp error: (error "Variable binding depth exceeds > max-specpdl-size") > face-spec-choose((((... ...) (:foreground "red")) ((... ...) (:foreground "red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #) > face-spec-set(font-lock-warning-face (((... ...) (:foreground "red")) ((... ...) (:foreground "Red" :bold t)) ((... ...) (:foreground "Pink" :bold t)) (t (:inverse-video t :bold t))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :family "adobe-courier" #) > set-face-attribute(default # :family "adobe-courier") > face-spec-set(default ((t (:stipple nil :background "#e5e5e5" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 87 :width normal :family "adobe-courier"))) #) > face-set-after-frame-default(#) It seems that when set-face-attribute is called on the `default' face to change some font-related property (the family in this case), it does a `modify-frame-parameter' to change its `font' setting which in turn then calls `face-set-after-frame-default' to refresh all the faces which in turns tries to use the `default' setting which changes the `family' again, ... Looks like a bug. Does it also happen under Xwindow ? Please reply to gnu.emacs.bug. Stefan