From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#43153: Add new command project-find-dir (and move binding of project-dired) Date: Tue, 21 Sep 2021 20:29:39 +0300 Organization: LINKOV.NET Message-ID: <87bl4l26dw.fsf@mail.linkov.net> References: <3071f53f-4334-6ed6-e69e-b49122492a1b@yandex.ru> <87czp4ikng.fsf@mail.linkov.net> <87h7egfoz2.fsf@mail.linkov.net> <87r1djn3ea.fsf@mail.linkov.net> <1c06c9eb-0edc-6c3d-8e7b-f6d6ab27f228@yandex.ru> <87mto7nudg.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36784"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Kangas , 43153@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 19:33:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSjdp-0009SO-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 19:33:13 +0200 Original-Received: from localhost ([::1]:48582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSjdo-00084g-Cy for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 13:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSjde-00081f-OM for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSjde-0006lU-Dz for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSjde-0003If-8a for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Sep 2021 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43153 X-GNU-PR-Package: emacs Original-Received: via spool by 43153-submit@debbugs.gnu.org id=B43153.163224553511524 (code B ref 43153); Tue, 21 Sep 2021 17:33:02 +0000 Original-Received: (at 43153) by debbugs.gnu.org; 21 Sep 2021 17:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:47885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSjct-0002zb-BW for submit@debbugs.gnu.org; Tue, 21 Sep 2021 13:32:15 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:34193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSjcr-0002t1-Fn for 43153@debbugs.gnu.org; Tue, 21 Sep 2021 13:32:14 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id D3FA2240002; Tue, 21 Sep 2021 17:32:05 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Mon, 20 Sep 2021 18:30:41 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215005 Archived-At: >>>> BTW, I have such customization: >>>> (define-key project-prefix-map "V" vc-prefix-map) >>>> to allow vc commands in a project, e.g. 'C-x p V D' for 'vc-root-diff'. >>> Hmm. I'm not sure when I'd use it instead of the shorter 'C-x v D'. >>> >>> When you are inside a Git submodule, maybe? It can make a difference. But >>> then you have to be aware that the diff will not include changes in the >>> submodules (just the changed summary hashes). >> I meant that 'C-x p V D' can be typed outside of a repository >> to select a project. > > Ah. That should be handy, yes. But like there is the binding 'C-x v d' to 'vc-dir' wouldn't it better to provide the same for project? Then 'C-x p v d' could use 'project-vc-dir', and other 'C-x v' bindings will be available under 'C-x p v'.