You are not logged in.

#1 2008-03-08 20:29:24

Myav
Member
Registered: 2007-05-07
Posts: 58

[SOLVED] Emacs starts slowly when network daemon is stopped

I have notice that my emacs starts slowly (about 5 sec) when /etc/rc.d/network is stopped. By contrast, when I have working network connection emacs starts instantly hmm Why does it happen? Is this effect of some kind of emacs's features or just a bug?

I use emacs-cvs from community repository.

Thanks.

Last edited by Myav (2008-03-09 15:07:31)

Offline

#2 2008-03-08 22:07:04

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

It does not happen to me. I am using a nother PKGBUILD though -- the one formerly known as emacs-unicode-2 in AUR.

But I think you should have a look to your .emacs file. Do you do some network relevant issues there?

Offline

#3 2008-03-08 22:53:26

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

@Myav - I had a similar problem, only with Thunar.  My solution was to stop doing
/etc/rc.d/network stop

I don't know why I was doing that anyway, since I'm using netcfg2.  I should have been doing
/etc/rc.d/net-profiles stop

Offline

#4 2008-03-09 07:19:12

Myav
Member
Registered: 2007-05-07
Posts: 58

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

Stefan Husmann wrote:

Do you do some network relevant issues there?

I tested with empty .emacs - it didn't help sad

Offline

#5 2008-03-09 07:35:19

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

Doesn't "network" also manage the loopback?


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#6 2008-03-09 09:04:00

Myav
Member
Registered: 2007-05-07
Posts: 58

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

finferflu wrote:

Doesn't "network" also manage the loopback?

I have in my rc.conf this string:

INTERFACES=(lo eth0)

Does it indicate that "network" manage the loopback?

Offline

#7 2008-03-09 15:07:09

Myav
Member
Registered: 2007-05-07
Posts: 58

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

The problem was solved, after I put into /etc/hosts my hostname ("myhost"):

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1  localhost.localdomain  localhost myhost

Thanks to the maintainer of emacs-cvs - sergej!

Offline

#8 2008-03-09 15:28:56

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: [SOLVED] Emacs starts slowly when network daemon is stopped

You should also remove lo from your INTERFACES line since it is now brought up automatically by Arch. (Look at your /etc/rc.conf.pacnew file.)


I am a gated community.

Offline

Board footer

Powered by FluxBB