all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: RE: `wdired-change-to-wdired-mode' is not on any key
Date: Thu, 3 May 2007 09:08:45 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMAEDDDBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87ejly3qso.fsf@wigwam.brockman.se>

> 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	other threads:[~2007-05-03 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 14:49 `wdired-change-to-wdired-mode' is not on any key Daniel Brockman
2007-05-03 16:08 ` Drew Adams [this message]
2007-05-03 16:33   ` Johan Bockgård
2007-05-03 16:39     ` Drew Adams
2007-05-03 17:06       ` Daniel Brockman
2007-05-03 18:42     ` Davis Herring
2007-05-03 16:51   ` Andreas Schwab
2007-05-03 18:11 ` Stefan Monnier

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=EIENLHALHGIMHGDOLMIMAEDDDBAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@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.