From unknown Fri Aug 15 12:52:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47478 <47478@debbugs.gnu.org> To: bug#47478 <47478@debbugs.gnu.org> Subject: Status: 28.0.50; Provide customization option for nnimap-keepalive-timer Reply-To: bug#47478 <47478@debbugs.gnu.org> Date: Fri, 15 Aug 2025 19:52:35 +0000 retitle 47478 28.0.50; Provide customization option for nnimap-keepalive-ti= mer reassign 47478 emacs submitter 47478 Eric Abrahamsen severity 47478 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 29 12:22:55 2021 Received: (at submit) by debbugs.gnu.org; 29 Mar 2021 16:22:55 +0000 Received: from localhost ([127.0.0.1]:49407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQufH-0003KQ-FC for submit@debbugs.gnu.org; Mon, 29 Mar 2021 12:22:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:35272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQufE-0003KF-Gm for submit@debbugs.gnu.org; Mon, 29 Mar 2021 12:22:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQufE-0008UZ-3s for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 12:22:52 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:40694 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQufC-0000cf-4v for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 12:22:51 -0400 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 1F4B6FA099 for ; Mon, 29 Mar 2021 16:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1617034962; bh=INqnRVumzspDoT2vVNqwRtZJ4zJRXprG3c7U5A6IrfY=; h=From:To:Subject:Date:From; b=NieMz/UigIGKia2VE9hDxSKtbCEkFmYFRIWky5lCeN3dnLR8sW5TjERf2lPTrv7CK VXCFoHkqic6TVnVHSdBMkceHWUqFYq+f9RUUQX+pVE9akStchGPXwjX0GFS5fviuNE APOyfCGhggcs9bRM3N9DhShRD5HuJnA8xw8O9C/k= From: Eric Abrahamsen To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Provide customization option for nnimap-keepalive-timer Date: Mon, 29 Mar 2021 09:22:40 -0700 Message-ID: <87wntqgca7.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=nnimap-keepalive-customization.diff diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 93e1c47be7..7017bf192e 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -156,6 +156,24 @@ nnimap-split-download-body :version "28.1" :type 'boolean) +(defcustom nnimap-keepalive-times (cons (* 60 15) + (* 5 60)) + "Configuration for the nnimap keepalive timer. +The value is a cons of two integers (each representing a number +of seconds): the first is how often to run the keepalive +function, the second is the seconds of inactivity required to +send the actual keepalive command. + +For example, the default (900 . 300) means to run the check every +fifteen minutes and, if the user has been inactive for five +minutes, send the keepalive command. + +Set to nil to disable keepalive commands altogether." + :version "28.1" + :type '(choice (const :tag "disable" nil) + (cons (integer :tag "timer interval") + (integer :tag "seconds of inactivity")))) + (defvar nnimap--split-download-body nil "Like `nnimap-split-download-body', but for internal use.") @@ -405,15 +423,16 @@ nnimap-credentials nil))) (defun nnimap-keepalive () - (let ((now (current-time))) + (let ((now (current-time)) + ;; Set this so we don't wait for a response. + (nnimap-streaming t)) (dolist (buffer nnimap-process-buffers) (when (buffer-live-p buffer) (with-current-buffer buffer (when (and nnimap-object (nnimap-last-command-time nnimap-object) (time-less-p - ;; More than five minutes since the last command. - (* 5 60) + (cdr nnimap-keepalive-times) (time-subtract now (nnimap-last-command-time nnimap-object)))) @@ -447,8 +466,10 @@ nnimap-map-port port)) (defun nnimap-open-connection-1 (buffer) - (unless nnimap-keepalive-timer - (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15) + (unless (or nnimap-keepalive-timer + (null nnimap-keepalive-times)) + (setq nnimap-keepalive-timer (run-at-time (car nnimap-keepalive-times) + (car nnimap-keepalive-times) #'nnimap-keepalive))) (with-current-buffer (nnimap-make-process-buffer buffer) (let* ((coding-system-for-read 'binary) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 28 19:08:33 2021 Received: (at 47478) by debbugs.gnu.org; 28 Apr 2021 23:08:33 +0000 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 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 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= From: Eric Abrahamsen To: 47478@debbugs.gnu.org Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 28 Apr 2021 16:08:18 -0700 Message-ID: <878s52j9ct.fsf@ericabrahamsen.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47478 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 28 19:29:27 2021 Received: (at 47478) by debbugs.gnu.org; 28 Apr 2021 23:29:27 +0000 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 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 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= From: Eric Abrahamsen To: 47478@debbugs.gnu.org Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> Date: Wed, 28 Apr 2021 16:29:16 -0700 Message-ID: <8735vaj8dv.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47478 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 02 02:52:13 2021 Received: (at 47478) by debbugs.gnu.org; 2 May 2021 06:52:13 +0000 Received: from localhost ([127.0.0.1]:40892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ld5xd-0002ef-Bk for submit@debbugs.gnu.org; Sun, 02 May 2021 02:52:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ld5xb-0002eZ-Na for 47478@debbugs.gnu.org; Sun, 02 May 2021 02:52:12 -0400 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:In-Reply-To:Date: References: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=KvFGv6jbK+BdCMiLcutxVgdTgbhVjrCufLMcM+DgwVA=; b=jKCwISC9i2RdZRLdHUjhcAZ3jV TvoEiOHirIMKmL+Hv1dXmjzN3Guy8qsWOi33xGl2Gycn5txiRttSeViIuKgnMpkJZ+eO4VdzYZ1Pp Ttu+lyh9ZOO6RcGIk1e8xYsyXkiiVRq6hYMZnI5pXbRvFicc1nXgu/Zut2u4HYUz9MkU=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ld5xS-0003WL-SX; Sun, 02 May 2021 08:52:05 +0200 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> X-Now-Playing: Working Week's _Working Nights_: "Venceremos" Date: Sun, 02 May 2021 08:52:02 +0200 In-Reply-To: <87wntqgca7.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 29 Mar 2021 09:22:40 -0700") Message-ID: <87a6pdmxv1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 let [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47478 Cc: 47478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. > 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.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 02 12:57:28 2021 Received: (at 47478) by debbugs.gnu.org; 2 May 2021 16:57:28 +0000 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 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 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= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> Date: Sun, 02 May 2021 09:57:19 -0700 In-Reply-To: <87a6pdmxv1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 02 May 2021 08:52:02 +0200") Message-ID: <87im41ul8w.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47478 Cc: 47478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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! From debbugs-submit-bounces@debbugs.gnu.org Mon May 03 05:02:00 2021 Received: (at 47478) by debbugs.gnu.org; 3 May 2021 09:02:00 +0000 Received: from localhost ([127.0.0.1]:46204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldUSm-0000ws-GS for submit@debbugs.gnu.org; Mon, 03 May 2021 05:02:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldUSk-0000rb-Qt for 47478@debbugs.gnu.org; Mon, 03 May 2021 05:01:59 -0400 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:In-Reply-To:Date: References: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=vstR4yjhG4/hM6WXjQ2VnYVORMrtOOuta9W9xAhtEH8=; b=TJT9JnHkoUGt2H8xLibsm/6yZj Bn+OzAfIRY5M+A3+fZOHoJrVkdKEOUKlJIQjlF100BXxekm2F6Hvlgfh+NmfzPQ8RXJwusRSuv78e pYFn1eScid/6S4NH7r+FykrjrgFEfZ8YmKpeXLeTquNx/VPIuGbCOs5O68hAXn03O/50=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldUSc-0002lS-Mz; Mon, 03 May 2021 11:01:53 +0200 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> <87im41ul8w.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX18e6IenU7KCq6 qqP////NhAZvAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UFAwgtITJYGwYAAAF1SURBVDjLnZRrloMg DIVD2YAJGzCwgdDsf29zA45infnT9Gg1H3kSJPpCWOoiysyiAwy91op3KLkQveoJtIm6O2V3I6oL 4KoFYOjTAgaDCfQOT3egbPjbwtPiSmrTZuMpfQDVsXbKLXj7A6jRG87JUcfdAu87kXWfIh+AjvQW C1wnuLmq/wFcrfOGarxH/DVGo7Q9LUquuyWT9wN43ayb9Bp1NFkAGpJ2YXkAaVT22kbheoENd9eC taOfi4UBNI+tD/a60rWuljmAyplViXidkmEi5tasLXFKvoUuVr0WgHGiXeoeJbZ0AI8oeEIG6rFv 7zmi1V7TokSmcraEIyR6mC2y6PyxH5hbnW2W+jlwI7nN+QEEHSyWDXs1gYxTAAs0tzg0uU+gA7Sw Mh+L0wUQOqatxWSdoHicgHASwxa36YpxKHCSMn4oPl8xmOdcTgNbY/ipyTdQfkEocdbyAU5PA4T4 BDeDKWkNbvRrmQ+LNz/lm0/PD+2LX9+nW6Z9AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTAz VDA4OjQ1OjMzKzAwOjAwv2JNrwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0wM1QwODo0NToz MyswMDowMM4/9RMAAAAASUVORK5CYII= X-Now-Playing: The Style Council's _The Complete Adventures (1)_: "The Paris Match" Date: Mon, 03 May 2021 11:01:50 +0200 In-Reply-To: <87im41ul8w.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 02 May 2021 09:57:19 -0700") Message-ID: <87v980chs1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Cool. In the meantime I've come to prefer the name > `nnimap-keepalive-intervals', if that's all right. Yes, even better. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47478 Cc: 47478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Abrahamsen writes: > Cool. In the meantime I've come to prefer the name > `nnimap-keepalive-intervals', if that's all right. Yes, even better. > I'll add this to the manual, as well. Do you think it should be a > defvoo, or a regular customization option? Probably a defvoo -- it's possible that people would want different timeouts for different servers. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon May 03 12:16:51 2021 Received: (at 47478) by debbugs.gnu.org; 3 May 2021 16:16:51 +0000 Received: from localhost ([127.0.0.1]:47275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbFa-0000Da-VG for submit@debbugs.gnu.org; Mon, 03 May 2021 12:16:51 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:37664 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbFZ-0000DU-BA for 47478@debbugs.gnu.org; Mon, 03 May 2021 12:16:50 -0400 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 DA30FFA023; Mon, 3 May 2021 16:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1620058602; bh=OTljn5dZpOPSq/rJ924nt8vKeoX81YvNUaXOIRPxe7s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bXexAWx/H5lgXKjEXIYbR9nxQNfKo9wp4fdq8iHvUeagSX7z24zup4fJqBf01Bpkq bfHVrlm+T/2Op/mkl0+li3K09M9DtmNiyr0XpCeaUvBwdIyoCVSwn1lDsYRLYBV+Ej RNXH07UJ+AI327T8u4PWsxj91uEr8G6mj8RVs004= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> <87im41ul8w.fsf@ericabrahamsen.net> <87v980chs1.fsf@gnus.org> Date: Mon, 03 May 2021 09:16:40 -0700 In-Reply-To: <87v980chs1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 03 May 2021 11:01:50 +0200") Message-ID: <87r1inu713.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47478 Cc: 47478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> Cool. In the meantime I've come to prefer the name >> `nnimap-keepalive-intervals', if that's all right. > > Yes, even better. > >> I'll add this to the manual, as well. Do you think it should be a >> defvoo, or a regular customization option? > > Probably a defvoo -- it's possible that people would want different > timeouts for different servers. Cool, here's what it looks like now. Eric --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-new-defvoo-nnimap-keepalive-intervals-to-Gnus-nn.patch >From 6cd184737b8f9318d5a2d2115721b8771436bd13 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Mon, 3 May 2021 09:14:24 -0700 Subject: [PATCH] Add new defvoo nnimap-keepalive-intervals to Gnus nnimap servers * lisp/gnus/nnimap.el (nnimap-keepalive-intervals): New per-server config for customizing when keepalive commands are sent. (nnimap-keepalive, nnimap-open-connection-1): Consult in these places. Additionally, use nnimap-streaming -> t when sending the keepalive NOOP, so we don't wait for the response. * doc/misc/gnus.texi (Customizing the IMAP Connection): Document. --- doc/misc/gnus.texi | 10 ++++++++++ lisp/gnus/nnimap.el | 26 ++++++++++++++++++++------ 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 869bb27266..71304dc008 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -14515,6 +14515,16 @@ Customizing the IMAP Connection and @samp{INBOX.Lists.emacs}, but you'd like the nnimap group names to be @samp{INBOX} and @samp{Lists.emacs}, you should enable this option. +@item nnimap-keepalive-intervals +By default, nnimap will send occasional ``NOOP'' signals to the +server, to keep the connection alive. This option governs how often +that happens. It is a cons of two integers, representing seconds: +first how often to run the keepalive check, and the second how many +seconds of user inactivity are required to actually send the command. +The default, @code{(900 . 300)}, means run the check every fifteen +minutes and, if the user has been inactive for five minutes, send the +keepalive command. Set to nil to disable keepalive commands altogether. + @end table diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 8990b2bebe..570be49094 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -136,6 +136,16 @@ nnimap-fetch-partial-articles likely value would be \"text/\" to automatically fetch all textual parts.") +(defvoo nnimap-keepalive-intervals (cons (* 60 15) + (* 60 5)) + "Configuration for the nnimap keepalive timer. +The value is a cons of two integers (each representing a number +of seconds): the first is how often to run the keepalive +function, the second is the seconds of inactivity required to +send the actual keepalive command. + +Set to nil to disable keepalive commands altogether.") + (defgroup nnimap nil "IMAP for Gnus." :group 'gnus) @@ -405,15 +415,16 @@ nnimap-credentials nil))) (defun nnimap-keepalive () - (let ((now (current-time))) + (let ((now (current-time)) + ;; Set this so we don't wait for a response. + (nnimap-streaming t)) (dolist (buffer nnimap-process-buffers) (when (buffer-live-p buffer) (with-current-buffer buffer (when (and nnimap-object (nnimap-last-command-time nnimap-object) (time-less-p - ;; More than five minutes since the last command. - (* 5 60) + (cdr nnimap-keepalive-intervals) (time-subtract now (nnimap-last-command-time nnimap-object)))) @@ -448,9 +459,12 @@ nnimap-map-port port)) (defun nnimap-open-connection-1 (buffer) - (unless nnimap-keepalive-timer - (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15) - #'nnimap-keepalive))) + (unless (or nnimap-keepalive-timer + (null nnimap-keepalive-intervals)) + (setq nnimap-keepalive-timer (run-at-time + (car nnimap-keepalive-intervals) + (car nnimap-keepalive-intervals) + #'nnimap-keepalive))) (with-current-buffer (nnimap-make-process-buffer buffer) (let* ((coding-system-for-read 'binary) (coding-system-for-write 'binary) -- 2.31.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 04:01:12 2021 Received: (at 47478) by debbugs.gnu.org; 4 May 2021 08:01:12 +0000 Received: from localhost ([127.0.0.1]:51513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldpzU-00074d-Ez for submit@debbugs.gnu.org; Tue, 04 May 2021 04:01:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldpzS-0006yN-Ek for 47478@debbugs.gnu.org; Tue, 04 May 2021 04:01:11 -0400 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:In-Reply-To:Date: References: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=dyie0kAkWXRLf85QDuZ2TVy8MXin7UBQ5Rb55Xnv8Y4=; b=WzgDZUuBkMla9DKkL8OC48s8NY PhvcdEvB15sCSwhuZV6zLEGZIxjSHGfDPehekixdjI7152rHp++DObcHCCo/v8Q4v6QH9C4JC3e8t vbcanKIJFiHLAIBf8n9cGkUbqtqv9wMT7I4CRxfWIiS1GbaJB/XxILfdrNr8kK+NlkZ0=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldpzK-0008GP-5t; Tue, 04 May 2021 10:01:04 +0200 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> <87im41ul8w.fsf@ericabrahamsen.net> <87v980chs1.fsf@gnus.org> <87r1inu713.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXU2N7m6u+upqeC andPXW8kHCUdFRVIQUv////4nodpAAAAAWJLR0QIht6VegAAAAd0SU1FB+UFBAc5IP16g0EAAAGY SURBVDjLtZPBTsMwDIbbwQOsvAEFaVfUFPUB5q5XBItzRTA7d5Isr0+S0q0ZnTjhQ6vmy//bieui rKpiimoWRZle67i4XgCjbB0f5V8gOq+r9J1bVVeiqGOIMVoBAE9h9UaIAvki3gO4BSjkPJiYX36D UbwASC4ClHJZoXyv5DLoRHdcslJOmw3jJeBQkzPCZQqSiExOd58P3QnQjyAA0/jVgLlCskYlmk3d Y65AfkVz3z00tcyTI+uNb27MV322ojEF+zdTedMcc0W8C92UKw/9JQjCr1IMx1MO/rlBRjLFs6NZ cqRkhaRXLuw5l+u9Ty0ibObAgm2H1AiN2oW6p54D7Ns+Lu80pxZOwPV72AUfAMLsL1E7I0J7eNsO MgMHFNtoZVpwGdAEQgQTBR4wljcBYoA2Jg9V9+Qdf0wnZ7uNOVg6b4+UARuATIeUWs7A3u7Chdl0 SqIZOEBPkizE2tjhGeghblYexns5A3I+2gfmYlteT4C1SidT4xxMilC+FTaMmGjqR9gKEUftrq6v D2d5DVT/D74BbQ4L9ncJn8sAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDUtMDRUMDc6NTc6MzIr MDA6MDAG52SmAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1LTA0VDA3OjU3OjMyKzAwOjAwd7rc GgAAAABJRU5ErkJggg== X-Now-Playing: Anne Clark's _Pressure Points_: "Red Sands" Date: Tue, 04 May 2021 10:01:01 +0200 In-Reply-To: <87r1inu713.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 03 May 2021 09:16:40 -0700") Message-ID: <87bl9rapxe.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > +By default, nnimap will send occasional ``NOOP'' signals to the > +server, to keep the connection alive. Perhaps this should say "sends a @samp{NOOP} (keepalive) command" to be less obscure? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47478 Cc: 47478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Abrahamsen writes: > +By default, nnimap will send occasional ``NOOP'' signals to the > +server, to keep the connection alive. Perhaps this should say "sends a @samp{NOOP} (keepalive) command" to be less obscure? > +keepalive command. Set to nil to disable keepalive commands altogether. @code{nil} Otherwise, looks good to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 19:35:21 2021 Received: (at 47478-done) by debbugs.gnu.org; 4 May 2021 23:35:21 +0000 Received: from localhost ([127.0.0.1]:56082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le4ZV-0001TS-0R for submit@debbugs.gnu.org; Tue, 04 May 2021 19:35:21 -0400 Received: from ericabrahamsen.net ([52.70.2.18]:39576 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1le4ZR-0001TK-5s for 47478-done@debbugs.gnu.org; Tue, 04 May 2021 19:35:19 -0400 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 EC800FA023; Tue, 4 May 2021 23:35:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1620171311; bh=1QpetUTGILceiHkcdFQ/iLhbXdcfqV5aab71LEOdtXE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BfBtyuCqEYsHkhwD/jqwS1QcEPIcUXhgDfLzb6Fe5QhKRjhXH+zRbBEn2ESalfuLL 5tX98Fjv3s4xXzNRe8Vv2zkwjtf5JuaFPPccWQyjYWgav39ndgV5aYS9WVs4vHotC7 Rr63Up6XQcaJ2CLMkdL99D6eLvE4nx3lZWYBEwCE= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#47478: 28.0.50; Provide customization option for nnimap-keepalive-timer References: <87wntqgca7.fsf@ericabrahamsen.net> <87a6pdmxv1.fsf@gnus.org> <87im41ul8w.fsf@ericabrahamsen.net> <87v980chs1.fsf@gnus.org> <87r1inu713.fsf@ericabrahamsen.net> <87bl9rapxe.fsf@gnus.org> Date: Tue, 04 May 2021 16:35:09 -0700 In-Reply-To: <87bl9rapxe.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 04 May 2021 10:01:01 +0200") Message-ID: <87sg323weq.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 47478-done Cc: Bob Newell , 47478-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 05/04/21 10:01 AM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> +By default, nnimap will send occasional ``NOOP'' signals to the >> +server, to keep the connection alive. > > Perhaps this should say "sends a @samp{NOOP} (keepalive) command" to be > less obscure? > >> +keepalive command. Set to nil to disable keepalive commands altogether. > > @code{nil} > > Otherwise, looks good to me. Thanks! Done and closing. From unknown Fri Aug 15 12:52:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Jun 2021 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator