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:08:18 -0700 Message-ID: <878s52j9ct.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="29091"; 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:09:19 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 1lbtJ0-0007SE-CM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 01:09:18 +0200 Original-Received: from localhost ([::1]:43584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbtIy-0004CK-HG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 19:09:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbtIl-0004Bs-7z for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:09:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbtIj-0003Zn-QR for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbtIj-0007pi-LK for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 19:09:01 -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:09: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.161965131330068 (code B ref 47478); Wed, 28 Apr 2021 23:09:01 +0000 Original-Received: (at 47478) by debbugs.gnu.org; 28 Apr 2021 23:08:33 +0000 Original-Received: from localhost ([127.0.0.1]:54335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtIG-0007ou-KJ for submit@debbugs.gnu.org; Wed, 28 Apr 2021 19:08:32 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:58276 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbtIA-0007oa-Dc for 47478@debbugs.gnu.org; Wed, 28 Apr 2021 19:08:30 -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 35449FA094 for <47478@debbugs.gnu.org>; Wed, 28 Apr 2021 23:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1619651300; bh=/cHDHePg6VH9p8xGZLWJB1TbfKrjkhvAv5tUshrroH8=; h=From:To:Subject:References:Date:From; b=EsgRXK6/233U4gQFTDwcQHzqcEDXVbcJGc37lcJz+BZUwFHIw6Dh1eOdoMDjAhFR/ G7OvtY6Sblww9BiM5Fqo09aNEpEArBgIL4RAP4CLXrX5kfAIrSN4zb17M499ptESRz sgdyLSL5cw1qh8cJ6KfS3Csyg0MzzhxP+2wJQ1m4= 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:205146 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