--- Begin Message ---
Subject: |
30.0.50; (At least) some VC commands fail with project-prefix-or-any-command |
Date: |
Tue, 14 Nov 2023 13:13:04 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
X-debbugs-cc: dmitry@gutov.dev, juri@linkov.net, sbaugh@catern.com
Hello,
1. cd /home/spwhitton/src/some-project && emacs -q
2. (setopt project-switch-commands #'project-prefix-or-any-command)
3. (project-remember-project (project-current nil
"/home/spwhitton/src/emacs/trunk/))
4. C-x p p /home/spwhitton/src/emacs/trunk RET C-x v L
VC prints the log of /home/spwhitton/some-project, not that of
/home/spwhitton/src/emacs/trunk.
--
Sean Whitton
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command |
Date: |
Fri, 08 Dec 2023 21:29:08 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
On Fri 08 Dec 2023 at 10:37pm +02, Dmitry Gutov wrote:
> I have now pushed the patch with the opposite solution to master.
>
> Its saving grace is that, like Juri also noted, most project-related commands
> wouldn't require this property to be set to function adequately. The ones that
> need the original value of default-directory in the current buffer should be
> in strict minority.
>
> Please check that it works for you, and for any further problems.
It certainly solves #67171.
I wasn't part of the earlier discussion, so thank you very much for
figuring out a solution that would seem to cover all these use cases.
--
Sean Whitton
--- End Message ---