[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: `wdired-change-to-wdired-mode' is not on any key

From: Drew Adams
Subject: RE: `wdired-change-to-wdired-mode' is not on any key
Date: Thu, 3 May 2007 09:08:45 -0700

> I suggest binding `r' in `dired-mode-map' to this command.

And I'd suggest binding `r', after the release, to a
`dired-rename-this-file' command, such as that in dired+.el:

Code: http://www.emacswiki.org/cgi-bin/wiki/dired%2b.el
Description: http://www.emacswiki.org/cgi-bin/wiki/DiredPlus

IOW, I'd suggest some bindings for commands that treat only the current
line's file. Some of these would be lowercase equivalents for some existing
`dired-do-*' key bindings. Dired+ uses the following key bindings and
`*-this-file' commands, for instance:

b    byte-compile
r    rename
y    relsymlink (but Emacs 22 already uses y)
z    compress
M-u  upcase
M-l  downcase
M-c  capitalize
M-m  chmod
M-p  print
C-k  delete

(There are also "this-file" commands for copy, chgrp, chown, load,
shell-command, symlink, and hardlink, but they are not bound to keys.)

Dired-x uses Y for `dired-do-relsymlink', which is why I use y for the
this-file version. In light of this, I'd also propose moving
`dired-show-file-type' to a key other than y (or else moving
`dired-do-relsymlink' so a key other than Y).

Yes, the uppercase `dired-do-*' bindings will also treat the current line's
file, but they don't do that if there are marked files. IOW, with the
additional lowercase bindings, you can leave files marked and still act on
another file.

All I'm really suggesting now is to reserve the lowercase equivalents of
existing uppercase bindings for possible future this-file analogs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]