[Top][All Lists]

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

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

From: Michael Olson
Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch
Date: Sun, 05 Aug 2007 21:32:26 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Dan Nicolaescu <address@hidden> writes:

> Michael Olson <address@hidden> 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-<system>..." messages that clutter the
compilation output.  This bug was just the straw that broke the camel's

       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 |

Attachment: pgp_KysTcDopV.pgp
Description: PGP signature

reply via email to

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