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: Wed, 23 Aug 2006 10:45:30 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1156344454 6178 80.91.229.2 (23 Aug 2006 14:47:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 14:47:34 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 23 16:47:32 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 1GFu0h-0003mN-9c for ged-emacs-devel@m.gmane.org; Wed, 23 Aug 2006 16:47:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFu0g-0003AY-OH for ged-emacs-devel@m.gmane.org; Wed, 23 Aug 2006 10:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFtz3-0002Wp-C6 for emacs-devel@gnu.org; Wed, 23 Aug 2006 10:45:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFtz2-0002WL-TR for emacs-devel@gnu.org; Wed, 23 Aug 2006 10:45:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFtz2-0002W6-7R for emacs-devel@gnu.org; Wed, 23 Aug 2006 10:45:32 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFu6t-0003Nx-0D for emacs-devel@gnu.org; Wed, 23 Aug 2006 10:53:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GFtz0-0006XP-K4; Wed, 23 Aug 2006 10:45:30 -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:58769 Archived-At: > That means after reconnecting to the internet under Windows a new > process is started which has no problem communicating to the server > while on GNU/Linux the old one is reused which obviously cannot cope > with the new internet connection. But Emacs should still respond to C-g in this case ... or? Yes--if C-g fails to work, it is a bug. So we need to determine WHY it fails to work. Perhaps wait_reading_process_output, when called on behalf of accept-process-output, fails to take note of quit-flag. Can someone please investigate whether that is true? > I am not sure what the right course of action on GNU/Linux would be to > remedy the problem. Should programs like openssl die when the > internet connection is being closed? Or renegotiate a connection? I don't know whether openssl can keep working when a phone connection drops and is reestablished, but I have seen scp connections keep working when I removed and then reinserted a Wifi card. These cases are not the same but they are analogous; if the openssl/phone case does not work now, it ought to work. I see similar problems connection to one of the news servers at my ISP. I just interrupt Gnus, and make anoter refresh -- I guess Gnus could just as well do this automatically if there is no response from the server it used last time. I don't entirely understand that proposal. Does it aim to work around the failure of C-g? Does it aim to DTRT without need to type C-g? If openssl could resume its connection when you reconnect the phone line, would that make this proposal unnecessary? Would that make this proposal undesirable or incorrect?