From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: `wdired-change-to-wdired-mode' is not on any key Date: Thu, 3 May 2007 09:08:45 -0700 Message-ID: References: <87ejly3qso.fsf@wigwam.brockman.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178208680 6937 80.91.229.12 (3 May 2007 16:11:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 May 2007 16:11:20 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 03 18:11:10 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hjdtd-0000WB-EQ for ged-emacs-devel@m.gmane.org; Thu, 03 May 2007 18:11:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hje0A-0006o1-Hg for ged-emacs-devel@m.gmane.org; Thu, 03 May 2007 12:17:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjdyG-0005rT-Bi for emacs-devel@gnu.org; Thu, 03 May 2007 12:15:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjdyE-0005pA-2K for emacs-devel@gnu.org; Thu, 03 May 2007 12:15:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjdyD-0005ot-HR for emacs-devel@gnu.org; Thu, 03 May 2007 12:15:53 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hjdrf-0007AS-DI for emacs-devel@gnu.org; Thu, 03 May 2007 12:09:07 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l43G93FG012253 for ; Thu, 3 May 2007 11:09:04 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l43DnAoF007428 for ; Thu, 3 May 2007 10:08:56 -0600 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by acsmt350.oracle.com with ESMTP id 2668458971178208530; Thu, 03 May 2007 09:08:50 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <87ejly3qso.fsf@wigwam.brockman.se> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:70514 Archived-At: > 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.