From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Lindström Newsgroups: gmane.emacs.help Subject: Re: vc-rename-file() if possible otherwise rename-file() Date: Wed, 19 Mar 2008 00:40:00 +0000 Message-ID: References: <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegroups.com> <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegro ups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1205887216 17046 80.91.229.12 (19 Mar 2008 00:40:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Mar 2008 00:40:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 19 01:40:45 2008 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.50) id 1JbmMG-0005VW-Ei for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Mar 2008 01:40:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbmLg-0001L3-Ha for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Mar 2008 20:40:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbmLP-0001JX-IQ for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:39:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbmLO-0001IO-Lm for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:39:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbmLO-0001I2-Ad for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:39:50 -0400 Original-Received: from mail1.melmac.se ([194.23.215.40]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JbmLO-0002qu-89 for help-gnu-emacs@gnu.org; Tue, 18 Mar 2008 20:39:50 -0400 Original-Received: (qmail 17021 invoked by uid 89); 19 Mar 2008 00:39:46 -0000 Original-Received: from 87-194-221-83.bethere.co.uk (HELO JpL.DarSerMan.com) (johanl@darserman.com@87.194.221.83) by mail1.melmac.se with ESMTPA; 19 Mar 2008 00:39:46 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 In-Reply-To: <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegro ups.com> Original-References: <2fd1cf38-57e5-4ce1-b79c-8eee6aa25b8e@s13g2000prd.googlegroups.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:52508 Archived-At: 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