From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#36341: 27.0.50; Reading from the Gnus dribble file leaves data inconsistent Date: Fri, 05 Jul 2019 12:24:22 -0700 Message-ID: <87tvc0e13t.fsf@ericabrahamsen.net> References: <87v9wwuxge.fsf@ericabrahamsen.net> <87mui8kvkw.fsf@aia00054aia.gr> <87fto0tae3.fsf@ericabrahamsen.net> <874l49s5qt.fsf@ericabrahamsen.net> <87wogykike.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97067"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36341@debbugs.gnu.org, Deus Max To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 21:25:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hjTpW-000Oz3-5i for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 21:25:10 +0200 Original-Received: from localhost ([::1]:55534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjTpU-0006rP-Q2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2019 15:25:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51498) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjTpP-0006pr-LE for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 15:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjTpO-0001aB-MX for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 15:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hjTpO-0001a4-Iy for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 15:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hjTpO-0006b1-DV for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2019 15:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jul 2019 19:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36341 X-GNU-PR-Package: emacs Original-Received: via spool by 36341-submit@debbugs.gnu.org id=B36341.156235467525315 (code B ref 36341); Fri, 05 Jul 2019 19:25:02 +0000 Original-Received: (at 36341) by debbugs.gnu.org; 5 Jul 2019 19:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:53796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjTow-0006aE-JR for submit@debbugs.gnu.org; Fri, 05 Jul 2019 15:24:34 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:36630 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hjTot-0006a0-35 for 36341@debbugs.gnu.org; Fri, 05 Jul 2019 15:24:32 -0400 Original-Received: from localhost (67-40-27-198.tukw.qwest.net [67.40.27.198]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 329ACFA01D; Fri, 5 Jul 2019 19:24:24 +0000 (UTC) In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 04 Jul 2019 15:43:16 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162155 Archived-At: On 07/04/19 15:43 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen 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