#16 can't handle directory names with spaces

open
nobody
None
5
2002-11-14
2002-11-14
Anonymous
No

On Windows 2000, attempt to integrate GNU Emacs 21.2,
ILISP 5.12, and CLISP 2.30.

Put CLISP in a directory that contains a space, e.g.
"c:\program files\clisp\clisp-2.30". Pass this to
clisp-hs, and get Spawning child process: invalid argument.

Workaround: specify path to CLISP as
"c:\progra~1\clisp\clisp-2.30".

Detailed error message below.

Debugger entered--Lisp error: (file-error "Spawning
child process" "invalid argument")
start-process("clisp-hs" #<buffer *clisp-hs*>
"c:/program" "files/clisp/clisp-2.30/lisp.exe" "-B"
"c:/program" "files/clisp/clisp-2.30/" "-M"
"c:/program" "files/clisp/clisp-2.30/lispinit.mem"
"-ansi" "-q")
apply(start-process "clisp-hs" #<buffer *clisp-hs*>
"c:/program" ("files/clisp/clisp-2.30/lisp.exe" "-B"
"c:/program" "files/clisp/clisp-2.30/" "-M"
"c:/program" "files/clisp/clisp-2.30/lispinit.mem"
"-ansi" "-q"))
comint-exec-1("clisp-hs" #<buffer *clisp-hs*>
"c:/program" ("files/clisp/clisp-2.30/lisp.exe" "-B"
"c:/program" "files/clisp/clisp-2.30/" "-M"
"c:/program" "files/clisp/clisp-2.30/lispinit.mem"
"-ansi" "-q"))
comint-exec(#<buffer *clisp-hs*> "clisp-hs"
"c:/program" nil ("files/clisp/clisp-2.30/lisp.exe"
"-B" "c:/program" "files/clisp/clisp-2.30/" "-M"
"c:/program" "files/clisp/clisp-2.30/lispinit.mem"
"-ansi" "-q"))
make-comint-in-buffer("clisp-hs" nil "c:/program" nil
"files/clisp/clisp-2.30/lisp.exe" "-B" "c:/program"
"files/clisp/clisp-2.30/" "-M" "c:/program"
"files/clisp/clisp-2.30/lispinit.mem" "-ansi" "-q")
apply(make-comint-in-buffer "clisp-hs" nil
"c:/program" nil ("files/clisp/clisp-2.30/lisp.exe"
"-B" "c:/program" "files/clisp/clisp-2.30/" "-M"
"c:/program" "files/clisp/clisp-2.30/lispinit.mem"
"-ansi" "-q"))
make-comint("clisp-hs" "c:/program" nil
"files/clisp/clisp-2.30/lisp.exe" "-B" "c:/program"
"files/clisp/clisp-2.30/" "-M" "c:/program"
"files/clisp/clisp-2.30/lispinit.mem" "-ansi" "-q")
apply(make-comint "clisp-hs" "c:/program" nil
("files/clisp/clisp-2.30/lisp.exe" "-B" "c:/program"
"files/clisp/clisp-2.30/" "-M" "c:/program"
"files/clisp/clisp-2.30/lispinit.mem" "-ansi" "-q"))
(let* ((dialect ...) (program ilisp-program) (args
...) (process-connection-type nil) (names ...) start)
(apply (quote make-comint) name (car args) nil (cdr
args)) (comint-setup-ipc) (funcall setup name) (setq
major-mode (quote ilisp-mode) mode-name "ILISP")
(rplaca (car comint-send-queue) (function ...)) (setq
ilisp-initialized (delete* ilisp-buffer
ilisp-initialized :test ...)) (unless (member* names
ilisp-buffers :key ...) (setq ilisp-buffers ...))
(lisp-pop-to-buffer ilisp-buffer) (setq start
(window-start ...) ilisp-program program) (goto-char
(point-max)) (insert (format "Starting %s ...\n"
ilisp-program)) (set-marker (process-mark ...) (point))
(funcall comint-update-status (quote start)) (when
ilisp-motd (lisp-display-output ...) (sleep-for 3)
(set-window-start ... start)) (unless
ilisp-*prefix-match* (require ...)))
(if (not (comint-check-proc ilisp-buffer)) (let* (...
... ... ... ... start) (apply ... name ... nil ...)
(comint-setup-ipc) (funcall setup name) (setq
major-mode ... mode-name "ILISP") (rplaca ... ...)
(setq ilisp-initialized ...) (unless ... ...)
(lisp-pop-to-buffer ilisp-buffer) (setq start ...
ilisp-program program) (goto-char ...) (insert ...)
(set-marker ... ...) (funcall comint-update-status ...)
(when ilisp-motd ... ... ...) (unless
ilisp-*prefix-match* ...)) (lisp-pop-to-buffer
ilisp-buffer))
ilisp("clisp-hs" setup-clisp-hs)
ilisp-start-dialect("clisp-hs" nil setup-clisp-hs)
clisp-hs()
(cond ((eql lisp-used ...) (clisp-hs)) ((eql
lisp-used ...) (lispworks)))
(case lisp-used (:clisp-ilisp (clisp-hs)) (:lw-ilisp
(lispworks)))
(cond ((or ... ...) (my-setup-ilisp) (case lisp-used
... ...)) ((eq lisp-used :acl-eli) (load
"fi-site-init") (fi:common-lisp
fi:common-lisp-buffer-name fi:common-lisp-directory
fi:common-lisp-image-name
fi:common-lisp-image-arguments fi:common-lisp-host))
((eq lisp-used :corman-inf) (run-lisp cormanlisp-program)))
start-lisp()
* call-interactively(start-lisp)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks