Hi Friends,

I've made some changes, and I believe I've addressed all the docstring issues and grammatical errors. I'll attach it here.

I've also renamed the concept as just "dired-captured" since as Eli pointed out, it is just a list rather than a ring.

As Juri suggested, I've also added a buffer pop-up similar to `dired-do-delete' to show the captured files staged for the given operation, and prompt for confirmation, seeing as how there might not be any visual feedback
if the original dired-buffer that the files were captured from is no longer visible.

I've also changed the original destination target of `default-directory' to instead be `dired-current-directory' to comply with subdirectories.

On Tue, Oct 22, 2024 at 1:43 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Tue, 22 Oct 2024 21:15:56 +0300
>
> Doing the same could be like the following:
>
> 1. Copy the file names of marked files with 'w'.

Please, either C-w or M-w.

> 2. In another dired buffer type 'C-y' (yank)
>    like suggested by Drew.
>
> Then it could pop up the standard window "*Marked Files*"
> and ask for a choice from the list of characters
> using 'map-y-or-n-p' or 'read-answer', e.g.:
>
> (read-answer "Choose what to do with marked files "
>   '(("copy" ?c "copy")
>     ("move" ?r "move")
>     ("symlink" ?s "make symlink")
>     ("relsymlink" ?y "make relative symlink")))

If we want to be "like most file managers", we need to show buttons on
the tool bar or pop up a menu, not just ask for a key with
read-answer.