GNU bug report logs - #34503
dired-do-copy: full disclosure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; merged with #6312, #7107; dated Sat, 16 Feb 2019 19:33:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 6312 7107 34503. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Feb 2019 19:32:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 16 14:32:05 2019
Received: from localhost ([127.0.0.1]:50532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gv5gz-0001mR-Al
	for submit <at> debbugs.gnu.org; Sat, 16 Feb 2019 14:32:05 -0500
Received: from eggs.gnu.org ([209.51.188.92]:35926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1gv5gx-0001lY-1O
 for submit <at> debbugs.gnu.org; Sat, 16 Feb 2019 14:32:03 -0500
Received: from lists.gnu.org ([209.51.188.17]:57410)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1gv5gr-0005VM-Rt
 for submit <at> debbugs.gnu.org; Sat, 16 Feb 2019 14:31:57 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50306)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1gv5gr-0004Nn-2c
 for bug-gnu-emacs@HIDDEN; Sat, 16 Feb 2019 14:31:57 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64,
 RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1gv5gp-0005Tu-OU
 for bug-gnu-emacs@HIDDEN; Sat, 16 Feb 2019 14:31:57 -0500
Received: from indri.birch.relay.mailchannels.net ([23.83.209.92]:18933)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1gv5gp-0005S7-9A
 for bug-gnu-emacs@HIDDEN; Sat, 16 Feb 2019 14:31:55 -0500
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id AB5725E23D3
 for <bug-gnu-emacs@HIDDEN>; Sat, 16 Feb 2019 19:31:52 +0000 (UTC)
Received: from pdx1-sub0-mail-a15.g.dreamhost.com (unknown [100.96.29.126])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 78CAB5E22C0
 for <bug-gnu-emacs@HIDDEN>; Sat, 16 Feb 2019 19:31:52 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a15.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.16.2); Sat, 16 Feb 2019 19:31:52 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Left-Little: 1ceca7a125dad25f_1550345512565_3335544744
X-MC-Loop-Signature: 1550345512565:1849296404
X-MC-Ingress-Time: 1550345512565
Received: from pdx1-sub0-mail-a15.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTP id 14E548003A
 for <bug-gnu-emacs@HIDDEN>; Sat, 16 Feb 2019 11:31:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=jidanni.org; bh=4v44J8CmpP+mpInbYI
 bMKoLBigg=; b=V9FnASKMcQmHIBSxNNNvB00VwmBB49Oqr51jfb9JVZSpdlZTSQ
 0z4SMs+RfgLGQ1yyqNLq7gqWPrBb6/gwZfYne8jUdmGji5/O+docet91oEXyLqRT
 3ISCGWzBnq6Zoh6P4TQADTlzj40ah0XtzEEQf/vY/PF2MxEIl1P4jj5Ec=
Received: from jidanni.org (114-41-29-30.dynamic-ip.hinet.net [114.41.29.30])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
 bits)) (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTPSA id 8D5BA80021
 for <bug-gnu-emacs@HIDDEN>; Sat, 16 Feb 2019 11:31:51 -0800 (PST)
X-DH-BACKEND: pdx1-sub0-mail-a15
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: dired-do-copy: full disclosure
Date: Sun, 17 Feb 2019 01:49:51 +0800
Message-ID: <87imxjmxmo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledruddtledguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurddvledrfedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurddvledrfedtpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedu
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 23.83.209.92
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

C runs the command dired-do-copy (found in dired-mode-map), which is
an interactive autoloaded compiled Lisp function in =E2=80=98dired-aux.el=
=E2=80=99.

OK but even though it asks "Recursive copy of directory?" etc.
its final line is always "Copied 1 file".

Please have it say "Copied 2387 files, 141 directories" else we always
have to double check if it really ever copied more than one file you
see. Computers are fast these days.

Yes you can argue (hmmm, I think we argued about this before) that a
directory is a file. But cp -v shows more that one...

Anyway simply keep track of how many files and directories were copied
and report it.

But wait, then we lose the safety feature of: "I forgot how many marks I
made. In fact I had marked two directories, so good thing it said copied
2 files."

OK, say "Copied 2 trees, 47 directories, 234 files." Something like
that.

And only say "trees" when more than one directory is marked...

But what if they had marked one directory and one file...

Same for Rename (R).




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#34503; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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