From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/15756 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.gnus.user Subject: Group parameters Date: Fri, 31 Aug 2012 05:02:20 +0000 (UTC) Message-ID: 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 1346390113 14029 80.91.229.3 (31 Aug 2012 05:15:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2012 05:15:13 +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 07:15:14 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 1T7JZW-0000Dj-Gt for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2012 07:15:10 +0200 Original-Received: from localhost ([::1]:42379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7JZU-0007Rb-3f for gegu-info-gnus-english@m.gmane.org; Fri, 31 Aug 2012 01:15:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7JZR-0007Po-F9 for info-gnus-english@gnu.org; Fri, 31 Aug 2012 01:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7JZQ-0007VI-9w for info-gnus-english@gnu.org; Fri, 31 Aug 2012 01:15:05 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7JZQ-0007Rx-3e for info-gnus-english@gnu.org; Fri, 31 Aug 2012 01:15:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T7JZP-0008Sq-8b for info-gnus-english@gnu.org; Fri, 31 Aug 2012 07:15:03 +0200 Original-Received: from adsl-75-18-171-51.dsl.pltn13.sbcglobal.net ([75.18.171.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 07:15:03 +0200 Original-Received: from itz by adsl-75-18-171-51.dsl.pltn13.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Aug 2012 07:15:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 75.18.171.51 (Mozilla/5.0 (X11; Linux i686; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6) 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:15756 Archived-At: 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 == unison). 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?