[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: |
Stephen J. Turnbull |
Subject: |
Re: [PATCH] Disable VC when Emacs is noninteractive -batch |
Date: |
Tue, 07 Aug 2007 17:59:12 +0900 |
Richard Stallman writes:
> Because they change the behavior of Emacs depending on, for example,
> whether the working file differs from the repository file.
>
> Only if you use VC commands, as far as I know.
I'm sorry, you're right.
A friend had a problem a couple years back but on review, I see the
script was loading her init file, which require'd vc-hooks. So VC
hooks are not going to affect carefully written batch programs, as far
as I can see.
> > VC only does anything when you call VC functions explicitly.
> > Unless it has a bug.
>
> That's clearly not true, for some value of "does anything": VC
> installs hooks which are called for various file and buffer
> operations.
I'm thinking specifically of using `find-file' on what you think is a
non-existent file, and discovering that the buffer has non-empty
content because the file has been checked out of RCS. I would not
call that "explicitly calling VC functions".
- [PATCH] Disable VC when Emacs is noninteractive -batch, Michael Olson, 2007/08/05
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Michael Olson, 2007/08/06
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Jason Rumney, 2007/08/06
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Richard Stallman, 2007/08/07
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, David Kastrup, 2007/08/07
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Richard Stallman, 2007/08/07
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, David Kastrup, 2007/08/07
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Michael Olson, 2007/08/07
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Richard Stallman, 2007/08/08
- Re: [PATCH] Disable VC when Emacs is noninteractive -batch, Stefan Monnier, 2007/08/08