From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sam Steingold" Newsgroups: gmane.emacs.bugs Subject: bug#308: vc-delete-file Date: Fri, 23 May 2008 11:06:05 -0400 Message-ID: Reply-To: sds@gnu.org, 308@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1211596349 3283 80.91.229.12 (24 May 2008 02:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 May 2008 02:32:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 24 04:32:55 2008 Return-path: Envelope-to: geb-bug-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 1JzjYw-0007yW-Hc for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 May 2008 04:32:55 +0200 Original-Received: from localhost ([127.0.0.1]:53088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzjYA-0004UC-5M for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 May 2008 22:32:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzbQo-0007uu-Vw for bug-gnu-emacs@gnu.org; Fri, 23 May 2008 13:51:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzbQi-0007o5-0b for bug-gnu-emacs@gnu.org; Fri, 23 May 2008 13:51:51 -0400 Original-Received: from [199.232.76.173] (port=54781 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzbQh-0007nu-O3 for bug-gnu-emacs@gnu.org; Fri, 23 May 2008 13:51:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53538) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JzbQh-0000Gm-1t for bug-gnu-emacs@gnu.org; Fri, 23 May 2008 13:51:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4NHpgUi013187; Fri, 23 May 2008 10:51:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4NHZ3fM008549; Fri, 23 May 2008 10:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Sam Steingold" Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 23 May 2008 17:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 308 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12115637487303 (code B ref -1); Fri, 23 May 2008 17:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 May 2008 17:29:08 +0000 Original-Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4NHT3ZT007297 for ; Fri, 23 May 2008 10:29:05 -0700 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 6FAB72CFA6B for ; Fri, 23 May 2008 13:29:03 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 161273FE0 for ; Fri, 23 May 2008 13:28:49 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B41E841BEC; Fri, 23 May 2008 13:28:48 -0400 (EDT) Resent-Message-ID: Resent-To: submit@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-Date: Fri, 23 May 2008 13:28:48 -0400 Original-Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CAC312CFA6B for ; Fri, 23 May 2008 11:07:01 -0400 (EDT) Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id B51E214821B for ; Fri, 23 May 2008 11:06:46 -0400 (EDT) Original-Received: from localhost ([127.0.0.1]:56512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzYr0-0001CO-7L for monnier@iro.umontreal.ca; Fri, 23 May 2008 11:06:46 -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 X-DIRO-MailScanner: Found to be clean, Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.49, requis 5, BAYES_00 -2.60, MC_HTTPSTR 0.11, SPF_HELO_PASS -0.00), n'est pas un polluriel, SpamAssassin (score=0.109, requis 5, MC_HTTPSTR 0.11, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 23 May 2008 13:51:51 -0400 X-Mailman-Approved-At: Fri, 23 May 2008 22:27:24 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18125 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.