From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 13827 invoked from network); 30 Apr 2020 23:14:23 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 30 Apr 2020 23:14:23 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jUINS-0004ee-N0; Thu, 30 Apr 2020 18:13:58 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jUINP-0004br-Ga for ding@lists.math.uh.edu; Thu, 30 Apr 2020 18:13:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jUINO-0005Q8-9Q for ding@lists.math.uh.edu; Thu, 30 Apr 2020 18:13:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aRozxGDzusC1AeV/vKpDukUp5QgAq31Tnl+P3Jsm9Qg=; b=mjU55IzbNdknLVyvvTHxjqBFp1 TV9Gxs82YUXrtcC6WZ+2jGxIlKSJ7oTQUjmejHVDx0DcecRalYofn0NZZ17q01EOkfKqAlEj2pePO xAxorZGb+Vd895Tf5n/aloPSD/YYxs45WGg2/rxgcDnzsZiUzRrNd44mdD5hJijjTuCA=; Received: from ericabrahamsen.net ([52.70.2.18] helo=mail.ericabrahamsen.net) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUINH-0001k6-DV; Fri, 01 May 2020 01:13:50 +0200 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8364FFA028; Thu, 30 Apr 2020 23:13:43 +0000 (UTC) From: Eric Abrahamsen To: Lars Ingebrigtsen Cc: ding@gnus.org Subject: Re: new wifi connection = nntp timeout = Emacs restart? In-Reply-To: <87368kziq4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 01 May 2020 00:55:47 +0200") References: <87sgh3coxn.fsf@ericabrahamsen.net> <87o8rogew7.fsf@barthel.ch> <87zhb7mlf0.fsf@ericabrahamsen.net> <87a72t35ng.fsf@gnus.org> <87sggkeuvr.fsf@ericabrahamsen.net> <874kt01w30.fsf@gnus.org> <87r1w4boft.fsf@ericabrahamsen.net> <877dxwzjz6.fsf@gnus.org> <87mu6sbntb.fsf@ericabrahamsen.net> <87368kziq4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Thu, 30 Apr 2020 16:13:42 -0700 Message-ID: <87h7x0bm8p.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >>> Yes, that would be good. But we basically need the same machinery for >>> the general case, I think? >> >> But we don't actually have a general case, do we -- as you noted, nntp >> doesn't have a NOOP equivalent. Is there something else we can use? > > Not that general. :-) I mean -- for nnimap.el, and the "general" thing > is "there should be a timeout on commands". > > So an nnimap-keepalive timeout should use the same mechanism as the > proposed NOOP-command-prepend mechanism. Oh I see. I was assuming that adding connection closing to nnimap-keepalive would make the NOOP-prepend mechanism unnecessary. Seems like we'd only need one of the two, so long as whatever it was came with teeth (closing the connection).