From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Fri, 25 Aug 2006 16:23:41 -0400 Message-ID: References: <17645.6709.53699.324551@rgrjr.dyndns.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1156537517 19660 80.91.229.2 (25 Aug 2006 20:25:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Aug 2006 20:25:17 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, rogers-emacs@rgrjr.dyndns.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 25 22:25:16 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGiEs-0007ct-3b for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2006 22:25:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGiEr-00071j-JH for ged-emacs-devel@m.gmane.org; Fri, 25 Aug 2006 16:25:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGiDP-0005Gj-4A for emacs-devel@gnu.org; Fri, 25 Aug 2006 16:23:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGiDO-0005FT-9J for emacs-devel@gnu.org; Fri, 25 Aug 2006 16:23:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGiDO-0005Ew-5Q for emacs-devel@gnu.org; Fri, 25 Aug 2006 16:23:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGiLk-00030R-0G for emacs-devel@gnu.org; Fri, 25 Aug 2006 16:32:20 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GGiDN-00043b-2M; Fri, 25 Aug 2006 16:23:41 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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:58874 Archived-At: Start a timer when it tries to open/use the connection. If connection is opened/response is received, cancel the timer. If timer runs out, close the connection and try again. If Gnus operations that use the connection always involve small amounts of data, so that restarting one is never a big loss, then it is ok to implement this strategy. By contrast, restarting scp every time a connection drops would be a real disaster with Wifi (compared with resuming the transfer where it left off). If one of these Gnus operations can take a long time, then it is like the scp case, and we must not make Gnus automatically kill it and restart!