emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Disable VC when Emacs is noninteractive -batch


From: Stefan Monnier
Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch
Date: Mon, 06 Aug 2007 14:38:07 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> my Emacs Lisp add-on programs.  If a file has been deleted at some
> point, it will interrupt the build to prompt me about whether to restore
> it -- this is a show-stopper.  Also, even when building Emacs (as of a

Actually I think this is a "feature" of VC which we should tame
significantly: basically, this only makes sense under RCS (and maybe SCCS)
but happens to be in the generic part of VC, so it can bite at any time when
used with other backends.  The idea was that under RCS if a file <foo> is
absent but RCS/<foo>,v is present, than <foo> is virtually present, except
it needs to be checkout first.  With current systems, the checkout is done
once and for all files, outside of VC, so the feature makes little
sense there.

I suggest to rename vc-default-find-file-not-found-hook into
vc-rcs-find-file-not-found-hook and create a new
vc-default-find-file-not-found-hook which is just an alias for `ignore'.

vc-arch.el is already careful to define a vc-arch-find-file-not-found-hook
which overrides vc-default-find-file-not-found-hook (and does nothing) and
I think most/all other systems would benefit from such a change.


        Stefan




reply via email to

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