From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error Date: Tue, 14 Jun 2011 11:16:16 +0200 Message-ID: <4DF726E0.6020205@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308043097 2940 80.91.229.12 (14 Jun 2011 09:18:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 09:18:17 +0000 (UTC) Cc: 8857@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 11:18:13 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWPlC-0008UE-4v for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 11:18:10 +0200 Original-Received: from localhost ([::1]:36231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWPlB-0002mR-4b for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 05:18:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWPk8-0002fr-9Y for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 05:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWPk7-0005SU-0J for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 05:17:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWPk6-0005SN-Ix for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 05:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWPk6-00052J-56; Tue, 14 Jun 2011 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2011 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8857 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8857-submit@debbugs.gnu.org id=B8857.130804298519304 (code B ref 8857); Tue, 14 Jun 2011 09:17:02 +0000 Original-Received: (at 8857) by debbugs.gnu.org; 14 Jun 2011 09:16:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWPjV-00051J-59 for submit@debbugs.gnu.org; Tue, 14 Jun 2011 05:16:25 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWPjT-000510-SI for 8857@debbugs.gnu.org; Tue, 14 Jun 2011 05:16:24 -0400 Original-Received: (qmail invoked by alias); 14 Jun 2011 09:16:17 -0000 Original-Received: from 62-47-57-173.adsl.highway.telekom.at (EHLO [62.47.57.173]) [62.47.57.173] by mail.gmx.net (mp025) with SMTP; 14 Jun 2011 11:16:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18sA6Ax9OAsw+pPcn2VYiNphegCr643Qs4dfM/+d9 6oW9zw+THZiHyn User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 14 Jun 2011 05:17:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47122 Archived-At: > OK, this is not a very sensible example, but it illustrates the point. > It's caused by display-buffer trying to pop-up a frame in batch-mode and > is very recent. Can you tell me where and why `display-buffer' is called? > PS I forgot to say that I think display-buffer should not try to pop-up > frames (or do anything at all?) in batch-mode. Or if it must give an > error it should try to give a more helpful one than "Unknown terminal > type". In particular not with emacs -Q. But I have no experience debugging emacs with the batch option. So before delving into this maybe you could give me more information? Note that while `pop-up-frames' has the optional value graphic-only which should prevent Emacs from popping up frames on non-graphic systems, that value is consistently overridden by applications that bind `pop-up-frames' to t. But I don't think that's related. martin