bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41097: 28.0.50; (dired-toggle-marks) not working after copy


From: Eli Zaretskii
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@gnu.support>
> Cc: tomasn@posteo.net, michael_heerdegen@web.de,
>   41097@debbugs.gnu.org, arthur.miller@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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]