From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: dired rename backup file too Date: Sun, 27 Mar 2011 07:08:00 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: <252d8155-845e-4eb2-8cef-56b5ba97926f@b13g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1301211674 5290 80.91.229.12 (27 Mar 2011 07:41:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2011 07:41:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 09:41:10 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q3kb0-000214-7a for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 09:41:10 +0200 Original-Received: from localhost ([127.0.0.1]:36023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3kay-0000qy-NE for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Mar 2011 03:41:08 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!novia!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 24 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader1.panix.com 1301209680 23245 166.84.1.2 (27 Mar 2011 07:08:00 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Sun, 27 Mar 2011 07:08:00 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: usenet.stanford.edu gnu.emacs.help:186332 comp.emacs:101339 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80461 Archived-At: In article <252d8155-845e-4eb2-8cef-56b5ba97926f@b13g2000prf.googlegroups.com>, Xah Lee wrote: >On Mar 20, 5:20 pm, Kevin Ryde wrote: >> When renaming a file with dired "R" (dired-do-rename), I'd like it to >> rename the backup file too.  So foo -> bar and foo~ -> bar~.  Is there a >> secret option or other command to do that? >> >> I only use the single foo~ backup style, not the numbered backups, if >> that makes it easier. > >not a solution to your question, but these days hardly call R anymore, >but use wdired-change-to-wdired-mode. It has a shortcut since emacs >23.1 (Ctrl+x Ctrl+q). (for me, i just aliased it to “rn”). > One problem with (the really cool) wdired is that after you do your renaming, deleting, etc, you can't do "g" and still be in a dired (wdired) of that same set of files -- it has to kill off the wdired and go back to a regular dired. David