From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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:49:27 +0300 Message-ID: <1d70d0dd-ff94-cbfe-0cd2-d7b5dc3209e0@yandex.ru> 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> <87bl4l26dw.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2816"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: Stefan Kangas , 43153@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 19:50:15 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 1mSjuI-0000XO-BK for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 19:50:14 +0200 Original-Received: from localhost ([::1]:57560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSjuG-0006RT-G0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 13:50:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSju7-0006RH-Er for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSju7-0001ij-7x for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSju6-0005vN-H5 for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Sep 2021 17:50: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.163224657922731 (code B ref 43153); Tue, 21 Sep 2021 17:50:02 +0000 Original-Received: (at 43153) by debbugs.gnu.org; 21 Sep 2021 17:49:39 +0000 Original-Received: from localhost ([127.0.0.1]:47896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSjtj-0005uZ-EH for submit@debbugs.gnu.org; Tue, 21 Sep 2021 13:49:39 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:43562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSjth-0005uJ-Pa for 43153@debbugs.gnu.org; Tue, 21 Sep 2021 13:49:38 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id w17so33592818wrv.10 for <43153@debbugs.gnu.org>; Tue, 21 Sep 2021 10:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8XiaOlOPPaHOL0nEn3qDU8pTAcX6qlihbSe6JjligKM=; b=YzRvIdQgHRCzznSjiQScxyqqGLm4h8bO9Uo3V1fC8y68mMsTUvR5oCeQyCE/Q1f6PH yWdupCzLWSrzjYs1Z/3jv1DUD5NDlFJfeb4XNmqYxlC4Z36p5Oilbucjd1zjFE95IPOg dm4TDdSkWhZbTGvh2/4KcIKJVTKqzAmV1USa4yG/hLfg73uELfPHXcQCCfARO4nW+Lpr bH6ESKD38f6j8LvIf1BoX6VIRKnTiOsODagKWI6exlZpc6MHh8SQFQQS7L7+OrKhIxtY yh8AniUisjpw7CMSw1mKXWxA9YzP3OnoZh3EvvlzvCSxbBi9+KOkyTau76/p2Qz1ElXF ov8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8XiaOlOPPaHOL0nEn3qDU8pTAcX6qlihbSe6JjligKM=; b=sdFw6YTe0ARprO6n1k6sFPkQyC6bBaUn79Ui797JhcG9HKvsEOi1ONiLaFX7e3U+lv hDXb98gEmOExLDb9wXDqBJCRQQ8rhpBqgBF2hU0Lyt3N755ZhWbDoDvXLapfIRsAHzMT F0CkrFgLoSnp/wZBB7KmNz8b1E0RZOpOg/bZHfn68Lcb3r9bP3qDRoZRcBSqrejeBvwf OOtppGI7SreevPJRYAC8u1GF2pfSzXwpqbh49fnrfbiQttNLq0oCuhb/5fuguHF3zATt K4ThdAHf5d5wqynfdG3r2bk/980YjeSQcUox+zgwLvB9vSvQxjGWu4aLx3i197Id11JR 8KOg== X-Gm-Message-State: AOAM533jnNccRG8qWDjlc87In8/l3JliJmDCpaQk1liXyHbUu7FVNoPT HF349Sd377So611D/hWjGqmLFTfEUeU= X-Google-Smtp-Source: ABdhPJwtu1RKSOdzU76TwAoxY+COt77UNiHlPmJTQuHo6I9sSZMEz7nPWiDWrY5cH9HH3QtLWN5qDg== X-Received: by 2002:a5d:688f:: with SMTP id h15mr36239348wru.410.1632246571889; Tue, 21 Sep 2021 10:49:31 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a202sm3871655wmd.15.2021.09.21.10.49.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Sep 2021 10:49:31 -0700 (PDT) In-Reply-To: <87bl4l26dw.fsf@mail.linkov.net> Content-Language: en-US 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:215008 Archived-At: On 21.09.2021 20:29, Juri Linkov wrote: >>>>> 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'. Don't we mostly have that already? 'C-x p v D' will get you vc-diff for the project, 'C-x p v L' will get you vc-print-root-log, 'C-x p v B' gets you branch commands, and so on.