unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts)
@ 2014-07-29  7:21 Petr Hracek
  2014-07-30  0:06 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Hracek @ 2014-07-29  7:21 UTC (permalink / raw)
  To: 18142

Dear emacs users/developers,

https://bugzilla.redhat.com/show_bug.cgi?id=923418

I have a question. I know that emacs does not modify hostname.
That's correct.

But my question is whether emacs can check validity of hostname during start
and in case of failure inform user that hostname is wrong.

Greetings

-- 
Best regards / S pozdravem
Petr Hracek






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts)
  2014-07-29  7:21 bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts) Petr Hracek
@ 2014-07-30  0:06 ` Glenn Morris
  2014-08-06 17:07   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2014-07-30  0:06 UTC (permalink / raw)
  To: Petr Hracek; +Cc: 18142

Petr Hracek wrote:

> https://bugzilla.redhat.com/show_bug.cgi?id=923418
>
> I have a question. I know that emacs does not modify hostname.
> That's correct.
>
> But my question is whether emacs can check validity of hostname during start
> and in case of failure inform user that hostname is wrong.

There's been an etc/PROBLEMS entry about this for at least a decade, so
my guess is: no.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts)
  2014-07-30  0:06 ` Glenn Morris
@ 2014-08-06 17:07   ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2014-08-06 17:07 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 18142

>> https://bugzilla.redhat.com/show_bug.cgi?id=923418
>> I have a question. I know that emacs does not modify hostname.
>> That's correct.
>> But my question is whether emacs can check validity of hostname during start
>> and in case of failure inform user that hostname is wrong.
> There's been an etc/PROBLEMS entry about this for at least a decade, so
> my guess is: no.

Tho, maybe we could add code that (heuristically) detects when we get
a timeout, and then emits a message pointing to the likely culprit.


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-06 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29  7:21 bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts) Petr Hracek
2014-07-30  0:06 ` Glenn Morris
2014-08-06 17:07   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).