From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76480 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: allowing nntp access timeout Date: Tue, 08 Feb 2011 17:31:06 +0800 Message-ID: <87pqr2g9et.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1297157497 11161 80.91.229.12 (8 Feb 2011 09:31:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2011 09:31:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24829@lists.math.uh.edu Tue Feb 08 10:31:32 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pmjv0-00037E-Q9 for ding-account@gmane.org; Tue, 08 Feb 2011 10:31:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pmjuy-0003eQ-6O; Tue, 08 Feb 2011 03:31:28 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pmjux-0003eE-2Z for ding@lists.math.uh.edu; Tue, 08 Feb 2011 03:31:27 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pmjuu-00054S-FK for ding@lists.math.uh.edu; Tue, 08 Feb 2011 03:31:26 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pmjus-0001um-AR for ding@gnus.org; Tue, 08 Feb 2011 10:31:22 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pmjur-00032S-Vz for ding@gnus.org; Tue, 08 Feb 2011 10:31:21 +0100 Original-Received: from 123.121.213.46 ([123.121.213.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Feb 2011 10:31:21 +0100 Original-Received: from eric by 123.121.213.46 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Feb 2011 10:31:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.213.46 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:fd/stc24X1ntvkK6kVbhO0EQAo0= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76480 Archived-At: My primary select method is nntp, secondary includes an nnml server that gets mail vs POP3. When getting new messages the nntp access stage often hangs with the message "Checking new news…", and then stays there indefinitely. I once let it sit there all night, just to see if it would. I have to cancel out with "C-g" and try again. This has to have something to do with my internet connection. I've noticed it happens more often the first time I wake the computer or re-connect to the internet. After that it still happens, but not so much. Also, while I was in the US over the summer, it happened less. Now I'm back in China, where the connection is slower and also subject to, um, "interference", and it happens more often than not. Is there a way to tell gnus to bail on nntp after a set number of seconds? When the connection works it almost always works within the first two seconds. Or, if there's a way I can get a more fine-grained view of what's going wrong, maybe there's a way to actually "solve" the problem? *gnus trace* doesn't tell me anything that the message buffer doesn't. Ideally, a timeout wouldn't trigger the server going offline, since it's likely to work correctly the next time I check for new messages, though I recognize the sensible thing to do would be to set it offline after a timeout… Any hints would be welcome! Eric