Subject: Re: bug#76769: 31.0.50; marking inconsistency between VC-Dir and dired-vc-next-action

From: Sean Whitton <[email-masked]>
Date: Sat, 08 Mar 2025 10:43:58 +0800

Hello,

On Thu 06 Mar 2025 at 09:49am +02, Juri Linkov wrote:

> So this defcustom will permit an inconsistent state in VC-Dir?

I don't think it's an inconsistent state.  VC-Dir has very strong
opinions on what is allowed to be marked, but it's not clear to me they
are justified and they are certainly not user friendly.

> I think that dired-vc-next-action should be fixed to handle the current
> default behavior in any case, even without adding the above defcustom.
> Maybe it should raise an error for an inconsistent state instead of
> trying to guess the user's intention.

Yes, that would be an improvement.

> This looks like handling a group of checkbox selections in some UI
> where the group checkbox has the third state [-]:
>
>                            ./
>      -                     src/
>      * edited              src/cm.c
>        edited              src/emacs.c

Yes, it's kind of an inverse of that.

-- 
Sean Whitton