From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: dann@ics.uci.edu, mwolson@gnu.org, emacs-devel@gnu.org
Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch
Date: Tue, 07 Aug 2007 17:59:12 +0900 [thread overview]
Message-ID: <87abt390v3.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1IIJVb-0008UP-EF@fencepost.gnu.org>
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".
next prev parent reply other threads:[~2007-08-07 8:59 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87abt390v3.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=mwolson@gnu.org \
--cc=rms@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 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.