From unknown Tue Jun 17 01:35:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46533: 27.1.91; (gnus-agent-expire) leaves the last article per group Resent-From: Teemu Likonen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Feb 2021 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 46533@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16133967322565 (code B ref -1); Mon, 15 Feb 2021 13:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2021 13:45:32 +0000 Received: from localhost ([127.0.0.1]:37661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBeBv-0000fI-SN for submit@debbugs.gnu.org; Mon, 15 Feb 2021 08:45:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:32860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBeBt-0000f8-9h for submit@debbugs.gnu.org; Mon, 15 Feb 2021 08:45:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBeBs-0000X7-7m for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2021 08:45:28 -0500 Received: from lahtoruutu.iki.fi ([185.185.170.37]:56738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBeBp-0000h5-JK for bug-gnu-emacs@gnu.org; Mon, 15 Feb 2021 08:45:27 -0500 Received: from mithlond (mobile-access-bceeaf-8.dhcp.inet.fi [188.238.175.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 45F831B00046 for ; Mon, 15 Feb 2021 15:45:14 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1613396714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=VXPdUno8CDX66Y4h6td3P52C8MHH2b1dmp6x2bazeIM=; b=RRVJtuJ6c+7hCyvPpWLloWZAb3SWwu4MfjN1XWb4lXXGGBjZIXl2+uYeDRQ5h+D3fsaCHx pKQxjZmX/dvKP30TkLJSeENmBaGiSyVWYV0l5wZe5zD2zPeGI+xn9GCBmsjaJ+nC1mRjcv 7pK4h1RqEr6dlAuFbYg3lhVmTiMDrjUY4rDj6itSV/oz/YpznEFbRUJTYXhTFuelGGpHP5 rgg7CMGigmpkTZWlo/MoOjjEuQCMSk9sPws5Jjf1IpQNxbjcKkZgQqex3y3kPSW+H/qtmh yhEcbTeOY9tmf44R7a0cdaVFFI2qGbv+mnpvXktYVUxyv7Zv0wXVzqnVD7UOtw== From: Teemu Likonen User-Agent: Notmuch/0.31.1+1~gc5504cb (https://notmuchmail.org) Emacs/27.1.91 (x86_64-pc-linux-gnu) Date: Mon, 15 Feb 2021 15:45:07 +0200 Message-ID: <87v9atmom4.fsf@iki.fi> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1613396714; a=rsa-sha256; cv=none; b=kd7N7osQAcXQ6Na1uYaaHKxzPnGqBbjne6dMfnzw9pKOWx2MhkOuE2q2hxU/aPLOxvRz7M g/FJRZFfyqUQCyUKpIgzPsSB6sP8rSv7I/D8Q3tdmj7gNz0pdmfL5/dN/Ah+WlWzBnz0Hz MuJeBQg9FgHb29MT2zBxx7na/XcL2xKZ4ZeBzrigUz/GjtHH0ifRhf3up+OSUQ9rhv1qFZ xK7ZcQ6oOrxJXG8C2MFdjDAEFeEaJf3NYSZxPm78qUE39Agtc16UR44SVj7b5YLnDDToHI YC47p1SO4tNIW7A4SAVKpxTwYPAzOE91cWCxyr9ZhAEve3YSPEXxxWPEwmuFag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1613396714; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=VXPdUno8CDX66Y4h6td3P52C8MHH2b1dmp6x2bazeIM=; b=nVvOtJNs038qa7XtyT5heutiR1NZ9JAVhWoHk2ig6jj8a4gf7bH7LmP+D4eLiUeaHtQO9w sP6xZGY2rsbpM9skmhH6mrVtfY1HSI4oD0CRMCSxcyGH9yYpkBDa0KgG5oK0Co2gL9NWBE L7wkEVASA7reAjmlM73mwSY0MIdekHum9ZXhzeFJYNqoshJC8PDPr4crsuAkPHa3PrGGsK Ef5nGGvlleCGnjpqh34XlPdDXoWu6O+fcgLj3KmwTmYRPLdKK6jyo88lFQRhfwl5ZWUSFo NVw0A395q70ArTabZ8iNMbA/7oguVAjUPwkZ8SiCKVH33qH6L6mQ35k8r+H0Vw== Received-SPF: pass client-ip=185.185.170.37; envelope-from=tlikonen@iki.fi; helo=lahtoruutu.iki.fi X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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.6 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Gnus mail and news client has "agent" feature for caching articles locally. The local cache can be expired by command "M-x gnus-agent-expire". However, the expiry does not always expire all cached articles. It seems that the expiry mechanism leaves one article file if there are not any newer articles in the same group. For example, currently in my system all article files older than 2021-02-08 have been expired. Yet one older file remains: $ cd "$HOME/News/agent/nntp" $ find . -type f -regex '.*/[0-9]+$' -print0 | \ xargs -0r ls -gGltu | tail -n3 -rw-r--r-- 1 1104 2021-02-08 08:10:18 ./september/alt/os/linux/69718 -rw-r--r-- 1 5350 2021-02-08 08:10:04 ./gmane/gmane/emacs/gnus/user/1= 9400 -rw-r--r-- 1 5394 2021-02-05 19:41:11 ./gmane/gmane/ietf/openpgp/9871 There is one file with access time ("ls -ltu") 2021-02-05. It should have been removed already but it is the last article in its group so it remains. I think I have seen such articles expire after new article arrives in the same group. There is not any easy recipe for reproducing the behaviour. You have to set up Gnus agent and make Gnus cache some articles. Here's a start: ;; Expire everything before today. (setq gnus-agent-expire-days 0) ;; Fetch all selected articles. (add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article) =2D-=20 /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQTJW2wqtelxC1gHdbitnXWr7pTCcwUCYCp64xAcdGxpa29uZW5A aWtpLmZpAAoJEK2ddavulMJzceUA/26oN+w52lkMkSRnUKQiv02IDFwAGYH655Hs ZPvP3qAYAP4v//kVJtOBRwyeVbZyTsg194VvjW9RWhUK2rncQCdmBQ== =/3gF -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:35:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46533: 27.1.91; (gnus-agent-expire) leaves the last article per group Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 12:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Teemu Likonen Cc: 46533@debbugs.gnu.org Received: via spool by 46533-submit@debbugs.gnu.org id=B46533.161347821021557 (code B ref 46533); Tue, 16 Feb 2021 12:24:01 +0000 Received: (at 46533) by debbugs.gnu.org; 16 Feb 2021 12:23:30 +0000 Received: from localhost ([127.0.0.1]:39612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBzO6-0005bd-J8 for submit@debbugs.gnu.org; Tue, 16 Feb 2021 07:23:30 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBzO4-0005bP-DF for 46533@debbugs.gnu.org; Tue, 16 Feb 2021 07:23:28 -0500 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=ScjoPP6YFVUqhIyS7q/seRNLmvw7MnKk4ukOHkXBNjE=; b=glHfvwgUD+AT+BhwU+Mez/vhPN 6bWG0gZgVxPExKOVl6ylS3aNINNi7O4ccbTQDvKlekKU6ECDAWLvjiMjCQqlNIBMLn72XdPJ+Ihz7 /u2BRqUbpvcQ3L4FPeLeHAoVjIiW/U1apBlOZv7pEHalbog2zxBYCC2BDUBOJxJXPnw0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBzNv-0004xd-27; Tue, 16 Feb 2021 13:23:21 +0100 From: Lars Ingebrigtsen References: <87v9atmom4.fsf@iki.fi> X-Now-Playing: Sevdaliza's _ISON_: "Loves Way" Date: Tue, 16 Feb 2021 13:23:17 +0100 In-Reply-To: <87v9atmom4.fsf@iki.fi> (Teemu Likonen's message of "Mon, 15 Feb 2021 15:45:07 +0200") Message-ID: <87ft1wxkui.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: Teemu Likonen writes: > There is one file with access time ("ls -ltu") 2021-02-05. It should > have been removed already but it is the last article in its group so it > remains. I haven't tried to debug this, but this does sound familiar. I seem to vaguely remember that the Agent has to been the highest-numbered article for accounting reasons? So expiry doesn't touch the newe [...] 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-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 (-) Teemu Likonen writes: > There is one file with access time ("ls -ltu") 2021-02-05. It should > have been removed already but it is the last article in its group so it > remains. I haven't tried to debug this, but this does sound familiar. I seem to vaguely remember that the Agent has to been the highest-numbered article for accounting reasons? So expiry doesn't touch the newest article. I may be totally misremembering, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 01:35:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46533: 27.1.91; (gnus-agent-expire) leaves the last article per group Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 22:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Teemu Likonen Cc: 46533@debbugs.gnu.org Received: via spool by 46533-submit@debbugs.gnu.org id=B46533.161351324630798 (code B ref 46533); Tue, 16 Feb 2021 22:08:01 +0000 Received: (at 46533) by debbugs.gnu.org; 16 Feb 2021 22:07:26 +0000 Received: from localhost ([127.0.0.1]:41879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8VC-00080f-5m for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:07:26 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8VB-00080P-5Z for 46533@debbugs.gnu.org; Tue, 16 Feb 2021 17:07:25 -0500 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=f7oyWDNsABGHQ57SsNQ5PcXT/C1fjMDfq66C8DzMX5Q=; b=b9Tc1Y9/OJkWcBUDtcL9EiQQ/N ipGUlTmEGRgH8coz5Pe+wu9dI0tNXR5TYwonvbHOMLqjORQBqM+jfyT/+AneZAhSchT4/jk7iZjWd MAa3cGIPfyGsZnTXKwp6+OFZVlZi6KbvSqY6BEPqzMqLIg1Go1vKCCLb2Fu4vLPAZBw0=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC8V2-0000uS-DB; Tue, 16 Feb 2021 23:07:18 +0100 From: Lars Ingebrigtsen References: <87v9atmom4.fsf@iki.fi> <87ft1wxkui.fsf@gnus.org> X-Now-Playing: Portishead's _Glory Times (2)_: "Glory Box (Mudflap Mix)" Date: Tue, 16 Feb 2021 23:07:15 +0100 In-Reply-To: <87ft1wxkui.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2021 13:23:17 +0100") Message-ID: <87blcjsm3w.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: Lars Ingebrigtsen writes: > I haven't tried to debug this, but this does sound familiar. I seem to > vaguely remember that the Agent has to been the highest-numbered article > for accounting reasons? So expiry doesn't touch th [...] 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-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 (-) Lars Ingebrigtsen writes: > I haven't tried to debug this, but this does sound familiar. I seem to > vaguely remember that the Agent has to been the highest-numbered article > for accounting reasons? So expiry doesn't touch the newest article. Yup, I remembered correctly. I've now documented this quirk in the Gnus manual. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 16 17:07:31 2021 Received: (at control) by debbugs.gnu.org; 16 Feb 2021 22:07:31 +0000 Received: from localhost ([127.0.0.1]:41882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8VH-00080x-Cf for submit@debbugs.gnu.org; Tue, 16 Feb 2021 17:07:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC8VG-00080Y-Bj for control@debbugs.gnu.org; Tue, 16 Feb 2021 17:07:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RjYPfFzEVblN/jvRb/aFUOf14Bzbr+ytrj1o8QFGMx4=; b=ok4DMcCgGNueQBZcx2tAzUQ5zD Ue7XJrkCVNLuCdgvDasrOKWtbjihPXuYFON+j5N0AvQTO9XBjmFdZH0gzQmWSerQUpubytziTict6 iGL6cld5OVBhkIri0RSgxh+4jMlyf6Xqi1+eC05kxzy1eYSwntCa6h+bbdsPyxf45VuU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lC8V8-0000ub-Nm for control@debbugs.gnu.org; Tue, 16 Feb 2021 23:07:24 +0100 Date: Tue, 16 Feb 2021 23:07:21 +0100 Message-Id: <87a6s3sm3q.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46533 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: close 46533 quit 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: control 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 (-) close 46533 quit