unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: emacs opens after long time
Date: Wed, 10 Jun 2009 15:50:18 +0200	[thread overview]
Message-ID: <7ctz2o2o6d.fsf@pbourguignon.anevia.com> (raw)
In-Reply-To: 9b7023fb-a07a-488a-a444-1ac30d78b5d3@f19g2000yqh.googlegroups.com

tomer <tomer1levin@walla.co.il> writes:

> On Jun 10, 3:34 pm, p...@informatimago.com (Pascal J. Bourguignon)
> wrote:
>> tomer <tomer1le...@walla.co.il> writes:
>> > i have just installed ubunto and emacs.
>> > it takes about 30 seconds to load emacs.
>> > and also the changing the font takes long time about 10 seconds.
>>
>> > Could you give me some advise what to do ?
>>
>> Either:
>>
>> - Take a deep breath.
>>
>> - Go fetch a cup of coffee.
>>
>> - Think about what you're going to do.
>>
>> - DO NOT load emacs more than once a year.
>>
>> - Buy a faster computer (on this 2.4 GHz QuadCore Intel, it takes less
>>   than two seconds to boot emacs, and less than 10 seconds with my big
>>   ~/.emacs).  But granted, with my ~/.emacs it feels likes it takes
>>   five minutes to boot.  See previous point.
>>
>> --
>> __Pascal Bourguignon__
>
> Thanks for the practical advises
> I think there I miss something.
> on  the same computer , the same .emacs but windows os, emacs loading
> take 2 seconds ( instead of 30)
> other operations takes  less than a second ( instead of 10 second in
> my ubunto - font changing).
> any other idea than breath & coffee (i dont drink coffee but sure i
> need the breath).

It may be a problem of DNS configuration.  Compiled with some options
(by default I think), emacs will make some DNS requests at launch
time.   If the DNS is not very well configured, it will have to wait
for time-outs.

And same for the fonts, if you use a X font server (or rather if a X
font server is configured, and cannot be reached because of the DNS
misconfiguration).

- check /etc/resolv.conf  
- check you can reach the DNS servers,
- find if there's a X font server configured,
- check you can find the IP of the X font server (nslookup).



-- 
__Pascal Bourguignon__


  reply	other threads:[~2009-06-10 13:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 11:09 emacs opens after long time tomer
2009-06-10 12:34 ` Pascal J. Bourguignon
2009-06-10 13:32   ` tomer
2009-06-10 13:50     ` Pascal J. Bourguignon [this message]
2009-06-10 14:11     ` Peter Dyballa
2009-06-10 13:52 ` Teemu Likonen
2009-06-10 14:55 ` Jeff Clough
2009-06-12 17:45 ` John A Pershing Jr

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=7ctz2o2o6d.fsf@pbourguignon.anevia.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).