all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Tue, 21 Sep 2021 20:49:27 +0300	[thread overview]
Message-ID: <1d70d0dd-ff94-cbfe-0cd2-d7b5dc3209e0@yandex.ru> (raw)
In-Reply-To: <87bl4l26dw.fsf@mail.linkov.net>

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.





  reply	other threads:[~2021-09-21 17:49 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
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d70d0dd-ff94-cbfe-0cd2-d7b5dc3209e0@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.