From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/218 Path: news.gmane.org!not-for-mail From: "A. L. Meyers" Newsgroups: gmane.emacs.gnus.user Subject: Re: recovery from disconnection without restarting gnus ? Date: Thu, 04 Apr 2002 20:14:52 +0200 Organization: Meyers Consulting http://www.consult-meyers.com Message-ID: <87it77qqjn.fsf@nomad.consult-meyers.com> References: <878z83zii3.fsf@landhaus.consult-meyers.com> Reply-To: "A. Lucien Meyers" NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667280 6058 80.91.229.2 (31 Jan 2006 00:28:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:28:00 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:16 2006 Original-Path: quimby.gnus.org!lackawana.kippona.com!news.stealth.net!news.stealth.net!news-out.nuthinbutnews.com!feed-ev1!propagator-sterling!news-in.nuthinbutnews.com!newsfeed-zh.ip-plus.net!news.ip-plus.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Sender: alm@nomad.consult-meyers.com Original-NNTP-Posting-Host: megazh-d-29.agrinet.ch Original-X-Trace: rex.ip-plus.net 1017944090 16062 212.28.158.29 (4 Apr 2002 18:14:50 GMT) Original-X-Complaints-To: abuse@ip-plus.net Original-NNTP-Posting-Date: Thu, 4 Apr 2002 18:14:50 +0000 (UTC) X-Accept-Language: de en fr it User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:MRB3+/6+NNR3mJ54OxXfoTCg/dY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:358 Original-Lines: 37 X-Gnus-Article-Number: 358 Tue Jan 17 17:27:16 2006 Xref: news.gmane.org gmane.emacs.gnus.user:218 Archived-At: prj@po.cwru.edu (Paul Jarc) writes: > "A. L. Meyers" wrote: >> Hi! After 5 minutes of idle time the network disconnects from the ISP >> and reconnects on demand. Occasionally composing a message takes longer >> than 5 minutes and the network meanwhile disconnects. I have encountered >> the following behaviour from Gnus in such cases: >> >> 1. sending the message does not complete, although the network quickly >> establishes a new connection; I have to interrupt the send attempt >> with C-g . > > You could add something like this to message-send-hook: > (defun alm:revive-network () > (shell-command-to-string "ping -c 4 www.gnus.org")) Follow you vaguely, Paul, but not with certitude. My understanding: insert this code into the variable message-send-hook substituting my ISP for www.gnus.org. Am I reading you? > This way, the network will (hopefully) already be back up by the time > Gnus tries to use it. > >> 2. I must exit Gnus, which asks me to confirm not to kill the message >> draft buffer with "no". > > Why must you exit Gnus? AFAICS Gnus wants to be started during the current network connection to the ISP. Otherwise Gnus will not complete message sending. Lucien -- If you receive this by error, please delete it and inform the sender. PGP Key fingerprint=F1C0 D9AE 1B18 1405 4DFA B4CC 6DC7 FF78 C76E FB15 To Big Brother Echelon from "spook": counter-intelligence South Africa radar GWB KGB Delta Force nuclear NSA