From: Johs <asdasd@asd.com>
Subject: Re: Setting default fonts slows down emacs
Date: Wed, 01 Nov 2006 14:40:06 +0100 [thread overview]
Message-ID: <eia83m$2kj$1@news.net.uni-c.dk> (raw)
In-Reply-To: yoijfyd665ma.fsf@gamma02.me.chalmers.se
Johan Bockgård wrote:
> 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)
>
Thanks that helped. Though it needs to be places as the first line in
my .emacs file to work.
prev parent reply other threads:[~2006-11-01 13:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-29 16:47 Setting default fonts slows down emacs Johs
2006-10-29 23:53 ` Johan Bockgård
2006-11-01 13:40 ` Johs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eia83m$2kj$1@news.net.uni-c.dk' \
--to=asdasd@asd.com \
--cc=asd@ads.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).