|
From: | Juri Linkov |
Subject: | Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files |
Date: | Wed, 21 Oct 2015 01:51:11 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) |
> I also want to add a new command to dired that compresses all marked > files into a single named archive: the user gets prompted for a name > (through `completing-read'+`read-file-name-internal') and the shell > command is resolved from that name. I'd like for it to be bound by > default, like "Z". Maybe like this: > > (define-key map "c" 'dired-compress) > > The proposed key isn't bound by default. Is that OK? Aren't upper-case Dired keys reserved for potentially dangerous commands because upper-case keys are harder to press (require holding Shift-key). I guess if your command will ask additional information from the minibuffer then either lower-case "c" or "z" are fine because they won't run immediately. "Z" would be good too if you could improve it in a backward-compatible way.
[Prev in Thread] | Current Thread | [Next in Thread] |