From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jjl@pobox.com Newsgroups: gmane.emacs.bugs Subject: Infinite recursion: Customize Faces/Basic faces/Default/Height Date: Sun, 3 Nov 2002 23:27:11 UT Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <20021103232708.479682FD4F@server4.fastmail.fm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1036366800 12256 80.91.224.249 (3 Nov 2002 23:40:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 3 Nov 2002 23:40:00 +0000 (UTC) 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 188ULW-0003BQ-00 for ; Mon, 04 Nov 2002 00:39:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188UL7-00035N-00; Sun, 03 Nov 2002 18:39:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 188U9N-00044w-00 for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2002 18:27:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 188U9L-00044f-00 for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2002 18:27:24 -0500 Original-Received: from fastmail.fm ([209.61.183.86] helo=www.fastmail.fm) by monty-python.gnu.org with esmtp (Exim 4.10) id 188U9L-00044a-00 for bug-gnu-emacs@gnu.org; Sun, 03 Nov 2002 18:27:23 -0500 Original-Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id BE0056DAD9 for ; Sun, 3 Nov 2002 17:27:15 -0600 (CST) Original-Received: from server4.fastmail.fm (server4.internal [10.202.2.135]) by www.fastmail.fm (Postfix) with ESMTP id AC1196DA15 for ; Sun, 3 Nov 2002 17:27:15 -0600 (CST) Original-Received: by server4.fastmail.fm (Postfix, from userid 99) id 479682FD4F; Sun, 3 Nov 2002 17:27:08 -0600 (CST) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.6; T1.001; A1.48; B2.12; Q2.03) Original-To: bug-gnu-emacs@gnu.org X-Epoch: 1036366035 X-Sasl-enc: /Z0iMvMaqli7aGXq+F+iSQ 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:3808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3808 I'm using GNU Emacs 21.2.1 from Debian 3 r0. If I customize Faces/Basic faces/Default, adjusting Height (in 1/10 point units) to 140, and then apply the change to the current session, emacs appears to go into an infinite loop. The only frame present clears of all text, and repeatedly resizes between maximised and a smaller size, until I kill it. Using scale rather than point size causes the same problem. Other options in the group do not cause a problem. If I change another option in the group, then look in .emacs to see what customize generated, I find this: (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(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 164 :width condensed :family "adobe-courier"))))) This works fine. If I then manually change height to 140, emacs has trouble at startup: > (/usr/bin/emacs) > Loading disp-table...done > Loading tool-bar...done > Loading image...done > Loading tooltip...done > Loading 00debian-vars...done > Loading 50gettext (source)...done > Loading server...done > Loading font-lock... > Loading regexp-opt...done > Loading font-lock...done > Loading paren...done >=20 >=20 > An error has occurred while loading `/home/john/.emacs': >=20 > error: "Variable binding depth exceeds max-specpdl-size" >=20 > To ensure normal operation, you should investigate the cause > of the error in your initialization file and remove it. Start > Emacs with the `--debug-init' option to view a complete error > backtrace > face-spec-choose: Variable binding depth exceeds max-specpdl-size but I do get the right font, at the right size (14 pt). Here is the output with --debug-init: > Debugger entered--Lisp error: (error "Variable binding depth exceeds max-= specpdl-size") > frame-update-face-colors(#) > internal-set-lisp-face-attribute(default :background "#ffffff" #) > set-face-attribute(default # :background= "#ffffff") > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :width condensed #) > set-face-attribute(default # :width cond= ensed) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :width condensed #) > set-face-attribute(default # :width cond= ensed) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :width condensed #) > set-face-attribute(default # :width cond= ensed) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :width condensed #) [...long snip...] > set-face-attribute(default # :width cond= ensed) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :width condensed #) > set-face-attribute(default # :width cond= ensed) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier"))) #) > face-set-after-frame-default(#) > internal-set-lisp-face-attribute(default :height 140 0) > set-face-attribute(default nil :height 140) > face-spec-set(default ((t (:stipple nil :background "#ffffff" :foregrou= nd "#000000" :inverse-video nil :box nil :strike-through nil :overline nil = :underline nil :slant normal :weight normal :height 140 :width condensed :f= amily "adobe-courier")))) > custom-set-faces((default ((t ...)))) > eval-buffer(# nil "~/.emacs" nil t) > load-with-code-conversion("/home/john/.emacs" "~/.emacs" t t) > load("~/.emacs" t t) > #[nil "=08=C2=1B,TB=1B$(O [oops, that last line refuses to paste into this crummy webmail thing] > command-line() > normal-top-level() John --=20 John J Lee jjlee@fastmail.fm