emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple independent projects per directory


From: Eric S. Raymond
Subject: Multiple independent projects per directory
Date: Fri, 12 Dec 2014 12:41:51 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

David Kastrup <address@hidden>:
> If you have one directory per document, Git tends to be a more flexible
> solution.  Admittedly, it is not all that good for keeping independent
> files in the same directory versioned independently (sort of like a
> glorified file backup).  It would be an interesting exercise to teach
> this modus operandi to Emacs/VC (basically, keep a separate .git style
> directory for each file-gittified file and set the respective
> environment variable or command line argument to it for VC operations).

This would have been an interesting exercise before about a month ago.
But SRC occupies this exact functional niche and has VC support.  By
what I see in my mailbox it's spreading like wildfire. I keep getting
this reaction: "Until I saw this I had no idea it was exactly what I
wanted."

The stack looks like this: Emacs VC -> SRC -> RCS.  There's a win from
having SRC as an intermediate layer that is part UI and part
architectural.  Its command set is good to have in circumstances where
you want the features but don't have Emacs handy, and it keeps the
complexity of the Emacs code really low.  You might find it
instructive to compare vc-rcs.el with vc-src.el.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]