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: Sun, 19 Sep 2021 20:35:13 +0300 Organization: LINKOV.NET Message-ID: <87h7egfoz2.fsf@mail.linkov.net> References: <3071f53f-4334-6ed6-e69e-b49122492a1b@yandex.ru> <87czp4ikng.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="14720"; 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: Dmitry Gutov , 43153@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 19:36:09 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 1mS0jZ-0003Up-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 19:36:09 +0200 Original-Received: from localhost ([::1]:48166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS0jY-0000Yw-JI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 13:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS0jS-0000Yd-TM for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 13:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS0jS-0002jc-MP for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mS0jS-0002Nk-G8 for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 13:36: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: Sun, 19 Sep 2021 17:36: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.16320729609148 (code B ref 43153); Sun, 19 Sep 2021 17:36:02 +0000 Original-Received: (at 43153) by debbugs.gnu.org; 19 Sep 2021 17:36:00 +0000 Original-Received: from localhost ([127.0.0.1]:39836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS0jP-0002NT-Vv for submit@debbugs.gnu.org; Sun, 19 Sep 2021 13:36:00 -0400 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:43011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS0jO-0002NC-6d for 43153@debbugs.gnu.org; Sun, 19 Sep 2021 13:35:59 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 64A28E0005; Sun, 19 Sep 2021 17:35:49 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Sun, 19 Sep 2021 10:23:10 -0700") 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:214771 Archived-At: >>> Could we move `project-dired' to `C-x p D' in Emacs 28.1, while awaiting >>> this new keybinding `C-x p d'? Moving it later will be much harder. >> >> If current `project-dired' actually means "project-root-dired", >> then it makes sense to bind it to `C-x p D' like `C-x v D' (vc-root-diff). > > Does it makes sense to rename it, as well? > > For the sake of completion I mention that the same command is named > `projectile-dired' in projectile, where it is bound here to `C-c p D'. > I believe you can use whatever prefix you want, though. Maybe then better to rename `project-dired' to `project-root-dired', then bind `C-x p D' to `project-root-dired' without the prompt, and bind `project-dired' to `C-x p d' with a prompt that asks for a directory like `C-x p f' (project-find-file).