From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16397 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.gnus.user Subject: Confused about registry and pruned entries Date: Thu, 01 Aug 2013 09:24:07 +0300 Message-ID: <87bo5irks8.fsf@mithlond.arda> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1657405044674814520==" X-Trace: ger.gmane.org 1375338273 15230 80.91.229.3 (1 Aug 2013 06:24:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 06:24:33 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Aug 01 08:24:35 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4mJP-0003XV-9G for gegu-info-gnus-english@m.gmane.org; Thu, 01 Aug 2013 08:24:35 +0200 Original-Received: from localhost ([::1]:56685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4mJO-0002mh-FL for gegu-info-gnus-english@m.gmane.org; Thu, 01 Aug 2013 02:24:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4mJG-0002mG-13 for info-gnus-english@gnu.org; Thu, 01 Aug 2013 02:24:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4mJ8-0005CN-Kt for info-gnus-english@gnu.org; Thu, 01 Aug 2013 02:24:25 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:52671 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4mJ8-00059h-8H for info-gnus-english@gnu.org; Thu, 01 Aug 2013 02:24:18 -0400 Original-Received: from mithlond.arda (84.251.134.110) by jenni2.inet.fi (8.5.140.03) id 51BB235B0366CD91 for info-gnus-english@gnu.org; Thu, 1 Aug 2013 09:24:11 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.80) (envelope-from ) id 1V4mJ0-0001Pe-TD for info-gnus-english@gnu.org; Thu, 01 Aug 2013 09:24:10 +0300 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 195.156.147.13 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16397 Archived-At: --===============1657405044674814520== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain I'm confused with Gnus registry size. There are (at least) two variables which control registry's size: 1. gnus-registry-max-entries 2. gnus-registry-max-pruned-entries The variable 1 _seems_ clear. No more than that number of entries will be in the registry. The variable 2 is unclear and the documentation makes it worse. In the info manual it says: -- Variable: gnus-registry-max-pruned-entries The maximum number (an integer or `nil' for unlimited) of entries the registry will keep after pruning. So Gnus does some kind of pruning to reduce the registry size. Pruned entries are gone but variable 2 tells how many to keep. Let's look at the variable's own documentation (C-h v gnus-registry-max-pruned-entries): Documentation: Maximum number of pruned entries in the registry, nil for unlimited. What? Now it is telling that, even if Gnus prunes something, it keeps some of those pruned entries in the registry. Variable 2 is telling how many. To add the the confusion I checked the registry file. There in the registry-db expression is keyword :max-hard and :max-soft. It seems that the variable 1 controls :max-hard and variable 2 :max-soft. This hard and soft terminology only confuses me more because I understand them differently than those previous two documentation strings. So, how do I actually control Gnus registry's size? Let's say I want it to have maximum of 5000 entries and never grow significantly larger than that. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJR+f8HAAoJEHGdadMkU5RQWTkP/29Bgdw4hGnWbGo1LI2k/6Bj dSzHQwwK4T5dlHJDvzrb6aI7AP7fKK1x+4FJYr5Li32F3m22hNpM43s11c+xbUOc QHcffIeGyrwiqCCO1yPzxnTKvvxNnv0dVdcPTtjlZ896cwlhxyd8Uo/x+pORrjar BJOnWP25JDQzFhokDPfl6Qy6nIfFHKwQAfDQzQpXXegEQ9u1HRtoLyXc530yMmoB HSoULHetbks2+rZvOFzOecR+wTXE2NMysp5xzqsC2X6u0r23iVJpi3mn8ig3MbwX aSMlwsp4ssTJKG3i3PDn2GwRp9C2JTXR9kq6z+HT9/C+6aQzFBNTlGYsh9AI0pM7 ZR8j/Q0oiwFZaxPchjgDue764XphnGeNRwr1nyNc045tjHoUhsQ2mNawpMkxPtU7 4v6ad2AtVg2k+SL2EP74uEnVamLAUfkkWQJg7ope36cDnSKmBkXXdTm4rffGQuDR HqcUQVo5/RFVQxgybCH1XcgYAkopYQGskrySsJJ0BdY7eTPUoB9WeQ1p5oAwsGWQ I9P1avEJMjVc7ECjmhpoxjnrVNXGVorWBc0nwktpvyC5CKRhAya0sFX2AlwftW5g pOdKqw1atzx72X54wvUeCQNvvjxMtdVe5CZ3D+UDn0mSL8tLSCqMgUJWeUT0l8v6 /0pkFvzerdZlBRNllHS+ =mbrM -----END PGP SIGNATURE----- --=-=-=-- --===============1657405044674814520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english --===============1657405044674814520==--