Comment 6 for bug 300946

Revision history for this message
ecce berlin (ecce-berlin) wrote :

Hm... actually, I get a very similar result for nxhtmltest-run-Q with this version of Emacs, which otherwise seems to work fine with nxhtml:

GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
of 2008-05-03 on terranova, modified by Ubuntu

*Messages* says:
Loading /home/ecce/tmp/lisp/nxhtml/tests/nxhtmltest-Q.el (source)...done
Loading cl-seq...done
Loading cl-extra...done
Test message
Loading pp...done
Ran 30 tests, 30 results were as expected
Wrote /home/ecce/tmp/lisp/nxhtml/tests/temp-test.el
nxhtmltest-bin-Q=/home/ecce/tmp/lisp/nxhtml/tests/
nxhtml-auto-start=/home/ecce/tmp/lisp/nxhtml/autostart.el
After set nxhtmltest-run-Q=run
let*: Wrong type argument: stringp, nil

And the debugger:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  call-process(nil nil 0 nil "-Q" "-l" "/home/ecce/tmp/lisp/nxhtml/tests/temp-test.el" "-l" "/home/ecce/tmp/lisp/nxhtml/autostart.el" "-l" "/home/ecce/tmp/lisp/nxhtml/tests/nxhtmltest-suites.el")
  (let* ((test-el ...) (nxhtml-auto-start ...) (temp-eval-file ...) (temp-eval-buf ...) (load-path load-path)) (add-to-list (quote load-path) nxhtmltest-bin-Q) (require (quote nxhtmltest-helpers)) (nxhtmltest-get-fontification-method) (with-current-buffer temp-eval-buf (erase-buffer) (insert "(setq debug-on-error t)\n" "(eval-when-compile (require 'cl))\n" "(delete-other-windows)\n" "(eval-after-load 'nxhtml '(setq nxhtml-skip-welcome t))\n" ...)) (when (featurep ...) (with-current-buffer temp-eval-buf ...)) (with-current-buffer temp-eval-buf (save-buffer)) (unless (file-exists-p nxhtmltest-bin-Q) (error "Can't find directory %s" nxhtmltest-bin-Q)) (unless (file-exists-p test-el) (error "Can't find file %s" test-el)) (unless (file-exists-p nxhtml-auto-start) (error "Can't find file %s" nxhtml-auto-start)) (message "nxhtmltest-bin-Q=%s" nxhtmltest-bin-Q) (message "nxhtml-auto-start=%s" nxhtml-auto-start) (setenv "nxhtmltest-run-Q" "run") (message "After set nxhtmltest-run-Q=%s" (getenv "nxhtmltest-run-Q")) (call-process (ourcomments-find-emacs) nil 0 nil "-Q" "-l" temp-eval-file "-l" nxhtml-auto-start "-l" test-el) (message "After call-process") (setenv "nxhtmltest-run-Q") (message "Starting new Emacs instance for test - it will be ready soon ..."))
  nxhtmltest-run-Q()
  call-interactively(nxhtmltest-run-Q)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)