From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#37804: getmail service documentation error? Date: Fri, 18 Oct 2019 09:05:29 +0200 Message-ID: <20191018070529.dnqp2qcnsimjoet4@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6bh443ba25sq3evh" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55565) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLMKq-0001Aj-1k for bug-guix@gnu.org; Fri, 18 Oct 2019 03:06:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLMKo-0001QX-TF for bug-guix@gnu.org; Fri, 18 Oct 2019 03:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLMKo-0001QR-QA for bug-guix@gnu.org; Fri, 18 Oct 2019 03:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLMKo-0008RQ-Fb for bug-guix@gnu.org; Fri, 18 Oct 2019 03:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55516) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLMKM-00018D-WF for bug-guix@gnu.org; Fri, 18 Oct 2019 03:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLMKL-0001HF-Mf for bug-guix@gnu.org; Fri, 18 Oct 2019 03:05:34 -0400 Received: from pelzflorian.de ([5.45.111.108]:51754 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLMKL-0001ER-6P for bug-guix@gnu.org; Fri, 18 Oct 2019 03:05:33 -0400 Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37804@debbugs.gnu.org --6bh443ba25sq3evh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The documentation of the getmail service=E2=80=99s delete_after setting i= s confusing and appears to contradict upstream documentation at . I am not sure, but the code in the getmail file in the getmail source code also appears to call destination.deliver_message before deleting, in agreement with upstream. Can someone with knowledge check? Shall I push the attached patch? Regards, Florian --6bh443ba25sq3evh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-Fix-documentation-of-delete_after-in-the-getmail-ser.patch" >From 971fee0af8908acdc73498917a8a55811122ac8e Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Fri, 18 Oct 2019 08:52:12 +0200 Subject: [PATCH] Fix documentation of delete_after in the getmail service. * doc/guix.texi (Getmail service): Remove the word `not'. * gnu/services/getmail.scm (getmail-options-configuration): Ditto. --- doc/guix.texi | 2 +- gnu/services/getmail.scm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index a38eb2aa7c..32d2ffe044 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17435,7 +17435,7 @@ Defaults to @samp{#f}. @deftypevr {@code{getmail-options-configuration} parameter} non-negative-integer delete-after Getmail will delete messages this number of days after seeing them, if -they have not been delivered. This means messages will be left on the +they have been delivered. This means messages will be left on the server this number of days after delivering them. A value of @samp{0} disabled this feature. diff --git a/gnu/services/getmail.scm b/gnu/services/getmail.scm index b807bb3a5d..b3d86cb65c 100644 --- a/gnu/services/getmail.scm +++ b/gnu/services/getmail.scm @@ -176,8 +176,8 @@ server.") (delete-after (non-negative-integer 0) "Getmail will delete messages this number of days after seeing them, if -they have not been delivered. This means messages will be left on the server -this number of days after delivering them. A value of @samp{0} disabled this +they have been delivered. This means messages will be left on the server this +number of days after delivering them. A value of @samp{0} disabled this feature.") (delete-bigger-than (non-negative-integer 0) -- 2.23.0 --6bh443ba25sq3evh--