From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: vc-dir default directory: repository root? Date: Wed, 21 Jan 2015 18:47:15 +0000 Message-ID: References: <54B0CC33.2050100@dancol.org> <54BC60A8.6040401@yandex.ru> <54BD9071.5070802@yandex.ru> <54BFE680.9000109@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421866041 30650 80.91.229.3 (21 Jan 2015 18:47:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 18:47:21 +0000 (UTC) Cc: Dan Nicolaescu , Daniel Colascione , Stefan Monnier , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 21 19:47:19 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 1YE0JB-0005Jv-39 for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 19:47:17 +0100 Original-Received: from localhost ([::1]:49725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE0JA-0004ul-01 for ged-emacs-devel@m.gmane.org; Wed, 21 Jan 2015 13:47:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE0J7-0004uf-7m for emacs-devel@gnu.org; Wed, 21 Jan 2015 13:47:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YE0J5-0008Ib-23 for emacs-devel@gnu.org; Wed, 21 Jan 2015 13:47:13 -0500 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:64311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YE0J4-0008IN-OT; Wed, 21 Jan 2015 13:47:10 -0500 Original-Received: by mail-wi0-f170.google.com with SMTP id em10so17001882wid.1; Wed, 21 Jan 2015 10:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=yIqj9hLWMDWx2pzqIXgzyYWzXxtKdvtNxNFqsQZN4aQ=; b=a8j/spO9bNETUon2iSplH49FpcG7nvfWzLEmyT3aSu/kNkSlxd4qgDGrqWfmQhfjMu agbgY+CLIyS4feo1PEZPcHhZfmLVsRc9SQaVLalnxs72NzEo3g8wzNAoEYtMRgSsl74v RH3XH7EKwRPGV4y3M9MDEJ/CjCllHSXHXKfcTYHCF+lrEFXK8vJy+TjpHpzZ/9BEUR6i f5pQN0Aj573/FIvhqxEZYCaOAHc3Jccr4DOY0myDog3Fr4QR9HQRUQlCajxB4Neskm19 b58zPMQIOj6eKdkro0PeujnW9rXfdDgzF0jrINszJJ/Dn3YhtYjwmobfHvn2J5s3Av7e Ll4g== X-Received: by 10.180.206.165 with SMTP id lp5mr59404629wic.83.1421866029900; Wed, 21 Jan 2015 10:47:09 -0800 (PST) Original-Received: from holy.local.yourcompany.com ([2001:690:21c0:e010:f87b:e91b:bbc:101]) by mx.google.com with ESMTPSA id fc6sm8371981wib.12.2015.01.21.10.47.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 10:47:09 -0800 (PST) In-Reply-To: <54BFE680.9000109@yandex.ru> (Dmitry Gutov's message of "Wed, 21 Jan 2015 19:48:48 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (darwin) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a 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:181513 Archived-At: Dmitry Gutov writes: > On 01/21/2015 07:33 PM, Dan Nicolaescu wrote: > >>> We don't really know what "most people like". > We do know that a whole lot of people consider Magit to be the best > thing since sliced bread. It does not provide such functionality, and > I don't see anyone asking. I understand this is not (yet?) a vote, but wanted nevertheless to show my support for Daniel and Stefan's idea (also I really really don't consider Magit to be that good). In my perspective, in Git, it almost never makes sense to `vc-dir' into anything but the root directory. AFAIK there is no git-status for subdirectories (unless they are a submodule), and I see `vc-dir' as an interactive substitute for git-status. More practically, among other annoyances, it is especially annoying when `M-x vc-dir' opens in a subdir and I press `v' to commit marked files. In that occasion, the contents of the transient (or file-based, in the case of Emacs itself) ChangeLog buffers, which are conveniently and automatically transported into the VC-log buffer, happens incorrectly, omitting the full path that is the convention. So, may I ask what is the trouble with making this option depend on the current visited file's `vc-backend`? CVS and others could default to default-directory and Git and others could default to the root directory. Jo=C3=A3o