unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Olson <mwolson@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch
Date: Sun, 05 Aug 2007 21:32:26 -0400	[thread overview]
Message-ID: <87ejihjvmd.fsf@hariken.mwolson.org> (raw)
In-Reply-To: 200708052206.l75M63Hx012575@oogie-boogie.ics.uci.edu


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

Dan Nicolaescu <dann@ics.uci.edu> writes:

> Michael Olson <mwolson@gnu.org> 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
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 |

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

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

  reply	other threads:[~2007-08-06  1:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ejihjvmd.fsf@hariken.mwolson.org \
    --to=mwolson@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).