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#33005: 27.0.50; Data loss with Gnus registry Date: Tue, 01 Oct 2019 16:37:51 -0700 Message-ID: <87d0fgnik0.fsf@ericabrahamsen.net> References: <871s8yvsrq.fsf@web.de> <87in29x33z.fsf@ericabrahamsen.net> <87r2gxygox.fsf@web.de> <87efcxwzr2.fsf@ericabrahamsen.net> <874ldtlcks.fsf@web.de> <87ftxdl7w1.fsf@ericabrahamsen.net> <878t33cjf2.fsf@web.de> <87o8za4gbl.fsf@web.de> <87mueuicys.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="242817"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 33005@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 02 01:38:17 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 1iFRii-00112K-3j for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Oct 2019 01:38:16 +0200 Original-Received: from localhost ([::1]:49366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFRig-0007Vs-5D for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Oct 2019 19:38:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34498) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFRiW-0007Vg-C6 for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 19:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFRiU-0000ul-1W for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 19:38:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFRiT-0000uP-MS for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 19:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFRiT-00027W-Jn for bug-gnu-emacs@gnu.org; Tue, 01 Oct 2019 19:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2019 23:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33005 X-GNU-PR-Package: emacs Original-Received: via spool by 33005-submit@debbugs.gnu.org id=B33005.15699730808144 (code B ref 33005); Tue, 01 Oct 2019 23:38:01 +0000 Original-Received: (at 33005) by debbugs.gnu.org; 1 Oct 2019 23:38:00 +0000 Original-Received: from localhost ([127.0.0.1]:35210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFRiS-00027H-H5 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 19:38:00 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:53372 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFRiR-000275-CT for 33005@debbugs.gnu.org; Tue, 01 Oct 2019 19:37:59 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 3F839FA088 for <33005@debbugs.gnu.org>; Tue, 1 Oct 2019 23:37:53 +0000 (UTC) In-Reply-To: <87mueuicys.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 23 Sep 2019 20:34:51 -0700") 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:168106 Archived-At: Eric Abrahamsen writes: > Michael Heerdegen writes: > >> Michael Heerdegen writes: >> >>> Ok, can we close this report - seems we are done? >> >> Sorry for the bad news - but my registry marks are disappearing again >> :-( Just after restarting Gnus they are gone. >> >> I wanted to try with gnus-mock but it errors: >> >> Debugger entered--Lisp error: (buffer-read-only #) >> replace-match("/tmp/emacs-gnus-mock-ENKWay" t) >> gnus-mock-start() >> [...] >> >> I tried to load the source of gnus-mock to get a more meaningful >> backtrace but that also errors: >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> file-name-directory(nil) >> (expand-file-name "data" (file-name-directory load-file-name)) >> (file-name-as-directory (expand-file-name "data" (file-name-directory load-file-name))) >> (defconst gnus-mock-data-dir (file-name-as-directory (expand-file-name "data" (file-name-directory load-file-name))) "Source directory for Gnus mock data.") >> eval-region(1 10407) ; Reading at buffer position 5125 >> >> Hmm... > > Ah, this was a question I had when I was first writing gnus-mock -- > load-file-name was reliably present for all my tests, but they were only > on Linux. Can you tell me what system you're running? Presumably > there are better alternatives to load-file-name under different > circumstances. Hey do let me know what system you're running! If I do: 1. emacs -Q 2. M-x load-file -> ~/.emacs.d/elpa/gnus-mock-0.4.2/gnus-mock.el Then gnus-mock-data-dir is set correctly. I don't know what else might be going wrong! Eric