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: vc-dir default directory: repository root? Date: Wed, 21 Jan 2015 12:33:42 -0500 Message-ID: References: <54B0CC33.2050100@dancol.org> <54BC60A8.6040401@yandex.ru> <54BD9071.5070802@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1421861646 19249 80.91.229.3 (21 Jan 2015 17:34:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 17:34:06 +0000 (UTC) Cc: Daniel Colascione , Emacs developers , Dmitry Gutov To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 21 18:34:05 2015 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 1YDzAJ-0005z3-4x for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 18:34:03 +0100 Original-Received: from localhost ([::1]:49477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDzAI-0007Px-Bv for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 12:34:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDzA2-0007OW-7U for emacs-devel@gnu.org; Wed, 21 Jan 2015 12:33:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDz9z-0006Ey-M4 for emacs-devel@gnu.org; Wed, 21 Jan 2015 12:33:45 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDz9z-0006EZ-Hc for emacs-devel@gnu.org; Wed, 21 Jan 2015 12:33:43 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YDz9y-0001Z0-Oz; Wed, 21 Jan 2015 12:33:42 -0500 In-Reply-To: (Stefan Monnier's message of "Wed, 21 Jan 2015 09:33:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e 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:181508 Archived-At: Stefan Monnier writes: >> It looks like root is a personal preference, there's still not much in >> terms of solid arguments of why to change a long time default, and the >> patch doesn't even give a way to get the current behavior, which most >> people like. > > We don't really know what "most people like". What we do know is that > the world of revision control has changed a lot since that code was > written: back then, there was simply no notion of "project root". That's not quite true, I wrote vc-dir.el in 2007, mostly to deal better with git and hg project, "project root" was quite well known at a time. > And since many operations in recent VCSes operate on the whole project, > I think it's very reasonable to assume that users will generally want to > see the whole project. That suffers from the same problem in our first paragraph... > It's at least my case and Daniel's case. > > We can provide the default-directory in M-n or something like that, but > Daniel's patch is good. I strongly disagree. I provided an alternative suggestion: make C-u C-x v d default to the root directory, or something to put it in history.