From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: vc-dir default directory: repository root? Date: Tue, 20 Jan 2015 01:17:05 +0200 Message-ID: <54BD9071.5070802@yandex.ru> References: <54B0CC33.2050100@dancol.org> <54BC60A8.6040401@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1421709446 15431 80.91.229.3 (19 Jan 2015 23:17:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 23:17:26 +0000 (UTC) Cc: Daniel Colascione , Emacs developers To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 20 00:17:26 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 1YDLZV-0007kz-N7 for ged-emacs-devel@m.gmane.org; Tue, 20 Jan 2015 00:17:25 +0100 Original-Received: from localhost ([::1]:40197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDLZU-00057K-VM for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 18:17:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDLZH-000579-LL for emacs-devel@gnu.org; Mon, 19 Jan 2015 18:17:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDLZE-0002fD-FU for emacs-devel@gnu.org; Mon, 19 Jan 2015 18:17:11 -0500 Original-Received: from mail-we0-x22c.google.com ([2a00:1450:400c:c03::22c]:57444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDLZE-0002f8-7D; Mon, 19 Jan 2015 18:17:08 -0500 Original-Received: by mail-we0-f172.google.com with SMTP id k11so34025898wes.3; Mon, 19 Jan 2015 15:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=n7Np7wegs1dLW7A/3Qf91alHWypE+UpqHNqQ2hPh41Y=; b=VLwicsEc37dPbsKjRnj/eWYGcSevGP+h2J2iW7hcsPO7kbqfBWDhpkVL4ImG+FExwg nzfTB1c/6E6az9/dRyNMlkNCWN/VXaZSBhRQejbzyq+WLlxQI2pdn6RQmaX0DRDObyPj 617wW/0DS58//jeJur6kaKgOuQ8ejbVuXbomiUP1ggrYXPbfHPvzAxtJq3qfnaW4Sc4C 3ChnyJzokqn3oya3/DZTQ6dc/CPG85/IbzUnbFqji1+lQSH6M/Mz3Hj3dWFbPeyiy9Om 1Tf84s4lbB0mwLm6Wx0zMZYJoS1TAJor+BKAsFLCgTIoD+rZFYuQ8iJBAkfdtY/xOG+j NU/g== X-Received: by 10.180.93.1 with SMTP id cq1mr39660358wib.2.1421709427639; Mon, 19 Jan 2015 15:17:07 -0800 (PST) Original-Received: from [192.168.1.3] ([82.102.93.54]) by mx.google.com with ESMTPSA id qd2sm752389wic.19.2015.01.19.15.17.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 15:17:07 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22c 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:181455 Archived-At: On 01/19/2015 05:47 PM, Dan Nicolaescu wrote: > CVS does not work on the root level. > Even in SVN, it's ok and desirable to just look at a subdirectory. Isn't that an implementation detail, as far as the current discussion is concerned? Git can also show only the status of files in a subdirectory, if you ask it. > vc-dir has used the current directory since the beginning, I haven't > seen any request to change it until now, it doesn't seem like changing > the default behavior after so many years when there were no requests to > do it is a good idea just because someone sent a patch to change it. You've missed http://debbugs.gnu.org/12492, then. This patch also constitutes one request, obviously. And you shouldn't forget that VC is not the most popular VCS package among advanced Emacs users, Magit is. We're playing catch-up. > vc-hg displays the "Root" in the vc-dir header. The intention with that > was to make it a button that would display vc-dir on the top level > directory. > All backends (especially vc-git) should implement that Root header and > implement a button for it... That's an awkward proposal. To have to open vc-dir, then move my hand to the mouse, or point to the button, then push it... Root is a good default, so vc-dir buffer for it should be easier to create than for a subdirectory.