From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.help Subject: Re: Setting default fonts slows down emacs Date: Mon, 30 Oct 2006 00:53:49 +0100 Organization: Chalmers University of Technology, Sweden Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1162168899 17712 80.91.229.2 (30 Oct 2006 00:41:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2006 00:41:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 30 01:41:35 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GeLDO-0004sD-Mh for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Oct 2006 01:41:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GeLDO-0003qy-2i for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Oct 2006 19:41:22 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!newsfeed.sunet.se!news01.sunet.se!129.16.222.141.MISMATCH!gide.ita.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: gamma02.me.chalmers.se Original-X-Trace: gide.ita.chalmers.se 1162166029 31757 129.16.50.72 (29 Oct 2006 23:53:49 GMT) Original-X-Complaints-To: usenet@gide.ita.chalmers.se Original-NNTP-Posting-Date: Sun, 29 Oct 2006 23:53:49 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:K4roQs0jRjBfok00fiywajgWoC4= Original-Xref: shelby.stanford.edu gnu.emacs.help:142782 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38401 Archived-At: Johs writes: > I have this in my .emacs file: > > (set-default-font "-adobe-courier-medium-r-normal-*-14-*-*-*-*-*-*-*") > > But it take 10-15 seconds longer than normal to start up because of > this line. > > Why does emacs performance gets reduced when setting another default > font? Does this help? ,---- | ** Emacs pauses for several seconds when changing the default font. | | This has been reported for fvwm 2.2.5 and the window manager of KDE | 2.1. The reason for the pause is Xt waiting for a ConfigureNotify | event from the window manager, which the window manager doesn't send. | Xt stops waiting after a default timeout of usually 5 seconds. | | A workaround for this is to add something like | | emacs.waitForWM: false | | to your X resources. Alternatively, add `(wait-for-wm . nil)' to a | frame's parameter list, like this: | | (modify-frame-parameters nil '((wait-for-wm . nil))) | | (this should go into your `.emacs' file). `---- (from etc/PROBLEMS) -- Johan Bockgård