From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17863 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.user Subject: Re: syncing groups/topics arrangement between machines? Date: Sun, 27 Dec 2015 15:17:20 +0800 Message-ID: <87mvswmkcf.fsf@ericabrahamsen.net> References: <87mvswh3tw.fsf@jnanam.net> <87fuyotpy6.fsf@debian.uxu> <87io3kh28t.fsf@jnanam.net> <87r3i8mn8a.fsf@ericabrahamsen.net> <878u4g1jae.fsf@jnanam.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1451200671 25591 80.91.229.3 (27 Dec 2015 07:17:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2015 07:17:51 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Dec 27 08:17:38 2015 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aD5aD-0005NA-2G for gegu-info-gnus-english@m.gmane.org; Sun, 27 Dec 2015 08:17:37 +0100 Original-Received: from localhost ([::1]:40929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aD5aC-0007k3-7C for gegu-info-gnus-english@m.gmane.org; Sun, 27 Dec 2015 02:17:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aD5a9-0007ju-Jh for info-gnus-english@gnu.org; Sun, 27 Dec 2015 02:17:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aD5a5-0001vo-Do for info-gnus-english@gnu.org; Sun, 27 Dec 2015 02:17:33 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:50721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aD5a5-0001vk-6T for info-gnus-english@gnu.org; Sun, 27 Dec 2015 02:17:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aD5a2-0005Bq-AV for info-gnus-english@gnu.org; Sun, 27 Dec 2015 08:17:26 +0100 Original-Received: from 111.197.157.87 ([111.197.157.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Dec 2015 08:17:26 +0100 Original-Received: from eric by 111.197.157.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Dec 2015 08:17:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 111.197.157.87 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:P6zrWk2I9dAuS0h1lg6W4GqhKN4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 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+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17863 Archived-At: Benjamin Slade writes: > Eric Abrahamsen writes: > >> B. Slade wrote: >>> So in the *Group* buffer, which looks like: >>> >>> [ Gnus -- 9198 ] >>> [ Emacs ] >>> 0:imap+mymail:emacs >>> 7:imap+mymail:sexy_emacs >>> [ Work ] >>> 9000:imap+gmail:urgent_work >>> [ misc ] >>> 89:imap+mymail:origami >>> ... >>> etc., etc. >>> >>> I have setup certain topics and arranged groups within them. Is there a >>> way to sync this between machines? Or is it something which needs to be >>> recreated by hand on each separate machine? >>> >>> It doesn't look like Gnus is saving these settings in .emacs or anything. >> >> It's kept in the variable `gnus-topic-alist', which is saved to the file >> pointed to by `gnus-startup-file', which on this machine points to >> ~/.emacs.d/.newsrc. That's where gnus stores most of its state, >> including subscribed groups and message marks. >> >> I wouldn't recommend copying this file between machines -- I tried that >> before, and it didn't work out well. There is a possibility that in the >> future, Gnus' various state objects will be separated out a little more >> cleanly. It would be nice to at least have a separation between >> "settings than can be synced or kept in version control" (which would >> include group subscriptions and topic arrangements), and "settings that >> only Gnus should mess with", which I guess would mostly be marks. >> >> For the time being, though, at least you can manually copy the setq >> statement out of newsrc.eld... >> > > Ah, thanks. I see it now. Yes, I already tried just copying .newsrc and > .newsrc.eld and that didn't seem to work well. But manually copying the > setq out of .newsrc.eld seems like a reasonable stopgap solution. Especially if you're not changing things all the time. Hopefully we'll have a better solution before too long!