Subject: bug#67171: closed (Re: bug#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 08 Dec 2023 21:30:02 +0000

Your bug report

#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67171: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67171
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#67171: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command
From: Sean Whitton <[email-masked]>
To: Dmitry Gutov <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Fri, 08 Dec 2023 21:29:08 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: 30.0.50; (At least) some VC commands fail with project-prefix-or-any-command
From: Sean Whitton <[email-masked]>
To: [email-masked]
Date: Tue, 14 Nov 2023 13:13:04 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

X-debbugs-cc: [email-masked], [email-masked], [email-masked]

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