You are not logged in.
It takes a long time to start emacs, heres the output from 'time emacs --kill'
[conny@morticia ~]$ time emacs --kill
real 0m5.550s
user 0m0.185s
sys 0m0.031s
...and heres /etc/hosts
[conny@morticia ~]$ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip> <hostname> <hostname>
127.0.0.1 localhost.localdomain localhost
# End of file
What is wrong? Emacs shouldnt take this long to start. oh yea computer is acer aspire 3003lmi.
charlie dont surf!
Offline
[klette@Distraction ~]$ time /usr/local/bin/emacs --kill
real 0m1.991s
user 0m0.636s
sys 0m0.060s
No problems here ..
Offline
that's what I get on my Slackware install too, but not on Arch.
charlie dont surf!
Offline
Maybe it's a good idea to run strace and find out what takes the time... I'll do it if i find the time, or you can try it
Offline
Your localhost network interface is up?
Offline
lo is up and here is the output from strace:
students.turkuai.fi/~coholteg/emacs_strace.txt
charlie dont surf!
Offline
Do you have an entry for 192.168.101.32 in /etc/hosts, or at least some way to get a reverse DNS record for it? emacs is trying to do quite some lookups for them, which can take 10 seconds to timeout (I guess ssh is also very slow from your machine)
Offline
192.168.101.32 is the DNS server at work. Should I add it to /etc/hosts? What should the line look like?
charlie dont surf!
Offline
added <ip> dns.server dns to /etc/hosts no change
charlie dont surf!
Offline
I have
real 0m12.757s
user 0m0.308s
sys 0m0.060s
did you solve this problem?
Offline
No I did'nt solve it....on thing though, when i run hostname -f i get hostname lookup failure or something like that.
charlie dont surf!
Offline
Maybe a font problem?
When I remove
(set-default-font "-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-2")
from .emacs I have
$ time emacs --kill
real 0m0.570s
user 0m0.320s
sys 0m0.024s
Offline
OK i solved it... I had misspelled the hostname in /etc/hosts thanks for your help everyone
charlie dont surf!
Offline
can u please write exactly how your /etc/hosts looks like?
Offline
127.0.0.1 localhost.localdomain localhost
192.168.101.55 morticia.addams morticia # had spelled it moritcia
I had also set the hostname in rc.conf to morticia like this
HOSTNAME="morticia"
charlie dont surf!
Offline
if you're using network profiles for your network config, make sure the hostname entry is commented out there.
Offline