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: Mon, 19 Jan 2015 06:54:11 +0200 Message-ID: <54BC8DF3.9080401@yandex.ru> References: <54B0CC33.2050100@dancol.org> <54BC6031.6010304@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 1421643265 5693 80.91.229.3 (19 Jan 2015 04:54:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 04:54:25 +0000 (UTC) Cc: Daniel Colascione , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 19 05:54:24 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 1YD4M4-00033A-AB for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 05:54:24 +0100 Original-Received: from localhost ([::1]:35583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD4M3-0004gA-KI for ged-emacs-devel@m.gmane.org; Sun, 18 Jan 2015 23:54:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD4M0-0004fo-BU for emacs-devel@gnu.org; Sun, 18 Jan 2015 23:54:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YD4Lv-0006z5-Bo for emacs-devel@gnu.org; Sun, 18 Jan 2015 23:54:20 -0500 Original-Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:64020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD4Lv-0006yz-5I for emacs-devel@gnu.org; Sun, 18 Jan 2015 23:54:15 -0500 Original-Received: by mail-wg0-f41.google.com with SMTP id a1so7618303wgh.0 for ; Sun, 18 Jan 2015 20:54:14 -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=TQ2o/vzQxrkZrEVUdl/9qkllhnQ3hvGAQyQHbIl0h5o=; b=x5EAidn9pVNBhSJj5Jx+81/hXT4INVh0liEJMwxmVZB1VWjpBV2ALpZR7fU7bb4xs2 qklqOlGn62NGxEs9LTtkbj4LCQJ38KI4OjlC1O2N7PigGVos1NFMFc4Bs15FkJkwmYs9 BZdSkcgyCeFVcq7Mz8QnW4NE5rpEIMFsjKD/0CoOUDpH2cQkvZ8jwKCV/2rCOqWcShSB u8dwvtD92HTpos8F7Noxf20+vyvzwn/oF5/7BPvbLQh4K64JX/ww+0dzo5GUSTScK8Vs V134AgV1yV3HShEuVd9W3Pd4WGztTwW7B1ly84DlHxkTCJuHeckPwrlbXabY6hONQo8b om6w== X-Received: by 10.194.110.69 with SMTP id hy5mr56073014wjb.121.1421643254492; Sun, 18 Jan 2015 20:54:14 -0800 (PST) Original-Received: from [192.168.1.3] ([82.102.93.54]) by mx.google.com with ESMTPSA id r3sm12687424wic.10.2015.01.18.20.54.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Jan 2015 20:54:13 -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:c00::229 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:181427 Archived-At: On 01/19/2015 05:01 AM, Stefan Monnier wrote: > I think Daniel's patch is a good tradeoff, It could be. > 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. But there are dissenting voices even for this patch. To satisfy them, we'd have to add a user option, and either way the user has to press RET. My approach, on the other hand, implements the common case in the quickest way as a separate command, so anyone who doesn't like it can use `define-key' to revert the keybinding change.