* [BUG] emacs can't startup when network down.
@ 2009-02-22 0:29 S.P.Tseng
2009-02-22 1:54 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: S.P.Tseng @ 2009-02-22 0:29 UTC (permalink / raw)
To: emacs-devel
$ cd ~/src/emacs/src
$ ./emacs -q
Unplug Ethernet cable, `./emacs -Q' nothing happen just freeze. Plug Ethernet
cable, emacs startup normally.
Unplug Ethernet && /etc/init.d/net.eth0 (gentoo), `./emacs -Q' startup normally.
Does emacs attempt to connect network when startup?
version: GNU Emacs 23.0.90.1 (x86_64-unknown-linux-gnu) of 2009-02-22
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] emacs can't startup when network down.
2009-02-22 0:29 [BUG] emacs can't startup when network down S.P.Tseng
@ 2009-02-22 1:54 ` Stefan Monnier
2009-02-22 14:35 ` Richard M Stallman
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2009-02-22 1:54 UTC (permalink / raw)
To: S.P.Tseng; +Cc: emacs-devel
> Does Emacs attempt to connect network when startup?
Emacs tries to determine the hostname of the machine on which it runs.
So if your DNS setup specifies a server that's not reachable, you'll get
such timeouts,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] emacs can't startup when network down.
2009-02-22 1:54 ` Stefan Monnier
@ 2009-02-22 14:35 ` Richard M Stallman
2009-02-24 21:44 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Richard M Stallman @ 2009-02-22 14:35 UTC (permalink / raw)
To: Stefan Monnier; +Cc: deftsp, emacs-devel
Emacs tries to determine the hostname of the machine on which it runs.
So if your DNS setup specifies a server that's not reachable, you'll get
such timeouts,
I wonder if there is anything Emacs can do to avoid hanging
in such cases. Perhaps to make it time out.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] emacs can't startup when network down.
2009-02-22 14:35 ` Richard M Stallman
@ 2009-02-24 21:44 ` Stefan Monnier
2009-02-26 7:53 ` Richard M Stallman
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2009-02-24 21:44 UTC (permalink / raw)
To: rms; +Cc: deftsp, emacs-devel
> Emacs tries to determine the hostname of the machine on which it runs.
> So if your DNS setup specifies a server that's not reachable, you'll get
> such timeouts,
> I wonder if there is anything Emacs can do to avoid hanging
> in such cases. Perhaps to make it time out.
IIUC it does timeout after a minute or two.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [BUG] emacs can't startup when network down.
2009-02-24 21:44 ` Stefan Monnier
@ 2009-02-26 7:53 ` Richard M Stallman
0 siblings, 0 replies; 5+ messages in thread
From: Richard M Stallman @ 2009-02-26 7:53 UTC (permalink / raw)
To: Stefan Monnier; +Cc: deftsp, emacs-devel
IIUC it does timeout after a minute or two.
Can we make it display a message after 10 seconds?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-26 7:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-22 0:29 [BUG] emacs can't startup when network down S.P.Tseng
2009-02-22 1:54 ` Stefan Monnier
2009-02-22 14:35 ` Richard M Stallman
2009-02-24 21:44 ` Stefan Monnier
2009-02-26 7:53 ` Richard M Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.