From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27231 invoked from network); 10 Sep 2021 21:15:49 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 10 Sep 2021 21:15:49 -0000 Received: from localhost ([::1]:60130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOnsB-0000Un-7i for ml@inbox.vuxu.org; Fri, 10 Sep 2021 17:15:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOnrs-0000R7-Ax for info-gnus-english@gnu.org; Fri, 10 Sep 2021 17:15:29 -0400 Received: from ciao.gmane.io ([116.202.254.214]:34664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOnrk-0005hk-E3 for info-gnus-english@gnu.org; Fri, 10 Sep 2021 17:15:27 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mOnri-0000iH-CJ for info-gnus-english@gnu.org; Fri, 10 Sep 2021 23:15:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: "Roland Winkler" Subject: Re: synchronizing gnus sessions on multiple computers Date: Fri, 10 Sep 2021 16:15:11 -0500 Message-ID: <87czpgku8w.fsf@gnu.org> References: <875yv9nxnn.fsf@gnu.org> <87pmtgn106.fsf@t14.reltub.ca> Mime-Version: 1.0 Content-Type: text/plain Cancel-Lock: sha1:5/UGLJhtCCH0R1IXdxldsyDpXkM= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" On Fri, Sep 10 2021, Bob Newell wrote: > I have rsync'd gnus for years with success. In addition to the files > already listed I sync .newsrc.eld, but that is updated infrequently. > Not strictly gnus entries, but related closely enough, I also sync > .authinfo and .msmtprc (as I use msmtp) and also .bbdb. Thanks to everyone who replied to this thread. When you are rsyncing gnus, are you doing this while emacs is running on the different machines? Or are you starting a fresh emacs session after all the files got updated on a machine? Digging through things I realized that .newsrc.eld seems to store article marks. For example it sets gnus-newsrc-alist that holds an assoc list of read articles. However, in a running emacs session the same information is stored also in gnus-newsrc-hashtb. So the question becomes: What steps are needed to fully restart gnus while emacs is running so that internal variables such as gnus-newsrc-hashtb get re-initialized, too. -- I realized that testing all this does not require two different machines. But two instances of emacs running on one computer effectively give the same situation to play with. It seems that a running gnus session does not warn the user that another emacs instance has fiddled with files such as .newsrc.eld. Is this true?