unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Johan Lindström <johanl@DarSerMan.com>
To: help-gnu-emacs@gnu.org
Subject: Re: vc-rename-file() if possible otherwise rename-file()
Date: Wed, 19 Mar 2008 00:40:00 +0000	[thread overview]
Message-ID: <E1JbmLO-0001IO-Lm@lists.gnu.org> (raw)
In-Reply-To: <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegro ups.com>

At 18:23 2008-03-18, Nordlöw wrote:
>Looking for a small snippet that does vc-rename-file() when possible
>(source file is under version control) otherwise default to rename-
>file().

That sounds very useful. Something I've been missing for some time is 
the same thing but for delete, so I can easily get rid of all 
irrelevant files listed in the *svn-status* buffer.


/J





      parent reply	other threads:[~2008-03-19  0:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-18 18:23 vc-rename-file() if possible otherwise rename-file() Nordlöw
2008-03-18 19:13 ` Thierry Volpiatto
2008-03-18 19:26 ` Nikolaj Schumacher
     [not found] ` <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegro ups.com>
2008-03-19  0:40   ` Johan Lindström [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JbmLO-0001IO-Lm@lists.gnu.org \
    --to=johanl@darserman.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).