From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer Date: Sun, 02 May 2021 09:57:19 -0700 Message-ID: <87im41ul8w.fsf@ericabrahamsen.net> References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9317"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 47478@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 02 18:58:32 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldFQO-0002JI-Mb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 18:58:32 +0200 Original-Received: from localhost ([::1]:42590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldFQN-0000Zl-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 12:58:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldFPu-0000Up-Va for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 12:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldFPt-0004Gb-Vg for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 12:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldFPt-0004wV-UQ for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 12:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 May 2021 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47478 X-GNU-PR-Package: emacs Original-Received: via spool by 47478-submit@debbugs.gnu.org id=B47478.161997464818988 (code B ref 47478); Sun, 02 May 2021 16:58:01 +0000 Original-Received: (at 47478) by debbugs.gnu.org; 2 May 2021 16:57:28 +0000 Original-Received: from localhost ([127.0.0.1]:43708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldFPM-0004wC-5I for submit@debbugs.gnu.org; Sun, 02 May 2021 12:57:28 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:35294 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldFPL-0004vk-3M for 47478@debbugs.gnu.org; Sun, 02 May 2021 12:57:27 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 862FDFA0EC; Sun, 2 May 2021 16:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1619974640; bh=CS6m+Dgu7M1aofcn9la3O3Ct7TlAAgmI897f0WeDcc0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=yDL3Rmy879kqph+kmlArJSzW+09x49BJUUQT4C0pNuQCWcIqfvGVm1n3Ou+9xisGq eB6gHEykfV6VvzEyzgMR7fAdk9lC2lwSWyHFDkq4T0fC9Nj8TsDguxFi8gr2sE5yKR +INXphh3Xe5mR5jG/4XiRyohBZBDnirov5JYWCS8= In-Reply-To: <87a6pdmxv1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 02 May 2021 08:52:02 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205442 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> Bob Newell requested the ability to customize the >> `nnimap-keepalive-timer', and I've opened this bug report with a patch >> that adds a new `nnimap-keepalive-times' customization option. >> >> It lets you customize both function interval and period of inactivity, >> or you can set it to nil to disable the keepalive altogether. > > Sure; makes sense. Cool. In the meantime I've come to prefer the name `nnimap-keepalive-intervals', if that's all right. I'll add this to the manual, as well. Do you think it should be a defvoo, or a regular customization option? >> I also sneaked in a little extra change: since we provided the option to >> use Dbus to close Gnus servers when your machine is going to sleep, I've >> noticed that sometimes (more often than you'd think) I seem to be >> sleeping the machine in between sending the keepalive NOOP and receiving >> the response. > > I think that should be OK -- when we're looking for responses, we use > tags, so the response from the NOOP shouldn't confuse anything. > (Hopefully.) Hopefully!