all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Disable VC when Emacs is noninteractive -batch
@ 2007-08-05 19:39 Michael Olson
  2007-08-05 22:06 ` Dan Nicolaescu
                   ` (2 more replies)
  0 siblings, 3 replies; 38+ messages in thread
From: Michael Olson @ 2007-08-05 19:39 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 713 bytes --]

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 #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: noninteractive-vc.patch --]
[-- Type: text/x-diff, Size: 773 bytes --]

*** lisp/vc-hooks.el	2007-08-05 15:31:30.000000000 -0400
--- lisp/vc-hooks.el.new	2007-08-05 15:30:34.000000000 -0400
***************
*** 62,68 ****
    :type 'regexp
    :group 'vc)
  
! (defcustom vc-handled-backends '(RCS CVS SVN SCCS Bzr Git Hg Arch MCVS)
    ;; Bzr, Git, Hg, Arch and MCVS come last because they are per-tree
    ;; rather than per-dir.
    "List of version control backends for which VC will be used.
--- 62,69 ----
    :type 'regexp
    :group 'vc)
  
! (defcustom vc-handled-backends (if noninteractive nil
!                                  '(RCS CVS SVN SCCS Bzr Git Hg Arch MCVS))
    ;; Bzr, Git, Hg, Arch and MCVS come last because they are per-tree
    ;; rather than per-dir.
    "List of version control backends for which VC will be used.

[-- Attachment #3: Type: text/plain, Size: 255 bytes --]


-- 
       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 #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2007-08-16  1:08 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05 19:39 [PATCH] Disable VC when Emacs is noninteractive -batch Michael Olson
2007-08-05 22:06 ` Dan Nicolaescu
2007-08-06  1:32   ` Michael Olson
2007-08-06  5:20     ` Miles Bader
2007-08-06  2:36   ` Stephen J. Turnbull
2007-08-06 16:33     ` Richard Stallman
2007-08-06 18:07       ` Stephen J. Turnbull
2007-08-07  7:29         ` Richard Stallman
2007-08-07  8:59           ` Stephen J. Turnbull
2007-08-07 20:12             ` Richard Stallman
2007-08-06 20:46       ` Michael Olson
2007-08-06 21:22         ` Jason Rumney
2007-08-07  7:29         ` Richard Stallman
2007-08-07 10:18           ` David Kastrup
2007-08-07 20:12             ` Richard Stallman
2007-08-07 20:46               ` David Kastrup
2007-08-07 11:40           ` Michael Olson
2007-08-08  4:54             ` Richard Stallman
2007-08-08 13:07               ` Stefan Monnier
2007-08-08 13:29               ` Michael Olson
2007-08-09  5:23                 ` Richard Stallman
2007-08-07 15:53         ` Edward O'Connor
2007-08-06 14:19 ` Richard Stallman
2007-08-06 18:38 ` Stefan Monnier
2007-08-06 19:16   ` David Kastrup
2007-08-07  0:44     ` Miles Bader
2007-08-07  3:08     ` Eli Zaretskii
2007-08-07  6:07       ` David Kastrup
2007-08-07  6:51         ` Michael Olson
2007-08-07 20:11         ` Richard Stallman
2007-08-07 20:42           ` David Kastrup
2007-08-09  0:06             ` Richard Stallman
2007-08-09  0:17               ` David Kastrup
2007-08-11 16:38                 ` chad brown
2007-08-12 17:56                   ` Richard Stallman
2007-08-15  4:14                     ` chad brown
2007-08-16  1:08                       ` Richard Stallman
2007-08-14 15:46                   ` Davis Herring

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.