[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Batch mode is broken.
From: |
Stefan Monnier |
Subject: |
Re: Batch mode is broken. |
Date: |
Tue, 22 Apr 2008 23:19:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> With a newly built CVS Emacs, I tried the following command:
> % ~/emacs/emacs/src/emacs -Q -batch -l 000tests.el -f do-all-tests
> (That's the test suite for CC Mode, by the way.)
> It returned this error message:
> Device 0 is not a termcap terminal device
This comes from get_tty_terminal whose relevant callers are suspend-tty,
resume-tty, and send-string-to-terminal. No idea why one of those would
be called. Maybe send-string-to-terminal gets called because Emacs
tries to enable xterm-mouse-mode or xterm-modify-other-keys?
Emacs's batch mode is used to build Emacs, so clearly it works in
some cases. Can you try and narrow down which part of 000tests.el
and/or do-all-tests trigger the problem?
Stefan