From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Multiple independent projects per directory Date: Fri, 12 Dec 2014 12:41:51 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: <20141212174151.GA26351@thyrsus.com> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <87y4qcj2mq.fsf@mat.ucm.es> <87mw6sdetf.fsf@fencepost.gnu.org> Reply-To: esr@thyrsus.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1418406176 16449 80.91.229.3 (12 Dec 2014 17:42:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 17:42:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 18:42:51 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XzUEs-0001g8-EL for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 18:42:50 +0100 Original-Received: from localhost ([::1]:58787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzUEr-0002JN-Rq for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 12:42:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzUEa-0002HM-Gk for emacs-devel@gnu.org; Fri, 12 Dec 2014 12:42:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzUEW-0006O9-9h for emacs-devel@gnu.org; Fri, 12 Dec 2014 12:42:32 -0500 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:47694 helo=snark.thyrsus.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzUEQ-0006M8-Lt; Fri, 12 Dec 2014 12:42:22 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id F2000C008E; Fri, 12 Dec 2014 12:41:51 -0500 (EST) Content-Disposition: inline In-Reply-To: <87mw6sdetf.fsf@fencepost.gnu.org> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.162.243.5 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179945 Archived-At: David Kastrup : > 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. -- Eric S. Raymond