From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: improving network utility calls in lisp/net/net-utils.el Date: Fri, 10 Apr 2009 20:55:41 +0300 Message-ID: <87eiw0v1eq.fsf@rabkins.net> References: <87ljq8lk9u.fsf@rabkins.net> <87y6u8k3bo.fsf@rabkins.net> <49DF7679.20700@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239386017 14509 80.91.229.12 (10 Apr 2009 17:53:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2009 17:53:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 10 19:54:56 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LsKw5-0006AJ-FI for ged-emacs-devel@m.gmane.org; Fri, 10 Apr 2009 19:54:41 +0200 Original-Received: from localhost ([127.0.0.1]:52149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsKuh-000315-39 for ged-emacs-devel@m.gmane.org; Fri, 10 Apr 2009 13:53:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsKu2-0002ML-DU for emacs-devel@gnu.org; Fri, 10 Apr 2009 13:52:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsKtw-0002BQ-In for emacs-devel@gnu.org; Fri, 10 Apr 2009 13:52:33 -0400 Original-Received: from [199.232.76.173] (port=55700 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsKtw-0002B0-F9 for emacs-devel@gnu.org; Fri, 10 Apr 2009 13:52:28 -0400 Original-Received: from mailgw.comm.net.il ([193.238.208.251]:53424) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LsKtv-0001r3-JT for emacs-devel@gnu.org; Fri, 10 Apr 2009 13:52:28 -0400 Original-Received: from comm.net.il ([193.238.208.2]) by mailgw.comm.net.il (8.14.1/8.14.1) with ESMTP id n3AJIkbX022475 for ; Fri, 10 Apr 2009 22:18:46 +0300 Original-Received: from ardbeg.rabkins.net ([62.56.255.2]) by gondor.icomm.co.il with MailEnable ESMTP; Fri, 10 Apr 2009 20:53:34 +0200 X-Ethics: Use GNU In-Reply-To: <49DF7679.20700@harpegolden.net> (David De La Harpe Golden's message of "Fri, 10 Apr 2009 17:40:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110189 Archived-At: David De La Harpe Golden writes: > Yoni Rabkin wrote: > >> The attached patch runs netstat asynchronously and all of the >> essentially instantaneous processes synchronously (ifconfig, iwconfig, >> arp and route). >> > > Only "near-instant" if your network isn't somehow acting up, sorry, > async is just the Right Thing here. As a user of both Dired and Gnus I'm well accustomed to waiting for Emacs to synchronously go fetch something. I agree to wait because of the quality of the interface I'll get when the process is done. I won't argue about the other processes since they aren't important to me (and I had no idea they could hang that long). Is there any reason to abandon ifconfig and iwconfig? Don't both always run and exit exceedingly fast? As an additional selling point I'll add that this would bring at least those two to look and behave like conventional Emacs pop-up windows(*). * I get annoyed whenever I press "q" in a pop-up buffer and instead of the window going away, the letter "q" appears after point. I think that pop-ups by definition should be easy to get rid of or shouldn't be pop-ups in the first place. -- "Cut your own wood and it will warm you twice"