help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: dired rename backup file too


From: David Combs
Subject: Re: dired rename backup file too
Date: Sun, 27 Mar 2011 07:08:00 +0000 (UTC)

In article <address@hidden>,
Xah Lee  <address@hidden> wrote:
>On Mar 20, 5:20 pm, Kevin Ryde <address@hidden> 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




reply via email to

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