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


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>, dmitry <at> gutov.dev
Cc: sbaugh <at> janestreet.com, 76769 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#76769: 31.0.50; marking inconsistency between VC-Dir and dired-vc-next-action
Date: Tue, 01 Apr 2025 15:33:52 +0800
Hello,

I discovered another inconsistency in current VC-Dir which must be
resolved first.  Suppose you have:

--8<---------------cut here---------------start------------->8---
                         ./
  *                      admin/
     edited              admin/emake
                         admin/notes/
     edited              admin/notes/www
--8<---------------cut here---------------end--------------->8---

and then you move point to admin/notes/ and type 'm'.
This is allowed.  The marks become:

--8<---------------cut here---------------start------------->8---
                         ./
  *                      admin/
     edited              admin/emake
  *                      admin/notes/
     edited              admin/notes/www
--8<---------------cut here---------------end--------------->8---

However, if you instead start with this:

--8<---------------cut here---------------start------------->8---
                         ./
                         admin/
     edited              admin/emake
  *                      admin/notes/
     edited              admin/notes/www
--8<---------------cut here---------------end--------------->8---

and then you move point to admin/ and type 'm', it's an error.
It won't let you mark admin/.

*If* it is allowed to have both admin/ and admin/notes/ marked,
then it shouldn't matter which order you mark them in.

I think I should change it to *not* allow admin/notes/ to be marked at
the same time as admin/.  Does that sound right to others?

-- 
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.