From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: State of VC? Date: Mon, 18 Feb 2008 09:40:31 -0800 Message-ID: <200802181740.m1IHeVnX001580@sallyv1.ics.uci.edu> References: <20080122164306.3B33C83045C@snark.thyrsus.com> <200801222207.m0MM7rlR014153@sallyv1.ics.uci.edu> <200801231901.m0NJ10CP029274@sallyv1.ics.uci.edu> <200801261921.m0QJLmx5011377@sallyv1.ics.uci.edu> <20080126220610.GA25619@thyrsus.com> <200802171816.m1HIGmZr015446@sallyv1.ics.uci.edu> <87odaf8mq4.fsf@ambire.localdomain> <200802171856.m1HIuO7N000236@sallyv1.ics.uci.edu> <87y79i3d4m.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203356674 24509 80.91.229.12 (18 Feb 2008 17:44:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2008 17:44:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 18:44:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JRA2v-0008Tu-U2 for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 18:44:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRA2R-0004gu-Br for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2008 12:44:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JRA1H-0003MH-Tt for emacs-devel@gnu.org; Mon, 18 Feb 2008 12:43:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JRA1G-0003Js-6w for emacs-devel@gnu.org; Mon, 18 Feb 2008 12:43:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JRA1F-0003JU-UE for emacs-devel@gnu.org; Mon, 18 Feb 2008 12:43:10 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JRA1F-0002ER-Qu for emacs-devel@gnu.org; Mon, 18 Feb 2008 12:43:10 -0500 X-ICS-MailScanner-Watermark: 1203961232.45649@QXocI6jCuVCzQOPY4SKezQ Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1IHeVnX001580; Mon, 18 Feb 2008 09:40:31 -0800 (PST) In-Reply-To: <87y79i3d4m.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Mon, 18 Feb 2008 09:03:21 +0100") Original-Lines: 54 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89503 Archived-At: Thien-Thi Nguyen writes: > () Dan Nicolaescu > () Sun, 17 Feb 2008 10:56:24 -0800 > > AFAIK no. > > I have just added vc-dir-status for Git. Sigh, moments after > the C-c C-c, i see new func vc-git--ls-files-state, which > probably could have been useful. However, before doing any > more munging, it would be nice for us to figure out what is > vc-dir-status philosophy and design, and write that down in a > vc.el comment so that backend support can derive guidance and > check for conformance. Labeling everything EXPERIMENTAL is > lame; one such warning in vc.el should suffice. Sorry, but this sounds too much like a rant for missing the obvious: the implementation for `vc-git-dir-status' should be modeled after the thing it tries to replace: `vc-git-dir-state'. vc-status code was added as a PROOF OF CONCEPT that it's easy to replace vc-dired with something that is simpler, it has more features (asynchronous), it can be easily extended and it does not take 10 years to find fundamental bugs. As long as it stayed in experimental state (and that was until yesterday) it made more sense to spend time writing proof of concept code, and there was little point to spend time writing ISO9000 type documents describing it. On top of that, everything was discussed at length on the list. > Personally, i don't think vc-directory for Git is that bad > (w/ some tweaking)[0]. You mean "vc-git-hacking"? That link does not work. It would be more productive to add that code to vc-git, or post it here. > I *like* the "v" prefix, non-flat (visible) directory hierarchy, > and support for RCS and CVS. Feel free to add them. > I get the feeling that vc-dir-status is simply ewoc wanking. This bad attitude and adding this type of rants to vc-git.el: ;;; vc-dir-status support (EXPERIMENTAL) ;;; If vc-directory (which is not half bad under Git, w/ some tweaking) ;;; is to go away, vc-dir-status must at least support the same ;;; operations. At the moment, vc-dir-status design is still fluid (a ;;; kind way to say half-baked, undocumented, and spottily-supported), ;;; so the following should be considered likewise ripe for sudden ;;; unannounced change. YHBW, HAND. --ttn are totally counter-productive and seem to be designed just to aggravate people instead of focusing on improving ANYTHING.