[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add file-ring to dired-aux.el
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Add file-ring to dired-aux.el |
Date: |
Tue, 22 Oct 2024 21:43:10 +0300 |
> 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.
Re: [PATCH] Add file-ring to dired-aux.el, Juri Linkov, 2024/10/22