all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: dired rename backup file too
Date: Sun, 27 Mar 2011 07:08:00 +0000 (UTC)	[thread overview]
Message-ID: <immnog$mmd$4@reader1.panix.com> (raw)
In-Reply-To: 252d8155-845e-4eb2-8cef-56b5ba97926f@b13g2000prf.googlegroups.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

In article <252d8155-845e-4eb2-8cef-56b5ba97926f@b13g2000prf.googlegroups.com>,
Xah Lee  <xahlee@gmail.com> wrote:
>On Mar 20, 5:20 pm, Kevin Ryde <use...@zip.com.au> 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




  parent reply	other threads:[~2011-03-27  7:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4.1300670284.14871.help-gnu-emacs@gnu.org>
2011-03-21 14:51 ` dired rename backup file too Xah Lee
2011-03-22 10:50   ` Uday Reddy
2011-03-22 12:40     ` Xah Lee
2011-03-22 18:43       ` Uday Reddy
2011-03-27  7:14         ` David Combs
2011-03-27  7:09     ` David Combs
2011-03-27  7:08   ` David Combs [this message]
2011-03-21  8:01 martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2011-03-21  0:20 Kevin Ryde

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='immnog$mmd$4@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@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.