From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: gnus registry pruning Date: Mon, 19 Nov 2018 17:08:28 +0000 Message-ID: <87d0r10zcj.fsf@yandex.com> References: <87lg5p1h3h.fsf@yandex.com> <877eh9cbsn.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542647226 30131 195.159.176.226 (19 Nov 2018 17:07:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2018 17:07:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 18:07:02 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOn0k-0007br-TI for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 18:06:59 +0100 Original-Received: from localhost ([::1]:57986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOn2r-0007My-3Z for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 12:09:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOn2K-0007Mn-Dt for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 12:08:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOn2H-0005lz-PN for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 12:08:36 -0500 Original-Received: from forward103p.mail.yandex.net ([77.88.28.106]:59691) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOn2H-0005l5-DR for help-gnu-emacs@gnu.org; Mon, 19 Nov 2018 12:08:33 -0500 Original-Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward103p.mail.yandex.net (Yandex) with ESMTP id ECAFB2183D8B; Mon, 19 Nov 2018 20:08:30 +0300 (MSK) Original-Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id e7ZNnbKzbG-8UvaAlQP; Mon, 19 Nov 2018 20:08:30 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1542647310; bh=iqc11rcUfoMLUlI7mp5DeG6wf6MbtRHJFWpYQmXnyA8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=u8ICb66PBPOa9muf3visHDlqk6qluf2rhqFgATJl9IFCPM7ewwJor+2ymVI21lQ7j BKWJHxpvDhTMJkUsdVJuYMJ0MoHYN8kXW4gKQGXzoneRGNMjfqO5mutGn69eMlI93B VnVJYCarmV/2ySe/eJfFUS+ijYMCPBpqWjgU631I= Original-Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id r41gvSoolp-8TG8AlVf; Mon, 19 Nov 2018 20:08:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1542647309; bh=iqc11rcUfoMLUlI7mp5DeG6wf6MbtRHJFWpYQmXnyA8=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=JSxps+Ksc/6E3ebHdVr64G0nYGtkLjladMr19hLk/pYXWKgAH6qrCrhMgvEdLu6jj GBd3ZzL634CYxt8gQk8RwaPhEGE2E02Je+UPjzUVfOGCaYauwdlSRwOvckHOpkrqX8 3uEWsc1qLWiMZdVW9OEQVuUINVdUDmqxEwenrPZ8= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.com X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H In-Reply-To: <877eh9cbsn.fsf@web.de> (Michael Heerdegen's message of "Mon, 19 Nov 2018 16:44:08 +0100") Face: iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAIAAAC0tAIdAAAABmJLR0QA/wD/AP+gvaeTAAAA JElEQVQokWP8/5+BeMBEglpSVTMyMJDgFFq6ZFQ1JmAcNOkEALdPBRfKw9nqAAAAAElFTkSuQmCC X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 77.88.28.106 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118715 Archived-At: Dear Michael, Thanks for your reply. >>>>> Michael Heerdegen writes: > Colin Baxter writes: >> How can I set my registry to prune automatically? > It prunes automatically without any setting, but only when it has > gotten too large (more that gnus-registry-max-entries entries). >> I currently do this by hand, using `M-x gnus-registry-remake-db' >> when .gnus.registry.eieio get too large. > Doesn't this delete your registry? Yes, but re-builds it. >> I set the default size explicitly in my ~/.gnus.el with >> >> (setq gnus-registry-max-entries 2500) > That should be sufficient. You also need > (gnus-registry-initialize) of course. Yes, I have that set too. > I have not much more and get pruning very frequently. Ok, perhaps my problem is simply not waiting sufficiently long for automatic pruning to kick in. I may perhaps be "panicking" as I see the file .gnus.registry.eieio grow in size. Next time, I'll not remake the registry database but wait and see what happens. Best wishes,