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: Wed, 28 Apr 2021 16:29:16 -0700 Message-ID: <8735vaj8dv.fsf@ericabrahamsen.net> References: <87wntqgca7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38564"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 47478@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 29 01:30:13 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 1lbtdF-0009x7-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 01:30:13 +0200 Original-Received: from localhost ([::1]:51358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbtdE-0000KJ-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 19:30:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbtd5-0000K8-7d for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbtd4-0006pA-W8 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbtd4-0008T8-Q5 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:30:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87wntqgca7.fsf@ericabrahamsen.net> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 23:30:02 +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.161965256732475 (code B ref 47478); Wed, 28 Apr 2021 23:30:02 +0000 Original-Received: (at 47478) by debbugs.gnu.org; 28 Apr 2021 23:29:27 +0000 Original-Received: from localhost ([127.0.0.1]:54419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtcU-0008Rj-Rq for submit@debbugs.gnu.org; Wed, 28 Apr 2021 19:29:27 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:58714 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtcT-0008RS-1a for 47478@debbugs.gnu.org; Wed, 28 Apr 2021 19:29:25 -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 49B95FA094 for <47478@debbugs.gnu.org>; Wed, 28 Apr 2021 23:29:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1619652558; bh=/cHDHePg6VH9p8xGZLWJB1TbfKrjkhvAv5tUshrroH8=; h=From:To:Subject:References:Date:From; b=xRvmObq7sJuH83HqQuFiBZw5FB/NqqTeqcLX/yHCL6EuhomjCoq6ZNqJ9w/F9Dt1Z hcNah02EtmF3besc+05vCzqrJv7Hg40HftPE0gsTBs8cQEb6d57kZNMD8hKgbboLtk BkyVGcTHrWC8XVVbJvmxdj51Sw3Wbiev7Sv7fNf8= 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:205147 Archived-At: A gentle bump. Lars, do you have any thoughts on this? In the interim I've started to dislike `nnimap-keepalives-times' as the option name, but haven't come up with anything better. 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. > > 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. > > When the computer wakes, Emacs is hung while Gnus waits on an OK that > isn't coming, and I need to C-g to get out of it. I would have thought > this was a pretty small target to hit, particular since my imap servers > are all on this computer, but it happens quite often. So this patch also > lets `nnimap-streaming' to t around the keepalive command, so we don't > wait for the response. Semantically incorrect, but the effect is right. > > If this is acceptable I can add a NEWS entry (and maybe the manual as > well?). > > Eric