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 16:55:07 +0200 Message-ID: <54BD1ACB.10100@yandex.ru> References: <54B0CC33.2050100@dancol.org> <54BC6031.6010304@yandex.ru> <54BC8DF3.9080401@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 1421679323 31690 80.91.229.3 (19 Jan 2015 14:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 14:55:23 +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 15:55:23 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 1YDDje-0000Pl-JS for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 15:55:22 +0100 Original-Received: from localhost ([::1]:37870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDDjd-0008Dl-RD for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 09:55:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDDjZ-0008A2-0Z for emacs-devel@gnu.org; Mon, 19 Jan 2015 09:55:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDDjU-0005uc-M1 for emacs-devel@gnu.org; Mon, 19 Jan 2015 09:55:16 -0500 Original-Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:42199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDDjU-0005uR-FY for emacs-devel@gnu.org; Mon, 19 Jan 2015 09:55:12 -0500 Original-Received: by mail-wi0-f182.google.com with SMTP id n3so15250418wiv.3 for ; Mon, 19 Jan 2015 06:55:10 -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=oPPipImHJQ5kVkTmS9Tw+Z03LbWK23JJZg1P/9EaZpk=; b=HsFdItx0LMCiPlGwfIMdHFL5i8PmBL60CmH8CAzm6pBlR6GQ3O1fkTWPLZwi97afB2 SKe3YUL4TeDy78dvImZC4F27ZhUBd+ThZc2uBjYT3oLrfJQWMvzTqo5nIlbhEXX+5dUK jazg4DefFxTKgqrPDq8KB6byxBHduiSuFH37ezr70u8VD3Mkb/u/Iuk9pj8Rn12c2nXe 5Wqvde6efmg9Oe1kJ+q+8d9BFOPz9/982t6PzjsufvloOh9ZyeK39LczAR/rbpBvj5wI 7LbNJ+mkoBASmcZN4TrbPHC7kYQM+ANMuCpk5gZ6vQz/ft0zee9GIp72C+p+8E/DDmvb vR1g== X-Received: by 10.194.184.204 with SMTP id ew12mr1793572wjc.85.1421679310534; Mon, 19 Jan 2015 06:55:10 -0800 (PST) Original-Received: from [192.168.1.3] ([82.102.93.54]) by mx.google.com with ESMTPSA id q10sm14219711wjr.41.2015.01.19.06.55.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Jan 2015 06:55:09 -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:c05::236 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:181434 Archived-At: On 01/19/2015 04:16 PM, Stefan Monnier wrote: > There always are. We don't have to (and can't) accommodate everyone > (not even me). Someone should feel free to go ahead with that patch, but here's another possible avenue for improvement: don't ask for the directory when there's an existing vc-dir buffer, and it's for a parent of/or the current directory. Just display it, maybe not even refresh until the user asks. That will cut some of the prompts overhead as well. Although if some users work on several dirs simultaneously, we'll need a way to force the directory selection, and the prefix argument is already taken.