GNU bug report logs - #41097
28.0.50; (dired-toggle-marks) not working after copy

Previous Next

Package: emacs;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Tue, 5 May 2020 15:35:01 UTC

Severity: minor

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jean Louis <bugs <at> gnu.support>
Cc: michael_heerdegen <at> web.de, tomasn <at> posteo.net, 41097 <at> debbugs.gnu.org, arthur.miller <at> live.com
Subject: bug#41097: 28.0.50; (dired-toggle-marks) not working after copy
Date: Sun, 10 May 2020 18:11:52 +0300
> Date: Sun, 10 May 2020 17:55:03 +0300
> From: Jean Louis <bugs <at> gnu.support>
> Cc: tomasn <at> posteo.net, michael_heerdegen <at> web.de,
>   41097 <at> debbugs.gnu.org, arthur.miller <at> live.com
> 
> > > Toggle marks: marked files become unmarked, and vice versa.
> > > Files marked with other flags (such as ‘D’) are not affected.
> > > ‘.’ and ‘..’ are never toggled.
> > > As always, hidden subdirs are not affected.
> > 
> > Could you please tell what is missing or confusing in the doc string?
> > Is it the fact that it mentions 'D', but not 'C'?
> 
> There is menu "Mark", in the menu there is "m" for mark, and "d" for
> flag.
> 
> If m is for marking then (dired-toggle-marks) should work with
> success, because why it should not work if the file is flagged with C,
> because it is not a file for deletion. 
> 
> If is is for marking and d for flaging means to prepare for deletion,
> then "m" does not flag, it marks, so there are no "other flags" but
> there is just one mark and other flags. If menu separates marks from
> flags, then the function should separate marks from flags too, maybe
> except for flagged files.
> 
> Confusing, but I don't see a logic why I should not be able to toggle
> marks on files that have been recently copied or renamed.

Because t toggles marks, and C is not a mark, it's a flag.

If the doc string which you quoted several times said this:

  Toggle marks: marked files become unmarked, and vice versa.
  Flagged files (indicated with flags such as ‘C’ and ‘D’, not
  with ‘*’) are not affected, and ‘.’ and ‘..’ are never toggled.

would that prevent the confusion?




This bug report was last modified 5 years and 86 days ago.

Previous Next


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