From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: emacs opens after long time Date: Wed, 10 Jun 2009 15:50:18 +0200 Organization: Anevia SAS Message-ID: <7ctz2o2o6d.fsf@pbourguignon.anevia.com> References: <7c3aa84698.fsf@pbourguignon.informatimago.com> <9b7023fb-a07a-488a-a444-1ac30d78b5d3@f19g2000yqh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1244646012 27460 80.91.229.12 (10 Jun 2009 15:00:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jun 2009 15:00:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 10 17:00:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MEPHe-000205-9V for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jun 2009 17:00:10 +0200 Original-Received: from localhost ([127.0.0.1]:59916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEPHd-0004uv-LV for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Jun 2009 11:00:09 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp8-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:Y2FmNWM3N2YxMmNjNGJlZDFlMjIwNDVjMTU2OGJkYmRkYjFlYTAwMA== Original-Lines: 56 Original-NNTP-Posting-Date: 10 Jun 2009 15:50:18 MEST Original-NNTP-Posting-Host: 88.170.236.224 Original-X-Trace: 1244641818 news-4.free.fr 3531 88.170.236.224:38964 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:169891 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65123 Archived-At: tomer writes: > On Jun 10, 3:34 pm, p...@informatimago.com (Pascal J. Bourguignon) > wrote: >> tomer 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__