all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 34503@debbugs.gnu.org
Subject: bug#34503: dired-do-copy: full disclosure
Date: Sun, 17 Feb 2019 01:49:51 +0800	[thread overview]
Message-ID: <87imxjmxmo.fsf@jidanni.org> (raw)

C runs the command dired-do-copy (found in dired-mode-map), which is
an interactive autoloaded compiled Lisp function in ‘dired-aux.el’.

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





                 reply	other threads:[~2019-02-16 17:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imxjmxmo.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=34503@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.