From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Loading local .emacs from remote machine Date: Thu, 06 Feb 2003 14:42:45 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84r8alsey2.fsf@lucy.is.informatik.uni-duisburg.de> References: <848ywwtur8.fsf@lucy.is.informatik.uni-duisburg.de> <811y2ldexb.fsf@kwikemart.springfield.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044539076 10092 80.91.224.249 (6 Feb 2003 13:44:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 13:44:36 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gmKO-0002cW-00 for ; Thu, 06 Feb 2003 14:44:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gmLp-0005jl-03 for gnu-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2003 08:46:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1044538984 39501707 134.91.35.216 (16 [73968]) User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:cUgZbwSwBI/vcJExMAW06GDe9hw= Original-Xref: shelby.stanford.edu gnu.emacs.help:109854 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6359 Mac writes: > En dag, närmare bestämt 2003-02-04, plitade Kai Großjohann ner: > >> I think what I would do is to set up a CVS repository and put my dot >> files in there, then write a Makefile that sets up symlinks from >> $HOME to the locations in the CVS repository. > > Could anyone elaborate on which files the Makefile actually would > create links to. > > I don't get it, but I really like the described end result. Let's say you have a CVS work directory ~/work/dotfiles for your, well, dot files. Then you'd create two files .emacs and Makefile there and Makefile would look like this: install: ( cd $HOME; ln -s work/dotfiles/.emacs ) After this, wherever you go, just mkdir ~/work cd ~/work cvs -d $YOUR_REPOSITORY co dotfiles cd dotfiles make install The above is for a fresh account. After you've done it once, just cd ~/work/dotfiles cvs up -dP make install if the repository has changed. -- A turnip curses Elvis