emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 07 Aug 2007 07:40:54 -0400
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Please name even one good use for VC in batch/noninteractive mode.
>     I can't think of a single one, myself, and knowing a good use
>     would allow me to adjust my argument accordingly.
>
> Relicensing a program is the sort of situation where you might
> want to do this.

What part does VC play in such a change?

> We might want to arrange to automatically answer "yes" when it
> asks whether to check out a deleted a file, if in batch mode.

For any backend other than RCS, that would be bad.  When I delete a
file, I don't want it to come back during compilation.  That could lead
to confusing scenarios where something works in development versions of
a program (because a bug is hidden by the presence of the deleted file),
but fails to work for a released version.  Further, it would be just
plain annoying, because I would have to remember to re-delete the file
before checking in any change.

If we did insist on keeping VC active in batch mode (which I still don't
see a good reason to do), then for any backend other than RCS, the
default answer to that question ought to be "no" rather than "yes".
Further, even when using RCS, maintainers ought not to depend on Emacs
to check out a missing file for them -- they should instead have a
Makefile target which ensures that the file is checked out properly
before compiling it or doing other work with it.  Otherwise they would
be forcing people to use Emacs when developing their projects, which
would create resentment.  (Admittedly, this is perhaps a contrived case,
since I don't know of any collaborative projects that still use RCS, but
the principle remains.)

-- 
       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: pgpxlVq03Zepo.pgp
Description: PGP signature


reply via email to

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