From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15757 Path: news.gmane.org!not-for-mail From: Kevin Brubeck Unhammer Newsgroups: gmane.emacs.gnus.user Subject: Re: Group parameters Date: Fri, 31 Aug 2012 08:30:18 +0200 Message-ID: <87bohrpo91.fsf@fsfe.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8465398010659446344==" X-Trace: ger.gmane.org 1346394674 13763 80.91.229.3 (31 Aug 2012 06:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2012 06:31:14 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Aug 31 08:31:16 2012 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 1T7Kl9-0001gv-6d for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2012 08:31:15 +0200 Original-Received: from localhost ([::1]:34551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Kl6-0004sk-Qj for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2012 02:31:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Kl4-0004sd-DO for info-gnus-english@gnu.org; Fri, 31 Aug 2012 02:31:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7Kl3-0006Kh-7S for info-gnus-english@gnu.org; Fri, 31 Aug 2012 02:31:10 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Kl3-0006Is-0A for info-gnus-english@gnu.org; Fri, 31 Aug 2012 02:31:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T7Kl0-0001T8-UX for info-gnus-english@gnu.org; Fri, 31 Aug 2012 08:31:06 +0200 Original-Received: from cde31bf51.dhcp.as2116.net ([81.191.49.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 08:31:06 +0200 Original-Received: from unhammer by cde31bf51.dhcp.as2116.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 08:31:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 82 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cde31bf51.dhcp.as2116.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:Dz1wDwEU46ap8dDLzcR4fFDj2rQ= 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:15757 Archived-At: --===============8465398010659446344== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ian Zimmerman writes: > I have Gnus installed on 2 computers ("desktop" and "laptop"). I would > like my groups to have exactly the same parameters in both cases. It > doesn't have to be completely automatic, but not completely manual, > either; that is, I want to avoid doing G c on each group on each > computer and entering the same things. The shape of the solution I have > in mind is that after customizing a group on one computer I execute a > magic command foo (inside Emacs or otherwise) and the changes propagate > to the other. (This is how I handle many other situations, with foo =3D= =3D > unison). I don't know if it's completely transferrable to "G c", since I've never used that, but I use unison to sync which messages are read and which groups are subscribed to (I have .emacs and friends in git instead, since I prefer version history there). I guess my setup would sync "G c" settings too if they are in newsrc. my ~/.unison/default.prf: path=3D.newsrc path=3D.newsrc.eld path=3D.Mail path=3D.News ignore=3DName temp.* ignore=3DName .*~ ignore=3DName *.tmp my ~/.emacs: (setq gnus-directory "~/.News") (setq message-directory "~/.Mail/") I also run (shell-command "unison --args") in `gnus-after-exiting-gnus-hook'. > However, the way Gnus saves the group parameters unfortunately doesn't > easily allow such solution: it saves them into the newsrc.eld file along > with, and interspersed with, other data that is clearly instance > specific, so I cannot just sync the whole file. I guess I could use the > gnus-parameters variable and read it from a different file, maybe > .emacs. But that still has 2 big disadvantages: 1. I am condemned to > use plain Lisp to set the parameters instead of Customize, and 2. I > cannot see a way to export the parameters I have already accumulated so I > would have to start by translating them manually (for each group). > > Presumably 2 can be solved with some personal Lisp code, but 1 would > remain. Does anyone have a helpful idea? If you're planning on being subscribed to the same groups on both machines, why not take a backup and just try it out? For me it has worked fairly well. I'm probably syncing some stuff I shouldn't be syncing (I still don't really know what goes into ~/.newsrc{,.eld}), but I think the most serious problems I've had so far is occasionally having to mark things as read that I'm sure I already marked as read on the other computer. =2D-=20 Kevin Brubeck Unhammer GPG: 0x766AC60C --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQQFn6AAoJEHQmBt52asYMEZgH/0qvjAiySvIpw8HZIO0CgeWS 7yfn5zC0Cw42GRabt4Q7K3Lkfk9tNZsRnkjmYlTZp4thc4bprdjy4MayphcUlwO9 hTMe8Kz+P2vCktrL5z8NhjYAEVI6o8A0dUNKsK6VqVdvMDePDyQSNh3QHzkfOcdh 4Q13yyP1rc6fen/2aFvTH77ZDjD6/4d20WIMYvytiATgOKh92lGhX5AbbSTNC+s3 yzuUkvlZNR8g+Gh/gPR9YFAx2d7r7pQFPCykcNPQowgihM3GUWYnFXFAbQT0oB9o 8d3TFEPAGampTjqZHR+CEyRN3jbrSBRXo4hEEhNGm7TOvm/EiZ66Rvuz9f7c/6A= =HPAk -----END PGP SIGNATURE----- --=-=-=-- --===============8465398010659446344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english --===============8465398010659446344==--