all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-delete-file
@ 2008-05-23 15:06 Sam Steingold
  2008-05-23 21:00 ` bug#308: vc-delete-file Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Steingold @ 2008-05-23 15:06 UTC (permalink / raw)
  To: emacs-devel

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" #<buffer convert_config.mli> t)
  vc-resynch-buffer("myfilename" #<buffer convert_config.mli> 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.




^ permalink raw reply	[flat|nested] 5+ messages in thread
* bug#308: vc-delete-file
@ 2008-05-23 15:06 Sam Steingold
  0 siblings, 0 replies; 5+ messages in thread
From: Sam Steingold @ 2008-05-23 15:06 UTC (permalink / raw)
  To: emacs-devel

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" #<buffer convert_config.mli> t)
  vc-resynch-buffer("myfilename" #<buffer convert_config.mli> 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.







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-24  2:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 15:06 vc-delete-file Sam Steingold
2008-05-23 21:00 ` bug#308: vc-delete-file Stefan Monnier
2008-05-23 21:38   ` Dan Nicolaescu
2008-05-24  2:23     ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2008-05-23 15:06 Sam Steingold

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.