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 08:44:01 +0200 Message-ID: <4A4C5731.1020209@swipnet.se> References: <7b501d5c0906060758n3113b6cdr37a5635b389428b8@mail.gmail.com> <87ab4k3g04.fsf@catnip.gol.com> <4A2BB621.201@harpegolden.net> <7b501d5c0907011535u712bd57ase521a1cb211bb4ee@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246517072 7273 80.91.229.12 (2 Jul 2009 06:44:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2009 06:44:32 +0000 (UTC) Cc: David De La Harpe Golden , emacs-devel@gnu.org, James Cloos , Miles Bader To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 08:44:24 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 1MMG1u-0007bf-1H for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 08:44:22 +0200 Original-Received: from localhost ([127.0.0.1]:57082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMG1t-0007Vt-Hf for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2009 02:44:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMG1n-0007Sx-8o for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMG1i-0007Q6-KB for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:14 -0400 Original-Received: from [199.232.76.173] (port=48082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMG1i-0007Q0-Hi for emacs-devel@gnu.org; Thu, 02 Jul 2009 02:44:10 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:45044) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMG1e-0006C6-NQ; Thu, 02 Jul 2009 02:44:06 -0400 Original-Received: from mtah11.telenor.se ([62.127.194.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMG1d-0004sa-Hr; Thu, 02 Jul 2009 02:44:05 -0400 Original-Received: from iph2.telenor.se (iph2.telenor.se [195.54.127.133]) by mtah11.telenor.se (Postfix) with ESMTP id A3C623135E; Thu, 2 Jul 2009 08:44:02 +0200 (CEST) X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An2cANPzS0pV4S1uPGdsb2JhbACBUZcyAQEBATe2N4QRBQ X-IronPort-AV: E=Sophos;i="4.42,331,1243807200"; d="scan'208";a="24846172" 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 08:44:02 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 195957FA07B; Thu, 2 Jul 2009 08:44:02 +0200 (CEST) User-Agent: Thunderbird 2.0.0.22 (X11/20090608) In-Reply-To: <7b501d5c0907011535u712bd57ase521a1cb211bb4ee@mail.gmail.com> X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/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:111894 Archived-At: Deniz Dogan skrev: > Using the latest CVS checkout, I think I have been able to more > precisely point out what is going wrong on my computer with XMonad and > Emacs. All of the following instructions happen without anything in > .Xdefaults (.Xresources doesn't exist). > > I start Emacs like one normally does, with .emacs removing fringes, > the scrollbar, the menubar and the toolbar. This comes up: > http://pici.se/pictures/pXCGsmQpd.png > > Then I modify ~/.emacs, commenting out any removal of fringes, etc. > http://pici.se/pictures/avxrLUQYn.png > > It should be pretty clear looking at the pictures that the "offset" in > the first picture is caused from not "updating" the sizes or whatever > after having evaluated ~/.emacs. How do I force this? > Emacs relies on the window manager/X server to send ConfigureNotify events when the size changes. Somehow it is missing some events or events are not being sent. The way to force it is to resize the frame a bit. Does this happen if you start Emacs normally and then by invoking the proper commands by hand, remove toolbar and so on? Jan D.