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: Johan Bockgård
Subject: Re: Setting default fonts slows down emacs
Date: Mon, 30 Oct 2006 00:53:49 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Johs <asdasd@asd.com> 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


reply via email to

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