From: Dmitry Gutov <dgutov@yandex.ru>
To: Juri Linkov <juri@linkov.net>
Cc: Stefan Kangas <stefan@marxist.se>, 43153@debbugs.gnu.org
Subject: bug#43153: Add new command project-find-dir (and move binding of project-dired)
Date: Mon, 20 Sep 2021 17:31:30 +0300 [thread overview]
Message-ID: <1c06c9eb-0edc-6c3d-8e7b-f6d6ab27f228@yandex.ru> (raw)
In-Reply-To: <87r1djn3ea.fsf@mail.linkov.net>
On 20.09.2021 09:54, Juri Linkov wrote:
>> Here's a quick implementation of this feature inside project-dired:
>
> Thanks, I tried it and everything's working as expected.
>
>> Note that the user can simply press RET without typing any directory name
>> and that will launch Dired in the project root.
>
> This is a nice feature.
>
>> That seems like it might make having a separate command unnecessary, since
>> 'C-x p D' and 'C-x p d RET' take the same number of keypresses. The latter
>> might make you move your hand farther, though.
>
> We had such discussion about 'C-x v d' where the request
> was for a command that doesn't require RET. But 'C-x v D'
> can't be used because it's bound to 'vc-root-diff'.
True.
> 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).
next prev parent reply other threads:[~2021-09-20 14:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-01 10:48 bug#43153: Add new command project-find-dir (and move binding of project-dired) Stefan Kangas
2020-09-01 11:55 ` Dmitry Gutov
2020-09-01 15:32 ` Stefan Kangas
2020-09-03 22:57 ` Dmitry Gutov
2021-09-19 15:34 ` Stefan Kangas
2021-09-19 16:40 ` Juri Linkov
2021-09-19 17:23 ` Stefan Kangas
2021-09-19 17:35 ` Juri Linkov
2021-09-19 20:42 ` Stefan Kangas
2021-09-20 1:34 ` Dmitry Gutov
2021-09-20 6:54 ` Juri Linkov
2021-09-20 14:31 ` Dmitry Gutov [this message]
2021-09-20 15:17 ` Juri Linkov
2021-09-20 15:30 ` Dmitry Gutov
2021-09-21 17:29 ` Juri Linkov
2021-09-21 17:49 ` Dmitry Gutov
2021-09-20 7:11 ` Stefan Kangas
2021-09-20 14:33 ` Dmitry Gutov
2021-09-20 15:29 ` Stefan Kangas
2021-09-21 0:57 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1c06c9eb-0edc-6c3d-8e7b-f6d6ab27f228@yandex.ru \
--to=dgutov@yandex.ru \
--cc=43153@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=stefan@marxist.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).