From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: vc-*-root finctions Date: Fri, 22 Feb 2008 15:54:36 +0100 Message-ID: <8763wh3utv.fsf@ambire.localdomain> References: <87skzn3mq9.fsf@ambire.localdomain> <87mypvxzd2.fsf@ambire.localdomain> <87pruqxqw8.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 1203692253 8570 80.91.229.12 (22 Feb 2008 14:57:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Feb 2008 14:57:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 22 15:57:55 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 1JSZLA-0006Ka-MH for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 15:57:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSZKf-0003FI-FB for ged-emacs-devel@m.gmane.org; Fri, 22 Feb 2008 09:57:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSZKS-0003BQ-3g for emacs-devel@gnu.org; Fri, 22 Feb 2008 09:56:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSZKP-0003Ap-Vb for emacs-devel@gnu.org; Fri, 22 Feb 2008 09:56:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSZKP-0003Ad-Qh for emacs-devel@gnu.org; Fri, 22 Feb 2008 09:56:45 -0500 Original-Received: from [151.61.143.248] (helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JSZKP-0003O8-4I for emacs-devel@gnu.org; Fri, 22 Feb 2008 09:56:45 -0500 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1JSZIK-0002Z5-0U; Fri, 22 Feb 2008 15:54:36 +0100 In-Reply-To: (Stefan Monnier's message of "Thu, 21 Feb 2008 11:16:04 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:89968 Archived-At: () Stefan Monnier () Thu, 21 Feb 2008 11:16:04 -0500 Who cares? If the user wants to go up and it does not belong to any VCS then we can detect it without vc-*-root, and if the user wants to go up but it belongs to another backend, I see no reason to disobey the user. I.e. the functionality of "going up" is fine, but it does not require the introduction of vc-*-root. Note: The feature is not "going up", for which i would agree there is no burning need for (yet) another way to thwart the user. Rather, the feature is to present the line: Directory: ~/build/GNU/git-emacs/lisp/calendar with "git-emacs", "lisp" and "calendar" as buttons. If i want to do `(vc-status "~/build/GNU")', then presenting "GNU" as plain (non-button) text tells me -- even before i try -- that according to vc-git-root, that directory is not in the same project i am in at the moment. The buttons, on the other hand, tell me -- again, even before i try -- that those directories are in-project. I suspect you haven't tried out the patch(es). Have you? thi