all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sam Steingold" <ssteingold@janestcapital.com>
To: emacs-devel@gnu.org
Subject: bug#308: vc-delete-file
Date: Fri, 23 May 2008 11:06:05 -0400	[thread overview]
Message-ID: <al8wy1f4bm.fsf__23659.1775938452$1211596395$gmane$org@nyc-qws-005.delacy.com> (raw)

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.







             reply	other threads:[~2008-05-23 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-23 15:06 Sam Steingold [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='al8wy1f4bm.fsf__23659.1775938452$1211596395$gmane$org@nyc-qws-005.delacy.com' \
    --to=ssteingold@janestcapital.com \
    --cc=308@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.