From: Teemu Likonen <tlikonen@iki.fi>
To: info-gnus-english@gnu.org
Subject: Confused about registry and pruned entries
Date: Thu, 01 Aug 2013 09:24:07 +0300 [thread overview]
Message-ID: <87bo5irks8.fsf@mithlond.arda> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1468 bytes --]
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.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --]
[-- Attachment #2: Type: text/plain, Size: 162 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next reply other threads:[~2013-08-01 6:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 6:24 Teemu Likonen [this message]
2013-08-01 6:50 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bo5irks8.fsf@mithlond.arda \
--to=tlikonen@iki.fi \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).