help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: Thread notes?


From: Eric Abrahamsen
Subject: Re: Gnus: Thread notes?
Date: Mon, 18 Dec 2017 11:04:09 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Well that's deeply weird. You have an entry in your registry that
>> looks like:
>>
>> ("" '''''''''''''''''''''''''''''''''''''''''''''''''''''''\
>>     ((creation-time (23012 49774 793490 105000)) (group) (sender)
>> (subject)))
>>
>> Ie, no key at all
>
> The empty string is the key, I think.

Yes, in the sense that it's *supposed* to be the key. But not in the
sense that it's the source of the problem -- I just noticed that my
registry is doing the same thing, and I don't have empty-string keys.

>> , and who knows what's going on with all those quotes.
>>
>> Are there many of those, or just one? And are you running an Emacs that
>> includes e1cc2037a918?
>
> Yes.
>
> I did
>
> (maphash (lambda (key value) (message "%S\n\n" (list key value)))
>          (oref gnus-registry-db data))
>
> and nearly all entries have a lot of quotes.  I starts with entries with
> 81 quotes, and then the number of quotes seems to decrease slowly.  The
> last entries printed only have one quote.  I guess there is a quote
> added for every save or so.
>
> But I only have one entry with the empty string as key.
>
>> I looked at the code, and there's nothing that would prevent the
>> creation of an entry for a message that had no Message-ID, so presumably
>> the blank there is possible. That doesn't explain all the quotes,
>> though.
>
> Yes, it's horribly broken...

Actually, it's my fault, not the registry's. I patched the persistence
process in e1cc2037a918 so that objects inside hash tables were written
and read correctly. But it looks like the trick I was using writes a
call to `quote' where there shouldn't be one, and those accumulate.
Bummer. I will go back to the other bug thread with this.

Sorry!
Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]