unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chad Brown <yandros@MIT.EDU>
To: Yoni Rabkin <yoni@rabkins.net>
Cc: emacs-devel@gnu.org
Subject: Re: improving network utility calls in lisp/net/net-utils.el
Date: Fri, 10 Apr 2009 17:42:21 -0700	[thread overview]
Message-ID: <0766365C-9A72-4AD7-B808-B8DF141F105D@mit.edu> (raw)
In-Reply-To: <873acgqkk9.fsf@rabkins.net>

I suspect it comes down to usage patterns, but if something is wrong  
(network-wise), then the following two things happen:

a) people are more likely to want to use the commands
b) the commands are more likely to hang, be slow, etc.

In particular, it's really not hard to get into a situation where dns  
name resolution will fail, but won't give up for a couple minutes.   
Nobody wants emacs to hang for two minutes to tell them that  
something's broken, especially when they were originally asking  
because something looked to be broken.

Back when I had to care about such things professionally, I took to  
using a program called mtr to check on such situations.  I would have  
preferred to use something built into emacs, until the first time it  
made emacs hang.  Put another way, my former self would have been  
quite happy to see your proposal as long as it didn't require  
synchronized processes.  I imagine that there are still quite a few  
people in my former boat, so don't get discouraged.  It shouldn't be  
hard to made it work with an async process, and afterward you will  
have learned (assuming you don't already know) something cool about  
emacs.

Regardless, thanks for your efforts to improve emacs.
*chad




  reply	other threads:[~2009-04-11  0:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10 13:18 improving network utility calls in lisp/net/net-utils.el Yoni Rabkin
2009-04-10 13:25 ` Stefan Monnier
2009-04-10 14:09   ` Yoni Rabkin
2009-04-10 16:40     ` David De La Harpe Golden
2009-04-10 17:55       ` Yoni Rabkin
2009-04-10 20:10         ` David De La Harpe Golden
2009-04-10 21:13           ` Yoni Rabkin
2009-04-11  0:42             ` Chad Brown [this message]
2009-04-10 22:13         ` Stefan Monnier
2009-04-11  8:47           ` Yoni Rabkin
2009-04-11  9:02             ` Eli Zaretskii
2009-04-11  9:17               ` Yoni Rabkin
2009-04-11 12:39                 ` Stefan Monnier
2009-07-16 19:52                   ` Yoni Rabkin
2009-07-26  8:02                     ` Yoni Rabkin
2009-08-02 19:21                     ` Yoni Rabkin
2009-08-02 22:34                       ` Chong Yidong
2009-08-08  8:05                         ` Yoni Rabkin
2009-08-08 18:27                           ` Chong Yidong
2009-04-10 19:34     ` Dan Nicolaescu
2009-04-10 22:14       ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0766365C-9A72-4AD7-B808-B8DF141F105D@mit.edu \
    --to=yandros@mit.edu \
    --cc=emacs-devel@gnu.org \
    --cc=yoni@rabkins.net \
    /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 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).