GNU bug report logs - #51052
27.2; gnus-save-newsrc-file-last-timestamp not cleared when quitting gnus

Previous Next

Packages: gnus, emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Wed, 6 Oct 2021 04:26:02 UTC

Severity: normal

Merged with 51053

Found in version 27.2

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51052 in the body.
You can then email your comments to 51052 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#51052; Package emacs,gnus. (Wed, 06 Oct 2021 04:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <winkler <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Wed, 06 Oct 2021 04:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.2;
 gnus-save-newsrc-file-last-timestamp not cleared when quitting gnus
Date: Tue, 5 Oct 2021 23:24:23 -0500
I need to synchronize my gnus sessions across multiple machines
using rsync.  That seems to work mostly as expected within a running
emacs session if I quit gnus, rsync all files and restart gnus.  In
particular, gnus will then use the .newsrc.eld file from the other
machine.  But gnus-clear-system does not clear
gnus-save-newsrc-file-last-timestamp.  So when gnus wants to save
again the .newsrc.eld file, it compares the timestamp of the file on
disk against the old timestamp of the old file from the previous
gnus session.  That old file is already gone anyway.
- Instead of clearing gnus-save-newsrc-file-last-timestamp when
quitting gnus, could it also make sense to (re)set this variable
whenever .newsrc.eld is read?

(I am new to the world of gnus.  I hope I am not missing yet more
obstacles for what I would like to achieve.)


In GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2021-06-07 built on regnitz
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)





Merged 51052 51053. Request was from "Roland Winkler" <winkler <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Oct 2021 04:44:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#51052; Package emacs,gnus. (Wed, 06 Oct 2021 09:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 51052 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 51052 <at> debbugs.gnu.org
Subject: Re: bug#51052: 27.2; gnus-save-newsrc-file-last-timestamp not
 cleared when quitting gnus
Date: Wed, 06 Oct 2021 11:19:09 +0200
"Roland Winkler" <winkler <at> gnu.org> writes:

> - Instead of clearing gnus-save-newsrc-file-last-timestamp when
> quitting gnus, could it also make sense to (re)set this variable
> whenever .newsrc.eld is read?

I tried following the gnus-save-newsrc-file-last-timestamp logic, and I
think that makes sense, so I've now made gnus-clear-system clear that
variable, too (in Emacs 29).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 51052 <at> debbugs.gnu.org and "Roland Winkler" <winkler <at> gnu.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 06 Oct 2021 09:20:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Nov 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.