Dan Nicolaescu writes: > Michael Olson writes: > > > I've noticed lately that VC can behave badly when trying to build > > one of 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 week ago, at least), VC prints several > > spurious messages on the console; they are harmless in this case, > > but nonetheless provide needless clutter. > > Were you working with files under bzr? vc-bzr had a bug that Stefan > fixed recently. Yes, it happened with vc-bzr. > If not, can you please describe the problem that you are seeing? > > > I think that VC should be disabled by default when emacs is passed > > the -batch option. The attached patch implements this. Is it OK > > if I install it? VC is supposed to be for working interactively > > with version control systems, so I can't see any reason not to > > install the patch. > > If the reason you want to do this to avoid bugs in VC, then IMO this > is not a good idea. If VC has a problem, it has to be fixed. That is not the only reason. I want vc disabled when in -batch mode because it is (1) useless there, (2) delays compilation, and (3) displays many "loading vc-..." messages that clutter the compilation output. This bug was just the straw that broke the camel's back. -- Michael Olson -- FSF Associate Member #652 | http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | | Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |