From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Novak Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Thu, 20 Apr 2006 11:05:19 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1145556343 32671 80.91.229.2 (20 Apr 2006 18:05:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Apr 2006 18:05:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 20 20:05:41 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 1FWdX7-0001Ya-75 for ged-emacs-devel@m.gmane.org; Thu, 20 Apr 2006 20:05:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWdX6-0006vQ-W0 for ged-emacs-devel@m.gmane.org; Thu, 20 Apr 2006 14:05:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FWdWv-0006vE-G7 for emacs-devel@gnu.org; Thu, 20 Apr 2006 14:05:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FWdWt-0006v1-7N for emacs-devel@gnu.org; Thu, 20 Apr 2006 14:05:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FWdWt-0006uy-0a for emacs-devel@gnu.org; Thu, 20 Apr 2006 14:05:23 -0400 Original-Received: from [128.114.23.204] (helo=smtp.ucolick.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FWdYG-00068T-9L for emacs-devel@gnu.org; Thu, 20 Apr 2006 14:06:48 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by smtp.ucolick.org (Postfix) with ESMTP id 07A145D715 for ; Thu, 20 Apr 2006 11:05:20 -0700 (PDT) Original-Received: from euterpe.local (dionysus.ucolick.org [128.114.22.17]) by smtp.ucolick.org (Postfix) with ESMTP id 98A8811406 for ; Thu, 20 Apr 2006 11:05:19 -0700 (PDT) Original-To: emacs-devel@gnu.org In-Reply-To: (Ralf Angeli's message of "Wed, 19 Apr 2006 22:18:47 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) 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:53146 Archived-At: Ralf Angeli writes: > After some messing around I found the difference between between both > cases. Under Windows the process (e.g. openssl s_client) dies as soon > as the modem connection is closed while on GNU/Linux it is kept alive. > 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. I just wanted to add a bit of my own experience to this. I use Gnus to read mail under Emacs 21.4 and My IMAP server seems to be fond of closing the connection after a relatively short period of inactivity. This leads to the behavior noted -- Gnus seems to hang but C-g works. I usually deal with this by quitting and restarting Gnus one or two times, or else searching for the gnutls process and killing it from the command line. Perhaps there could be a short timeout (like 10 seconds) after which Emacs asks "The connection looks like it might be dead--kill it and start a new one? (y/n)" Most of my Emacs work is done using a recent CVS build of the Carbon port. I used to read mail with Gnus using this copy of Emacs, but I _have_ experienced hangs that are unbreakable with C-g. This was sufficiently annoying that I just run the 21.4 version of Emacs for mail and nothing else. Under 21.4, I've never experienced an unbreakable hang in Gnus. All of this is on OS X 10.4 using the Fink build of Emacs 21.4 and some (more or less randomly updated) Carbon build of Emacs from CVS. Greg