From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sam Steingold" Newsgroups: gmane.emacs.devel Subject: vc-delete-file Date: Fri, 23 May 2008 11:06:05 -0400 Message-ID: Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1211555239 15557 80.91.229.12 (23 May 2008 15:07:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 15:07:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 23 17:07:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzYrR-0004VN-Jf for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 17:07:13 +0200 Original-Received: from localhost ([127.0.0.1]:56512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzYqh-0001CO-1d for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 11:06:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzYqa-0001AB-3V for emacs-devel@gnu.org; Fri, 23 May 2008 11:06:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzYqY-00017x-1G for emacs-devel@gnu.org; Fri, 23 May 2008 11:06:19 -0400 Original-Received: from [199.232.76.173] (port=47446 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzYqW-00017j-Sy for emacs-devel@gnu.org; Fri, 23 May 2008 11:06:16 -0400 Original-Received: from [66.155.124.107] (port=4085 helo=smtp.janestcapital.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzYqO-0001H0-TY; Fri, 23 May 2008 11:06:09 -0400 Original-Received: from qsmtp.delacy.com [38.105.200.250] by janestcapital.com with ESMTP (SMTPD-9.10) id AD5E04B0; Fri, 23 May 2008 11:06:06 -0400 Original-Received: from nyc-qws-005.delacy.com ([172.25.131.105] helo=nyc-qws-005) by qsmtp.delacy.com with smtp (Exim 4.62) (envelope-from ) id 1JzYqL-0006Ad-U7; Fri, 23 May 2008 11:06:06 -0400 Original-Received: by nyc-qws-005 (sSMTP sendmail emulation); Fri, 23 May 2008 11:06:05 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97592 Archived-At: GNU Emacs 23.0.60.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.8.20) of 2008-05-22 on nyc-qws-005 '--with-x-toolkit=gtk' '--prefix=/mnt/office/dev/opt' first, vc-delete-file is available neither in any menu nor on any key. despite your claim to the contrary, this is a common command, used at least weakly in an active development environment. second, when I invoke it with M-x, it requires that the file being removed is still present on disk. this requirement is absurd because when I decide to remove the file from the VCS, it is already long gone because I have to remove it to test the system without it (yes, it is NOT enough not to mention the file in makefiles, because omake will use it if it finds it on disk, so you want me to rename it for testing and then move it back so that vc can remove it!) third, when I do jump through the hoops, I get this error: Debugger entered--Lisp error: (error "File myfilename no longer exists!") signal(error ("File myfilename no longer exists!")) error("File %s no longer exists!" "myfilename") revert-buffer(t t t) vc-revert-buffer-internal(t t) vc-resynch-window("myfilename" # t) vc-resynch-buffer("myfilename" # t) vc-delete-file("myfilename") call-interactively(vc-delete-file t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) i.e., you just deleted it yourself - and now you are complaining that the file does not exist! I would rather expect kill-buffer instead of revert-buffer. -- Sam Steingold (http://sds.podval.org/) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://openvotingconsortium.org http://camera.org http://iris.org.il http://pmw.org.il http://dhimmi.com http://truepeace.org Don't use force -- get a bigger hammer.