M-x nxhtmltest-run-Q seems to successfully run some tests, but all it gives back is the following message in the minibuffer:
Wrong type argument: stringp, nil
*Messages* says:
Test message
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
At that time, there's a buffer "temp-test.el" with the following contents:
(setq debug-on-error t)
(eval-when-compile (require 'cl))
(delete-other-windows)
(eval-after-load 'nxhtml '(setq nxhtml-skip-welcome t))
(setq nxhtmltest-default-fontification-method 'fontify-w-timer-handlers)
One last thing I noticed: If I run the command a second time, I additionally get this error:
ad-Orig-syntax-ppss-flush-cache: Lisp nesting exceeds `max-lisp-eval-depth'
Hello,
Thanks for your reply!
M-x nxhtmltest-run-Q seems to successfully run some tests, but all it gives back is the following message in the minibuffer:
Wrong type argument: stringp, nil
*Messages* says: tmp/lisp/ nxhtml/ tests/temp- test.el bin-Q=/ home/ecce/ tmp/lisp/ nxhtml/ tests/ auto-start= /home/ecce/ tmp/lisp/ nxhtml/ autostart. el run-Q=run
Test message
Ran 30 tests, 30 results were as expected
Wrote /home/ecce/
nxhtmltest-
nxhtml-
After set nxhtmltest-
let*: Wrong type argument: stringp, nil
And the debugger: type-argument stringp nil) ecce/tmp/ lisp/nxhtml/ tests/temp- test.el" "-l" "/home/ ecce/tmp/ lisp/nxhtml/ autostart. el" "-l" "/home/ ecce/tmp/ lisp/nxhtml/ tests/nxhtmltes t-suites. el") helpers) ) (nxhtmltest- get-fontificati on-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 ...")) run-Q() interactively( nxhtmltest- run-Q t nil) extended- command( nil) interactively( execute- extended- command nil nil)
Debugger entered--Lisp error: (wrong-
call-process(nil nil 0 nil "-Q" "-l" "/home/
(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-
nxhtmltest-
call-
execute-
call-
At that time, there's a buffer "temp-test.el" with the following contents: other-windows) default- fontification- method 'fontify- w-timer- handlers)
(setq debug-on-error t)
(eval-when-compile (require 'cl))
(delete-
(eval-after-load 'nxhtml '(setq nxhtml-skip-welcome t))
(setq nxhtmltest-
One last thing I noticed: If I run the command a second time, I additionally get this error: syntax- ppss-flush- cache: Lisp nesting exceeds `max-lisp- eval-depth'
ad-Orig-
Hope this helps...