>>>> " " == robert delius royar
<xemacs(a)frinabulax.org> writes:
In the file SRC/lisp/startup.el lines 549-557 the following code
sets
version-control based on the VERSION_CONTROL environment setting:
549-
550- (setq command-line-default-directory default-directory)
551-
552- ;; See if we should import version-control from the environment
variable.
553: (let ((vc (getenv "VERSION_CONTROL")))
554- (cond ((eq vc nil)) ;don't do anything if not set
555- ((or (string= vc "t")
556- (string= vc "numbered"))
557- (setq version-control t))
The problem with this comes when running 'make install' and
the
system goes through a late iteration of dumping a working
XEmacs. The program is in batch mode and does not expect to
answer user input. But version-control expects to find out
whether to delete excess copies of the generated autoload
files. This triggers an assertion.
Hi Robert, the bad interaction is in
(defun backup-buffer ()
of files.el, right?
What about this there:
(defcustom delete-old-versions (if noninteractive 'leave)
Seems like a good defensive approach.
Please advise,
Adrian
Shouldn't there also be a test for whether we are in batch
mode? Or perhaps batchmode should deal with user input
prompting. Does any request that leads to a prompt with a
needed answer cause batch mode to fail with an assertion?
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/