From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tim Van Holder" Newsgroups: gmane.emacs.bugs Subject: bug#911: bug#598: 23.0.60; frame size issue (--geometry or default-frame-alist) when using customized default face Date: Wed, 1 Oct 2008 11:52:47 +0200 Message-ID: References: <87bpy5yyim.fsf@cyd.mit.edu> <48E3391D.8090701@gmx.at> Reply-To: Tim Van Holder , 911@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1222855818 29838 80.91.229.12 (1 Oct 2008 10:10:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2008 10:10:18 +0000 (UTC) Cc: Chong Yidong , 911@emacsbugs.donarmstrong.com, 598@emacsbugs.donarmstrong.com To: "martin rudalics" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 12:11:15 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 1Kkyfn-0002x6-1K for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 12:11:11 +0200 Original-Received: from localhost ([127.0.0.1]:46285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkyej-0003qX-HG for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2008 06:10:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kkyee-0003pt-6y for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:10:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kkyec-0003pQ-S7 for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:09:59 -0400 Original-Received: from [199.232.76.173] (port=48180 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkyec-0003pJ-Jo for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:09:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57844) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kkyeb-0004Cy-UO for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2008 06:09:58 -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 m91A9tx2030578; Wed, 1 Oct 2008 03:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m91A05wu027615; Wed, 1 Oct 2008 03:00:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Tim Van Holder" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 01 Oct 2008 10:00:04 +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.122285477626260 (code B ref 911); Wed, 01 Oct 2008 10:00:04 +0000 Original-Received: (at 911) by emacsbugs.donarmstrong.com; 1 Oct 2008 09:52:56 +0000 Original-Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m919qq3f026249 for <911@emacsbugs.donarmstrong.com>; Wed, 1 Oct 2008 02:52:53 -0700 Original-Received: by gxk12 with SMTP id 12so13725945gxk.1 for <911@emacsbugs.donarmstrong.com>; Wed, 01 Oct 2008 02:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RKlIcr9DsxNRNqASroe/vQ8Pg/nRon4tEI3qKCCbzP0=; b=rTyi3wnYR+wjkOGZ1KUndRnzzV37locqP3q+iYBpyLuIGxD2dWp6TbEEYEOEZNt+D7 i3gwqazYub0/Ycg9ZwBmMPifd/vN/1vKk+7YzopLmkqkAcpWp+IJqkg/KfcLGAKgRyDZ SOcO8HdJjSKh55/G3MKX86yWV55a5Wai0jZD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=EOt02jylZr/BgZT2eN34mMYEGLn45tG0th7ZgzveRfpW0nQp/dw1gjNRWRGbIqyNVA bKBRCbkj0hRAWBSwm5AWN9K5WNRmUqEFXms73/ThrGwPPggXKen7OYextKkpECWmQqE6 +iugXTM9tDIolKBcDylUybu9LrjJqpj+9nVqM= Original-Received: by 10.150.153.3 with SMTP id a3mr11749685ybe.138.1222854767201; Wed, 01 Oct 2008 02:52:47 -0700 (PDT) Original-Received: by 10.151.12.15 with HTTP; Wed, 1 Oct 2008 02:52:47 -0700 (PDT) In-Reply-To: <48E3391D.8090701@gmx.at> Content-Disposition: inline X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 01 Oct 2008 06:09:59 -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:20946 Archived-At: On Wed, Oct 1, 2008 at 10:47 AM, martin rudalics wrote: >> I'm also getting max-specpdl-size exceeded on C-x 5 2, so I cannot check >> the >> previously observed behaviour that even when the initial frame is >> erratically >> sized, subsequent frames are fine. > > That's most likely bug#911 (aka nine-eleven) see > > http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D911 > > Could you try the recipe Chong gave there? I tried a slightly different recipe (below) and that made the error go away= . I assume Chong's will work as well - I just wanted to set the inhibit flag as early as possible (and I wasn't 100% sure whether or not the let would use the defvar'd flag instead of its own scoped var). --- faces.el.~1.425.~=092008-09-25 10:49:34.000000000 +0200 +++ faces.el=092008-10-01 11:48:01.000000000 +0200 @@ -1839,10 +1839,13 @@ variable with `setq'; this won't have th (declare-function x-get-resource "frame.c" =09=09 (attribute class &optional component subclass)) +(defvar inhibit-frame-set-background-mode nil) (defun frame-set-background-mode (frame) "Set up display-dependent faces on FRAME. Display-dependent faces are those which have different definitions according to the `background-mode' and `display-type' frame parameters." + (unless inhibit-frame-set-background-mode + (setq inhibit-frame-set-background-mode t) (let* ((bg-resource =09 (and (window-system frame) =09 (x-get-resource "backgroundMode" "BackgroundMode"))) @@ -1914,7 +1917,8 @@ according to the `background-mode' and ` =09;; parameters, unless they have been locally modified. =09(dolist (face (face-list)) =09 (unless (memq face locally-modified-faces) -=09 (face-spec-recalc face frame))))))) +=09 (face-spec-recalc face frame)))))) + (setq inhibit-frame-set-background-mode nil))) =0C ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;