From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#33005: 27.0.50; Data loss with Gnus registry Date: Wed, 10 Oct 2018 23:24:35 +0200 Message-ID: <874ldtlcks.fsf@web.de> References: <871s8yvsrq.fsf@web.de> <87in29x33z.fsf@ericabrahamsen.net> <87r2gxygox.fsf@web.de> <87efcxwzr2.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539206591 11448 195.159.176.226 (10 Oct 2018 21:23:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2018 21:23:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33005@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 23:23:07 2018 Return-path: Envelope-to: geb-bug-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 1gALwg-0002ql-2e for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2018 23:23:06 +0200 Original-Received: from localhost ([::1]:59222 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gALym-0005uc-9u for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2018 17:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gALyg-0005sr-He for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2018 17:25:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gALyd-0002sV-4U for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2018 17:25:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39675) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gALyY-0002p6-JG for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2018 17:25:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gALyY-0006U6-E4 for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2018 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2018 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33005-submit@debbugs.gnu.org id=B33005.153920669324908 (code B ref 33005); Wed, 10 Oct 2018 21:25:02 +0000 Original-Received: (at 33005) by debbugs.gnu.org; 10 Oct 2018 21:24:53 +0000 Original-Received: from localhost ([127.0.0.1]:43933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gALyP-0006Tf-C4 for submit@debbugs.gnu.org; Wed, 10 Oct 2018 17:24:53 -0400 Original-Received: from mout.web.de ([217.72.192.78]:60115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gALyN-0006TS-7G for 33005@debbugs.gnu.org; Wed, 10 Oct 2018 17:24:51 -0400 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0McFLP-1gQVH90zt1-00JX2b; Wed, 10 Oct 2018 23:24:36 +0200 Original-Received: from drachen.dragon ([94.218.210.177]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0McFLP-1gQVH90zt1-00JX2b; Wed, 10 Oct 2018 23:24:36 +0200 In-Reply-To: <87efcxwzr2.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 10 Oct 2018 09:08:33 -0700") X-Provags-ID: V03:K1:kldTCJ1MnBQb7HuY3SO9q5F8yCLzUE9v4xmoEcpQkEZjtKX+tel ERPADaAQ42pE60QLNdzy4GgryLls5JNbtcl5hSX0o2Drq1QX24bpLugO+0MVh0jbVZgUO/L UkNZ5Y6uFYIj0h/q/jD823/DtlSnxOYKy4MLVqQb+VkqzBs3X4T67pBVDhm4bJY0SQUTjrR plzmf4pOupAlj/0lAi6Aw== X-UI-Out-Filterresults: notjunk:1;V01:K0:cxvWJeTVuPk=:9c9JgBjEGH/4/+ReDuUKyd l7x0vllP+1xsvchhnx2hcCMJ1Y3tfgSmnff/YkMHV/Rfv9SPATQSBh1yw/Cq9Gi4+88NIF0nv N6s2X9RPwPwcBqGeVkP5zTSo5IGLhY+l+6s64xIT8kXFin3y0cN33nVbXZkX/Q4UFFBx9mSi9 v+mdbnjh6eYmRVS41w4m2q7lJN8CSB6q7u5f2Gja27zT0y3PzctHKfjNJUP+RiBG6ZXfmyjC2 dMGPpDYWv6/SAVvbZDIE8cu6N1Zm2IQ6NbCfb8+D/gTaZ3VNbQS9sjdek0W38HuiRkeJD3m1R nCqGcMFZBF9qZ20Ljx11ZQ6xKxE/YJH63orQ1VlbPMjxvgo5zjQYcTQN9VKB1IzEFFyyWuxwv j6E+KA1m1UwRSJlQcVEf3GSi0s4G9C1iX0rULkFqmgir/Xapj8BekHteGYiGRAxX517QbiIgl ibI8EB+I9er6KMFTYLiXD+st+ttoC6acGzFuz9J9mPhEoHlqc6oMSg0KA8nMUjL5TvY2SlBDC swDE5c5/UnFadcx5Iwv6v1dIWn9xkI4gTjgLCA9HRsNBjUzecbt08TwQbA79xN3QQAE1v8miS F8zkMJ4Dz4ZSUbo2KgXG57UjQUQe3UKv38I6cEW+/0vfNm2/FP/PAVIi9ip9ubMpNW5grB978 H+YgocWbHeV8nupwuM+9ircYogUcgRir/5oQkcJwAeiuGvqYRvvWRpXPzTYMXEnrtacb0/x9W AUTNV7qiSzE7bQvpECIONt64qCzwQUnBrkjTGYz0ClNqULhCePc2E2UvaQ0Rt/TAYHTayh5H 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: 208.118.235.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:151086 Archived-At: Eric Abrahamsen writes: > (registry-collect-prune-candidates gnus-registry-db > (registry-size gnus-registry-db) nil) Ok, I managed to debug this. The entry is indeed pruned. It looks like Key: "<153...>" Value: ((mark Important) (subject ...) ...) In the `registry-collect-prune-candidates' method, the variable PRECIOUS is bound to the list (gnorb-ids org-tags mark). AFAIU, since PRECIOUS-P is defined as (lambda (entry-key) (cdr (memq (car-safe entry-key) precious))) and the symbol mark comes last in the PRECIOUS list, the `cdr' of the `memq' call is nil. If I remove the `cdr' call, the entry isn't pruned any more. I also don't get why that `cdr' is there. Or is my value of PRECIOUS illegal? Michael.