emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] Disable VC when Emacs is noninteractive -batch


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

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.

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.

Attachment: pgpsUtwbqnHJD.pgp
Description: PGP signature

Attachment: noninteractive-vc.patch
Description: Text Data

-- 
       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 |

reply via email to

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