From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: font-related hanging / general brokenness Date: Sun, 22 Jun 2008 16:48:29 +0900 Message-ID: <874p7lvrjm.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214120936 15962 80.91.229.12 (22 Jun 2008 07:48:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 07:48:56 +0000 (UTC) Cc: Kenichi Handa , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 22 09:49:40 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAKKO-0008UG-QB for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 09:49:37 +0200 Original-Received: from localhost ([127.0.0.1]:43553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAKJZ-0000OW-RF for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 03:48:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAKJV-0000O4-87 for emacs-devel@gnu.org; Sun, 22 Jun 2008 03:48:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAKJU-0000Ne-9F for emacs-devel@gnu.org; Sun, 22 Jun 2008 03:48:40 -0400 Original-Received: from [199.232.76.173] (port=38855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAKJU-0000NY-2s for emacs-devel@gnu.org; Sun, 22 Jun 2008 03:48:40 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:51493) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAKJN-00060s-L8; Sun, 22 Jun 2008 03:48:33 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAKJM-0003zD-Q5; Sun, 22 Jun 2008 03:48:33 -0400 Original-Received: from 218.231.109.31.eo.eaccess.ne.jp ([218.231.109.31] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1KAKJK-0002vV-Qq; Sun, 22 Jun 2008 16:48:30 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id EC7152F3A; Sun, 22 Jun 2008 16:48:29 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Stefan Monnier's message of "Fri, 20 Jun 2008 10:00:47 -0400") Original-Lines: 32 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99675 Archived-At: Stefan Monnier writes: >>> And that x_set_font then decides to call Qface_set_after_frame_default >>> which starts the whole process all over again. >>> >>> I can easily fix the recursion problem (there's already some code for >>> that purpose in faces.el), but I'm strongly tempted to remove the call >>> altogether > >> I see you've done this, and Emacs now starts up properly for me, and >> generally seems to work well. > > Yes, when I noticed that my locally-hacked-tree has had these lines > removed for "longer than I remember" and that I haven't had a chance to > blame any bug on this change, I figured it should be safe enough. > I'm pretty sure it will introduce some undesirable change somewhere down > the line, but I expect there will be a much better way to solve it, and > we'll address it when we get there. I notice that now, a `default' face setting set/saved with customize only gets applied to the current/first frame -- subsequent frames created with `C-x 5 2' end up using the `Emacs*Font:' xrdb setting instead (and similarly for non-font attributes). [I didn't notice before because I had the two settings set to identical values.] Non-`default' faces set with customize seem to be applied properly to all frames. -Miles -- Cat, n. A soft, indestructible automaton provided by nature to be kicked when things go wrong in the domestic circle.