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: vc-dir default directory: repository root? Date: Wed, 21 Jan 2015 09:33:20 -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 X-Trace: ger.gmane.org 1421851678 3654 80.91.229.3 (21 Jan 2015 14:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 14:47:58 +0000 (UTC) Cc: Daniel Colascione , Emacs developers , Dmitry Gutov To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 21 15:47:57 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 1YDwZY-0002JO-Rf for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 15:47:57 +0100 Original-Received: from localhost ([::1]:48656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwZY-0002xr-4C for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 09:47:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwZL-0002xk-HA for emacs-devel@gnu.org; Wed, 21 Jan 2015 09:47:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDwZK-0007g0-Na for emacs-devel@gnu.org; Wed, 21 Jan 2015 09:47:43 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:14515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDwLR-000640-Dd; Wed, 21 Jan 2015 09:33:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AskIAOwQflSnWBWM/2dsb2JhbABbgweDYMp3BAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLNBIUGA0kiEoJ1lkBAQEHAQEBAR6QbweESAWLAaYmhBkhgncBAQE X-IPAS-Result: AskIAOwQflSnWBWM/2dsb2JhbABbgweDYMp3BAICgSQXAQEBAQEBfIQDAQEDAVYjBQsLNBIUGA0kiEoJ1lkBAQEHAQEBAR6QbweESAWLAaYmhBkhgncBAQE X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108366320" Original-Received: from 167-88-21-140.cpe.teksavvy.com (HELO pastel.home) ([167.88.21.140]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2015 09:33:20 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1965512C9; Wed, 21 Jan 2015 09:33:20 -0500 (EST) In-Reply-To: (Dan Nicolaescu's message of "Tue, 20 Jan 2015 15:06:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:181501 Archived-At: > 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". 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. 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. Stefan