GNU bug report logs - #76769
31.0.50; marking inconsistency between VC-Dir and dired-vc-next-action

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Thu, 6 Mar 2025 03:58:02 UTC

Severity: normal

Found in version 31.0.50

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 76769 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Juri Linkov <juri <at> linkov.net>, dmitry <at> gutov.dev, 76769 <at> debbugs.gnu.org,
 sbaugh <at> janestreet.com, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: 31.0.50; marking inconsistency between VC-Dir and
 dired-vc-next-action
Date: Sat, 08 Mar 2025 10:50:01 +0800
Hello,

Thanks for the feedback.

Here's an alternative proposal that sits only at the UI level.

A defcustom with values nil, 'ask, t.  nil is the current behaviour.
'ask means to do the follow things after a y/n prompt, t means to do
them unconditionally:

- When you try to mark a file but you can't because the directory is
  already marked, unmark the directory first.

- When you try to mark a directory but you can't because a file under it
  is already marked, unmark all files under it and mark the directory,
  instead.

Plus fixing dired-vc-next-action.

I still think it's worth discussing more thoroughgoing changes, but this
is a simpler proposal to fall back on.

-- 
Sean Whitton




This bug report was last modified 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.