unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Ian Miller <emacs@soroban.fastmail.fm>
Cc: 911@emacsbugs.donarmstrong.com
Subject: bug#911: 23.0.60; custom-set-faces causes "New Frame" to fail	(max-specpdl-size)
Date: Mon, 08 Sep 2008 15:29:40 +0200	[thread overview]
Message-ID: <48C528C4.4010606@gmx.at> (raw)
In-Reply-To: <20080907234226.GA22400@baso.home>

 > This is what I get if I toggle-debug-on-error
 > (I hope this is useful?):
 >
 > Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size")
 >   framep-on-display(#<frame emacs@baso 0xed2800>)
 >   display-color-cells(#<frame emacs@baso 0xed2800>)
 >   face-spec-set-match-display(((min-colors 88) (class color)) #<frame emacs@baso 0xed2800>)
 >   face-spec-choose((((... ...) (:foreground "white" :background "blue1")) ((...) (:foreground "white" :background "blue")) (t (:slant italic))) #<frame emacs@baso 0xed2800>)
 >   face-spec-match-p(custom-themed (((... ...) (:foreground "white" :background "blue1")) ((...) (:foreground "white" :background "blue")) (t (:slant italic))) #<frame emacs@baso 0xed2800>)
 >   frame-set-background-mode(#<frame emacs@baso 0x10107a0>)
 >   internal-set-lisp-face-attribute(default :background "#ffffff" #<frame emacs@baso 0x10107a0>)
 >   set-face-attribute(default #<frame emacs@baso 0x10107a0> :background "#ffffff")
 >   face-spec-set-2(default #<frame emacs@baso 0x10107a0> ((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 #<frame emacs@baso 0x10107a0>)
 >   frame-set-background-mode(#<frame emacs@baso 0x10107a0>)
 >   internal-set-lisp-face-attribute(default :background "DarkSlateGray" #<frame emacs@baso 0x10107a0>)
 >   set-face-attribute(default #<frame emacs@baso 0x10107a0> :background "DarkSlateGray")
 >   face-spec-set-2(default #<frame emacs@baso 0x10107a0> ((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 #<frame emacs@baso 0x10107a0>)
 >   frame-set-background-mode(#<frame emacs@baso 0x10107a0>)
[...]
 >   internal-set-lisp-face-attribute(default :background "#ffffff" #<frame emacs@baso 0x10107a0>)
 >   set-face-attribute(default #<frame emacs@baso 0x10107a0> :background "#ffffff")
 >   face-spec-set-2(default #<frame emacs@baso 0x10107a0> ((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 #<frame emacs@baso 0x10107a0>)
 >   frame-set-background-mode(#<frame emacs@baso 0x10107a0>)
 >   internal-set-lisp-face-attribute(default :background "DarkSlateGray" #<frame emacs@baso 0x10107a0>)
 >   set-face-attribute(default #<frame emacs@baso 0x10107a0> :background "DarkSlateGray")
 >   face-spec-set-2(default #<frame emacs@baso 0x10107a0> ((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 #<frame emacs@baso 0x10107a0>)
 >   frame-set-background-mode(#<frame emacs@baso 0x10107a0>)
 >   x-create-frame-with-faces(nil)
 >   make-frame()
 >   make-frame-command()
 >   call-interactively(make-frame-command nil nil)

IIUC it has entered infinite recursion where `frame-set-background-mode'
is entered over and over again.  Somehow alternating between a "#ffffff"
and "DarkSlateGray" background, very interesting.

But I don't really understand where this happens :-(

martin







  reply	other threads:[~2008-09-08 13:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 14:23 bug#911: 23.0.60; custom-set-faces causes "New Frame" to fail (max-specpdl-size) martin rudalics
2008-09-07 16:56 ` Ian Miller
2008-09-07 18:47   ` martin rudalics
2008-09-07 23:42     ` Ian Miller
2008-09-08 13:29       ` martin rudalics [this message]
2008-09-14 13:50         ` martin rudalics
2008-09-16 12:11           ` Ian Miller
2008-09-16 12:50             ` martin rudalics
     [not found]               ` <20080916141738.GA3025@baso.home>
2008-09-16 14:54                 ` martin rudalics
     [not found]                 ` <48CFCA45.8050201@gmx.at>
2008-09-17 10:41                   ` Ian Miller
     [not found]                     ` <48D11231.3050707@gmx.at>
     [not found]                       ` <20080917153343.GA3925@baso.home>
     [not found]                         ` <48D12A4A.2010003@gmx.at>
     [not found]                           ` <20080919180120.GA22672@baso.home>
     [not found]                             ` <48D3F7B6.1050001@gmx.at>
     [not found]                               ` <20080919195533.GA27756@baso.home>
2008-09-21 18:30                                 ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2008-09-07 11:36 Ian Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C528C4.4010606@gmx.at \
    --to=rudalics@gmx.at \
    --cc=911@emacsbugs.donarmstrong.com \
    --cc=emacs@soroban.fastmail.fm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).