unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@uni-duisburg.de (Kai Großjohann)
Subject: Re: Loading local .emacs from remote machine
Date: Thu, 06 Feb 2003 14:42:45 +0100	[thread overview]
Message-ID: <84r8alsey2.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 811y2ldexb.fsf@kwikemart.springfield.se

Mac <oonplnhd02@sneakemail.com> 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

  reply	other threads:[~2003-02-06 13:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1346.1044295047.21513.help-gnu-emacs@gnu.org>
2003-02-03 23:45 ` Loading local .emacs from remote machine Kevin Rodgers
2003-02-04  1:08   ` gebser
2003-02-05 16:33     ` bigfaceworm
2003-02-05 19:09       ` gebser
2003-02-07 22:12       ` Brian Palmer
2003-02-04  6:39 ` Kai Großjohann
2003-02-04 16:35   ` gebser
2003-02-04 17:30     ` Kai Großjohann
2003-02-04 21:51       ` gebser
2003-02-06  7:44   ` Mac
2003-02-06 13:42     ` Kai Großjohann [this message]
2003-02-06 14:06       ` Glenn Morris
2003-02-06 15:12         ` Kai Großjohann
2003-02-06 15:42           ` Glenn Morris
     [not found] <mailman.1406.1044395706.21513.help-gnu-emacs@gnu.org>
2003-02-04 23:30 ` Kevin Rodgers
2003-02-05  0:38   ` gebser
2003-02-05  0:50     ` David Kastrup
2003-02-05 12:45       ` gebser
2003-02-05 12:37     ` gebser
2003-02-05 12:51 ` Kai Großjohann
2003-02-05 15:17   ` gebser
2003-02-05 16:04     ` David Kastrup
2003-02-05 17:06     ` Kevin Rodgers
2003-02-03 17:56 gebser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84r8alsey2.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@uni-duisburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).