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: Mon, 09 Dec 2019 16:24:04 -0800 Message-ID: <87blsh3u57.fsf@ericabrahamsen.net> References: <871s8yvsrq.fsf@web.de> <87eexuuznq.fsf@web.de> <87sgm8tmq6.fsf@ericabrahamsen.net> <87wobk0xza.fsf@web.de> <87imn3tv1s.fsf@ericabrahamsen.net> <87imn2luz8.fsf@web.de> <87lfrtwyu5.fsf@ericabrahamsen.net> <87immwm5po.fsf@web.de> <87r21kuhmm.fsf@ericabrahamsen.net> <877e3bn7rw.fsf@web.de> <9B6350E4-ED1B-4E95-974E-7531C9987655@ericabrahamsen.net> <8736dzn6sn.fsf@web.de> <87blsnu6yu.fsf@ericabrahamsen.net> <87y2vrlpya.fsf@web.de> <87v9qvsigm.fsf@ericabrahamsen.net> <877e3624zd.fsf@web.de> <87zhg25ymg.fsf@ericabrahamsen.net> <87h82970i9.fsf@web.de> <87k1753zfx.fsf@ericabrahamsen.net> <87d0cx6qsy.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81346"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33005@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 10 01:25:10 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 1ieTKv-000L1h-VP for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Dec 2019 01:25:10 +0100 Original-Received: from localhost ([::1]:48644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieTKu-0004QX-O7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Dec 2019 19:25:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52806) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieTKo-0004QF-Rm for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 19:25:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieTKn-0007GB-TV for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 19:25:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieTKn-0007G3-Ps for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 19:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieTKn-0002kg-M7 for bug-gnu-emacs@gnu.org; Mon, 09 Dec 2019 19:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Dec 2019 00:25: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.157593745310433 (code B ref 33005); Tue, 10 Dec 2019 00:25:01 +0000 Original-Received: (at 33005) by debbugs.gnu.org; 10 Dec 2019 00:24:13 +0000 Original-Received: from localhost ([127.0.0.1]:54598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieTK0-0002iD-Nd for submit@debbugs.gnu.org; Mon, 09 Dec 2019 19:24:12 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:32968 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieTJz-0002hz-HT for 33005@debbugs.gnu.org; Mon, 09 Dec 2019 19:24:11 -0500 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 AFAACFA0E3; Tue, 10 Dec 2019 00:24:05 +0000 (UTC) In-Reply-To: <87d0cx6qsy.fsf@web.de> (Michael Heerdegen's message of "Tue, 10 Dec 2019 00:07:57 +0100") 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:173127 Archived-At: Michael Heerdegen writes: > Eric Abrahamsen writes: > >> I was going to say you could add a method to `eieio-persistent-save', >> maybe an :after method, and do it there, but now I wonder if you might >> get into some sort of recursive loop, since you'd want to use >> `eieio-persistent-save' in there, as well. > > AFAIU that's not necessary or what I plan. When `backup-buffer' creates > a backup for a file (named by buffer-file-name) it basically makes a > copy of the already existing file (and before any new contents are > saved) as newest backup. Making a backup of the old version of the > registry save file is sufficient. Oh, of course! Well in that case an :after method on `eieio-persistent-save' might be just the thing.