From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#41097: 28.0.50; (dired-toggle-marks) not working after copy Date: Sun, 10 May 2020 18:11:52 +0300 Message-ID: <83sgg7ddtz.fsf@gnu.org> References: <861rnybf34.fsf@protected.rcdrun.com> <20200506144423.GW24998@protected.rcdrun.com> <20200508132924.GI14650@protected.rcdrun.com> <87r1vukl86.fsf@web.de> <20200509042353.GA15309@protected.rcdrun.com> <87h7wonnuh.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <20200510095646.GA22962@protected.rcdrun.com> <83y2pzdgt7.fsf@gnu.org> <20200510145503.GE28606@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael_heerdegen@web.de, tomasn@posteo.net, 41097@debbugs.gnu.org, arthur.miller@live.com To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 10 17:13:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXndh-000JQ1-Tg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 17:13:13 +0200 Original-Received: from localhost ([::1]:57468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXndg-0005B6-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 11:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXndW-00059v-Ja for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 11:13:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXndW-0004HR-AC for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jXndW-0002i3-1c for bug-gnu-emacs@gnu.org; Sun, 10 May 2020 11:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 May 2020 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41097 X-GNU-PR-Package: emacs Original-Received: via spool by 41097-submit@debbugs.gnu.org id=B41097.158912353610328 (code B ref 41097); Sun, 10 May 2020 15:13:02 +0000 Original-Received: (at 41097) by debbugs.gnu.org; 10 May 2020 15:12:16 +0000 Original-Received: from localhost ([127.0.0.1]:50233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXncf-0002gC-E4 for submit@debbugs.gnu.org; Sun, 10 May 2020 11:12:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jXncd-0002fl-JD for 41097@debbugs.gnu.org; Sun, 10 May 2020 11:12:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXncW-0000Ij-Ss; Sun, 10 May 2020 11:12:00 -0400 Original-Received: from [176.228.60.248] (port=1114 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jXncV-000613-Kr; Sun, 10 May 2020 11:12:00 -0400 In-Reply-To: <20200510145503.GE28606@protected.rcdrun.com> (message from Jean Louis on Sun, 10 May 2020 17:55:03 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180009 Archived-At: > Date: Sun, 10 May 2020 17:55:03 +0300 > From: Jean Louis > 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?