From: Daniel Pittman <daniel@rimspace.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs slow away from home
Date: Tue, 24 Aug 2010 22:36:33 +1000 [thread overview]
Message-ID: <87pqx8mbla.fsf@rimspace.net> (raw)
In-Reply-To: 4C73B592.7070104@smartchat.net.au
Ron House <rhouse@smartchat.net.au> writes:
> On 24/08/10 18:03, Daniel Pittman wrote:
>> Ron House<rhouse@smartchat.net.au> writes:
>>
>>> I have been using emacs on my laptop under linux for a long time, but I have
>>> just noticed that if I open emacs when I am away from home, it takes something
>>> like 2 minutes or more to start up. At home it is a second or two.
>>
>> DNS on your laptop is broken: Emacs is trying to resolve something, probably
>> the FQDN to an address, or the address to an FQDN, that takes that long to
>> time-out.
>
> Thanks Daniel, I know stuff will break when I go outside the limits of the
> LAN, but as I said, all I use emacs for is to edit files.
Ah, sorry, I wasn't clear: this does not *have* to break when you are outside
your LAN. My laptop doesn't, for example, which is good.
> My problem is, how do I turn off whatever it is trying to do (since I won't
> be needing the results of its doings anyway)?
Some of these things happen inside glibc, I am afraid, so the answer is
typically "with difficulty". I don't know specifically what in Emacs is
triggering the behaviour, though.
I would suggest ensuring that your host has an entry in /etc/hosts for the
hostname you use, though, which should reduce the problem. Alternately, you
could tune down the DNS lookup time.
> As it happens, I was trying to edit the files to get the network going
> elsewhere, and the 2 minute delay each time was really funny, in an annoying
> fashion.
All die. Oh, the embarrassment. ;)
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
next prev parent reply other threads:[~2010-08-24 12:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 4:07 Emacs slow away from home Ron House
2010-08-24 8:03 ` Daniel Pittman
2010-08-24 12:05 ` Ron House
2010-08-24 12:36 ` Daniel Pittman [this message]
[not found] ` <mailman.1.1282654331.18064.help-gnu-emacs@gnu.org>
2010-08-24 13:10 ` rustom
[not found] ` <mailman.0.1282651545.18064.help-gnu-emacs@gnu.org>
2010-08-24 15:45 ` David Kastrup
2010-09-01 11:16 ` Steinar Bang
[not found] ` <4C7380C7.9010108@no8wireless.co.nz>
2010-08-24 12:00 ` Ron House
2010-08-25 21:55 ` Dirk-Jan C. Binnema
[not found] <mailman.7.1282634955.21491.help-gnu-emacs@gnu.org>
2010-08-24 8:48 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqx8mbla.fsf@rimspace.net \
--to=daniel@rimspace.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.