[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#308: vc-delete-file

From: Sam Steingold
Subject: bug#308: vc-delete-file
Date: Fri, 23 May 2008 11:06:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

GNU Emacs (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" #<buffer convert_config.mli> t)
  vc-resynch-buffer("myfilename" #<buffer convert_config.mli> t)
  call-interactively(vc-delete-file t 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]