|
From: | Glenn Morris |
Subject: | bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error |
Date: | Wed, 15 Jun 2011 15:40:31 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote: > "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.
[Prev in Thread] | Current Thread | [Next in Thread] |