all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: 47977@debbugs.gnu.org
Subject: bug#47977: 28.0.50; when trying to quit hash table error, concerning the registry
Date: Sun, 25 Apr 2021 11:40:01 -0700	[thread overview]
Message-ID: <87r1iyw6m6.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <874kfuuzcg.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 25 Apr 2021 18:02:23 +0200")


On 04/25/21 18:02 PM, Uwe Brauer wrote:
>>>> "EA" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Hi
>>> 
>>> When trying to quit gnus I obtain an error I attach.
>
>> Somehow one of the registry's hash tables has gotten broken: there's
>> a key with no value in there. I don't know how that could happen. If
>> you're unable to save the registry at all at this point, you might have
>> to delete the offending hash table. If it's a secondary hash table, I
>> think (?) it will be rebuilt on next load and you won't lose any data.
>
> Well the point is the registry is around 15 MB (I complained about this
> size some time ago, I basically use only, org-capture and so gnorb and
> then some label like TODO, DONE etc) and don't understand that size, so
> I don't know how to really edit it in any reasonable way.
>
> It is fortunately under mercurial version control (although mercurial
> complains about its size), so I just reverted the file (in git speech
> git reset --hard) to the last commit and everything now works.
>
> The point is how can this be avoided, and how can I avoid so huge
> registries 
>
> I have 
>
> gnus-registry-max-entries  10000
>
>
> I can enhance it, but I still don't understand the need to write so many
> entries.

If you're using a recent Emacs, you can set `gnus-registry-register-all'
to nil. Then it will only save entries for messages you've specifically
set some special data for -- the labels, or Gnorb tracking, etc. Then
you can lower the max-entries setting to something more reasonable.





  reply	other threads:[~2021-04-25 18:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-23 17:54 bug#47977: 28.0.50; when trying to quit hash table error, concerning the registry Uwe Brauer
2021-04-25 15:18 ` Eric Abrahamsen
2021-04-25 16:02   ` Uwe Brauer
2021-04-25 18:40     ` Eric Abrahamsen [this message]
2021-04-25 18:58       ` Uwe Brauer
2021-04-25 21:22         ` Eric Abrahamsen
2021-04-25 21:26         ` Eric Abrahamsen
2021-04-26 16:46           ` Eric Abrahamsen
2021-04-26 17:13             ` Uwe Brauer
2021-04-26 19:03               ` Eric Abrahamsen
2021-04-27  7:30                 ` Uwe Brauer
2021-04-27  8:29                 ` Uwe Brauer
2021-04-27 15:43                   ` Eric Abrahamsen

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=87r1iyw6m6.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=47977@debbugs.gnu.org \
    --cc=oub@mat.ucm.es \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.