From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [patch] vc-find-root with invert Date: Wed, 23 Jul 2008 15:35:12 -0400 Message-ID: References: <486E5CE0.5090004@justinbogner.com> <486E668E.2050600@justinbogner.com> <20080705072126.GA936@tomas> <4884B8FC.9040301@justinbogner.com> <488500C2.8060001@justinbogner.com> <85ej5maodw.fsf@lola.goethe.zz> <48850C7A.6050800@justinbogner.com> <853am2aljq.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216841728 27631 80.91.229.12 (23 Jul 2008 19:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2008 19:35:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Justin Bogner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 23 21:36:17 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 1KLk8E-0004cL-K9 for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 21:36:14 +0200 Original-Received: from localhost ([127.0.0.1]:52990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLk7L-0004PO-7t for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 15:35:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLk7G-0004Nr-5l for emacs-devel@gnu.org; Wed, 23 Jul 2008 15:35:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLk7F-0004NX-H8 for emacs-devel@gnu.org; Wed, 23 Jul 2008 15:35:13 -0400 Original-Received: from [199.232.76.173] (port=36411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLk7F-0004NU-DM for emacs-devel@gnu.org; Wed, 23 Jul 2008 15:35:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:61636) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLk7F-0001LJ-24 for emacs-devel@gnu.org; Wed, 23 Jul 2008 15:35:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAMUkh0hFxIYw/2dsb2JhbACBWrIvgX0 X-IronPort-AV: E=Sophos;i="4.31,239,1215403200"; d="scan'208";a="24724809" Original-Received: from 69-196-134-48.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.48]) by ironport2-out.teksavvy.com with ESMTP; 23 Jul 2008 15:35:12 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4DE737F1C; Wed, 23 Jul 2008 15:35:12 -0400 (EDT) In-Reply-To: (Justin Bogner's message of "Tue, 22 Jul 2008 22:35:46 -0600") 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:101328 Archived-At: > This is a very valid point, and given Stefan's argument that these version > control systems don't have such concepts, I am somewhat dismayed. The > concept of a root directory of a project is extremely useful for things like > recursive grep, tags, etc. I find it quite helpful to set the > default-directory to the vc root in such circumstances. I agree it's useful. But there's no reason why this should be implicitly inferred/guessed from the structure of the revision control info. Even with VCS such as Bazaar or Git, you can have a single project decomposed into several checkouts of various Bazaar and/or Git subprojects (in Arch, this was supported explicitly (tho poorly) via the notion of "config"). > Oh well, given the arguments, I vote that this is a misfeature and should > be removed. I'm glad we agree. Stefan