unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: Setting default fonts slows down emacs
Date: Mon, 30 Oct 2006 00:53:49 +0100	[thread overview]
Message-ID: <yoijfyd665ma.fsf@gamma02.me.chalmers.se> (raw)
In-Reply-To: ei2lu3$5mr$1@news.net.uni-c.dk

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	other threads:[~2006-10-29 23:53 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 [this message]
2006-11-01 13:40   ` Johs

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=yoijfyd665ma.fsf@gamma02.me.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    /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).