GNU bug report logs - #8857
display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 13 Jun 2011 22:22:01 UTC

Severity: normal

Done: David Engster <deng <at> randomsample.de>

Bug is archived. No further changes may be made.

Full log


Message #71 received at 8857 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: martin rudalics <rudalics <at> gmx.at>, 8857 <at> debbugs.gnu.org
Subject: Re: bug#8857: display-buffer attempt to pop-up frame in batch mode
	causes	"Unknown terminal type" error
Date: Wed, 15 Jun 2011 17:02:50 -0400
>> "batch mode" and "server mode" are *very* closely related.  So I'd stay
>> away from any attempt to special case "batch mode".

> FWIW, `noninteractive' is nil in "server mode" (ie --daemon) but t in
> "batch mode", so the two cases are easily distinguished.

> Since emacs.c has:

>   if (!noninteractive)
>     init_display ();    /* Determine terminal type.  Calls init_sys_modes.  */

> I've gone back to thinking that display-buffer can do nothing useful in
> batch mode.

It might fix it for batch mode, but you may get the same problem in
"server mode before opening any display or tty".  That's what I mean by
the two being closely related.

I.e. we need to make it work on the dummy initial terminal.


        Stefan




This bug report was last modified 14 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.