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: Sun, 18 Jan 2015 22:01:08 -0500 Message-ID: References: <54B0CC33.2050100@dancol.org> <54BC6031.6010304@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421636479 9088 80.91.229.3 (19 Jan 2015 03:01:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 03:01:19 +0000 (UTC) Cc: Daniel Colascione , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 19 04:01:18 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 1YD2aa-0003pZ-V3 for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 04:01:17 +0100 Original-Received: from localhost ([::1]:35323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD2aa-0004dr-CV for ged-emacs-devel@m.gmane.org; Sun, 18 Jan 2015 22:01:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD2aX-0004dc-DE for emacs-devel@gnu.org; Sun, 18 Jan 2015 22:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YD2aT-0002Bd-8y for emacs-devel@gnu.org; Sun, 18 Jan 2015 22:01:13 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:28947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD2aT-0002BD-64 for emacs-devel@gnu.org; Sun, 18 Jan 2015 22:01:09 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkEPAOwQflSnWBWM/2dsb2JhbABbgwdSgw6FWr8Ahh0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCw4mEhQYDSSISgnWWQEBAQcCAR+QbweESAWLAYoeiE2MeYZChBkhgncBAQE X-IPAS-Result: AkEPAOwQflSnWBWM/2dsb2JhbABbgwdSgw6FWr8Ahh0EAgKBJBcBAQEBAQF8hAMBAQMBViMQCw4mEhQYDSSISgnWWQEBAQcCAR+QbweESAWLAYoeiE2MeYZChBkhgncBAQE X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="108144977" Original-Received: from 167-88-21-140.cpe.teksavvy.com (HELO ceviche.home) ([167.88.21.140]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Jan 2015 22:01:08 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 32B0066100; Sun, 18 Jan 2015 22:01:08 -0500 (EST) In-Reply-To: <54BC6031.6010304@yandex.ru> (Dmitry Gutov's message of "Mon, 19 Jan 2015 03:38:57 +0200") 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:181421 Archived-At: >> I'd like to apply this patch. When I use vc-dir, I almost always want to >> look at the root of the repository, not the portion that contains the >> file I'm editing. What do you think? > Looks fine, but personally, I still prefer http://debbugs.gnu.org/12492. I think Daniel's patch is a good tradeoff, keeping the generality of the current code and the advantage of a single command, while providing a quick access to the common "open the root dir" case. Stefan