help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting default fonts slows down emacs


From: Johs
Subject: Re: Setting default fonts slows down emacs
Date: Wed, 01 Nov 2006 14:40:06 +0100
User-agent: KNode/0.10.4

Johan Bockgård wrote:

> Johs <address@hidden> 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)
> 


Thanks that helped. Though it needs to be places as the first line in
my .emacs file to work.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]