From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Walrond Newsgroups: gmane.emacs.help Subject: Re: how to keep .emacs files in synch Date: Thu, 04 Oct 2007 13:14:12 +0100 Message-ID: <4704D914.2010604@walrond.org> References: <87abqz2ojt.fsf@lion.rapttech.com.au> <1191497680.628975.169760@o80g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191499989 864 80.91.229.12 (4 Oct 2007 12:13:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 12:13:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: weber Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 04 14:13:05 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IdPZd-0002Tf-EV for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2007 14:13:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdPZY-0004o0-PH for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Oct 2007 08:12:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdPXi-00048q-CK for help-gnu-emacs@gnu.org; Thu, 04 Oct 2007 08:11:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdPXg-00048K-RA for help-gnu-emacs@gnu.org; Thu, 04 Oct 2007 08:11:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdPXg-00048F-M9 for help-gnu-emacs@gnu.org; Thu, 04 Oct 2007 08:11:00 -0400 Original-Received: from marvin.h-e-r-e-s-y.com ([87.106.62.5]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IdPXg-0002Sn-4h for help-gnu-emacs@gnu.org; Thu, 04 Oct 2007 08:11:00 -0400 Original-Received: from orion.h-e-r-e-s-y.com ([213.120.249.28] helo=[172.16.1.254]) by marvin.h-e-r-e-s-y.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IdPf7-0001oX-TB; Thu, 04 Oct 2007 12:18:42 +0000 User-Agent: Icedove 1.5.0.12 (X11/20070731) In-Reply-To: <1191497680.628975.169760@o80g2000hse.googlegroups.com> X-Enigmail-Version: 0.94.2.0 X-Detected-Kernel: Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48115 Archived-At: weber wrote: > > In my head a distributed versioning system like darcs would be nice > for keeping my emacs updated between pcs, so i could send patches to > myself via email... > But after trying it I found out that it also needs a central > repository for comparing what has changed. (I thought you could just > say "everything that changed since yesterday" > Hmm not entirely sure what you mean. But with Mercurial (good distributed SCM), you could share your .config files with something like this: cd ~ hg init hg add .emacs .emacs/* .screenrc hg commit Whenever you make changes, just do hg commit Then on any other server, something like cd ~ hg init hg pull ssh://me@fqdn_of_server_one/~/ would get the files. Subsequent changes could be retrieved with a simple hg pull -u or 'pushed' to another server with hg push ssh://me@fqdn_of_server/~/ Doesn't get much simpler than that :) Andrew Walrond