From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: What is the proper way to set the default font these days? Date: Thu, 02 Jul 2009 12:59:30 +0200 Message-ID: <4A4C9312.2070402@swipnet.se> References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <87ab4k3g04.fsf@catnip.gol.com> <4A2BB621.201@harpegolden.net> <7b501d5c0907011535u712bd57ase521a1cb211bb4ee@mail.gmail.com> <4A4C5731.1020209@swipnet.se> <7b501d5c0907020045g32abc97eg268b94f26af60d72@mail.gmail.com> <4A4C6E84.4090409@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1246533926 23431 80.91.229.12 (2 Jul 2009 11:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 11:25:26 +0000 (UTC) Cc: Deniz Dogan , Miles Bader , emacs-devel@gnu.org, James Cloos , David De La Harpe Golden To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 13:25:18 2009 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 1MMKPi-0003yh-9W for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 13:25:14 +0200 Original-Received: from localhost ([127.0.0.1]:40977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMKPh-0004C7-E5 for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 07:25:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMK0z-00026w-EQ for emacs-devel@gnu.org; Thu, 02 Jul 2009 06:59:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMK0t-00020y-UZ for emacs-devel@gnu.org; Thu, 02 Jul 2009 06:59:40 -0400 Original-Received: from [199.232.76.173] (port=44809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMK0t-00020T-J8 for emacs-devel@gnu.org; Thu, 02 Jul 2009 06:59:35 -0400 Original-Received: from mtah31.telenor.se ([213.150.131.4]:60870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMK0r-0005gQ-DI; Thu, 02 Jul 2009 06:59:33 -0400 Original-Received: from iph2.telenor.se (iph2.telenor.se [195.54.127.133]) by mtah31.telenor.se (Postfix) with ESMTP id 02E22329D7; Thu, 2 Jul 2009 12:59:32 +0200 (CEST) X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuODAJkvTEpV4S1uPGdsb2JhbACBUZcyAQEBATe1UYQRBYkV X-IronPort-AV: E=Sophos;i="4.42,332,1243807200"; d="scan'208";a="24903383" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph2.telenor.se with ESMTP; 02 Jul 2009 12:59:31 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 0E4737FA07B; Thu, 2 Jul 2009 12:59:31 +0200 (CEST) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:111904 Archived-At: YAMAMOTO Mitsuharu skrev: >>>>>> On Thu, 02 Jul 2009 10:23:32 +0200, Jan Dj=E4rv said: >=20 >>> If I remove them "manually" after startup, the problem doesn't >>> occur. What's weird is still like I said before that everything >>> worked fine in a previous version of Emacs 23. Unfortunately, >>> figuring out in which exact revision this problem started occurring >>> is rather cumbersome, especially for me since I know very little >>> about CVS. >=20 >> This particular behaviour was introduced by a patch made in May. It >> was to solve another problem (bug 2401). I think I have them both >> covered now. >=20 > Could you also take a look at the Bug#2980 (invisible frame) case that > was supposed to be fixed by the patch in May? =20 This is now broken again. But the assumtion of the lisp code is wrong. I= n the=20 case of XMonad, it will simply ignore any resize request and not send any= =20 ConfigureNotify events, not even when the frame becomes visible again (af= ter=20 all, the window sizes hasn't changed). So if we assume the frame is 10x2= 0, we=20 will draw at the wrong place. We could handle unmapped windows specially and when they get mapped, ask = the X=20 server for the size and handle it from there. > Also, there seems to be > a debug code remaining in xg_frame_resized. Removed, thanks. Jan D.