unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 36341@debbugs.gnu.org, Deus Max <deusmax@gmx.com>
Subject: bug#36341: 27.0.50; Reading from the Gnus dribble file leaves data inconsistent
Date: Fri, 05 Jul 2019 12:24:22 -0700	[thread overview]
Message-ID: <87tvc0e13t.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m3a7dt7w5n.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 04 Jul 2019 15:43:16 +0200")


On 07/04/19 15:43 PM, Lars Ingebrigtsen wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> So then the remaining mysteries are why does "s" clear it up, and what
>> in my code changes could have caused this? Since I was mostly messing
>> with the hash tables, I have to assume that data was supposed to be
>> stored in some table, but isn't being retrieved correctly.
>
> Yeah, that would also be my guess...

Got it: when `gnus-group-set-info' reaches:

(setcar (nthcdr 1 entry) info)

Ie, it actually does the setting of the info based on the dribble file,
that change is made in `gnus-newsrc-hashtb' but not `gnus-newsrc-alist'.
"g" uses the alist, "M-g" uses the hashtable. So that explains that.

I don't know why that happens, given that the entry in the hashtable and
the alist are identical lisp objects, or at least they are everywhere
else. But at least the solution is in sight!

Eric





  reply	other threads:[~2019-07-05 19:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-23 14:30 bug#36341: 27.0.50; Reading from the Gnus dribble file leaves data inconsistent Lars Ingebrigtsen
2019-06-23 15:34 ` Eric Abrahamsen
2019-06-23 15:41   ` Lars Ingebrigtsen
2019-06-23 16:35     ` Eric Abrahamsen
2019-06-23 18:25     ` Deus Max
2019-06-23 18:38       ` Eric Abrahamsen
2019-06-23 18:40         ` Lars Ingebrigtsen
2019-06-28 22:30           ` Eric Abrahamsen
2019-06-29 10:22             ` Lars Ingebrigtsen
2019-07-03 19:46               ` Eric Abrahamsen
2019-07-04 13:43                 ` Lars Ingebrigtsen
2019-07-05 19:24                   ` Eric Abrahamsen [this message]
2019-07-06 12:06                     ` Lars Ingebrigtsen
2019-07-07 23:56                       ` Eric Abrahamsen
2019-07-08 16:22                         ` Lars Ingebrigtsen
2019-07-08 17:29                           ` Eric Abrahamsen
2019-07-08 17:37                             ` Lars Ingebrigtsen
2019-07-09  4:53                               ` Eric Abrahamsen
2019-07-09 17:50                                 ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvc0e13t.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=36341@debbugs.gnu.org \
    --cc=deusmax@gmx.com \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).