From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error Date: Wed, 15 Jun 2011 21:42:28 +0200 Message-ID: <878vt2lw4b.fsf@engster.org> References: <4DF726E0.6020205@gmx.at> <4DF79707.7000707@gmx.at> <4DF7A0D0.2030707@gmx.at> <4DF7B1D2.3010304@gmx.at> <9ypqmfy2lo.fsf@fencepost.gnu.org> <4DF866F7.3070006@gmx.at> <87oc1zkp0n.fsf@engster.org> <4DF8EFB3.1060304@gmx.at> <87fwnbkkvd.fsf@engster.org> <4DF908EB.8000204@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308171361 7910 80.91.229.12 (15 Jun 2011 20:56:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2011 20:56:01 +0000 (UTC) Cc: 8857@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 22:55:57 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 1QWx81-0001Pk-2A for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 22:55:57 +0200 Original-Received: from localhost ([::1]:59573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWx7z-0001gV-MW for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jun 2011 16:55:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWw0T-0006eu-PE for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 15:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWw0R-0006Xx-S1 for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 15:44:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWw0R-0006Xq-Dn for bug-gnu-emacs@gnu.org; Wed, 15 Jun 2011 15:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWw0Q-00047i-Hm; Wed, 15 Jun 2011 15:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Jun 2011 19:44: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.130816701615810 (code B ref 8857); Wed, 15 Jun 2011 19:44:02 +0000 Original-Received: (at 8857) by debbugs.gnu.org; 15 Jun 2011 19:43:36 +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 1QWvzz-00046x-Nl for submit@debbugs.gnu.org; Wed, 15 Jun 2011 15:43:36 -0400 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWvzw-00046j-LY for 8857@debbugs.gnu.org; Wed, 15 Jun 2011 15:43:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=CN7UGocIQTjIH2qmb0H6Y567Na6GrkWlDzpdUqeJOkU=; b=oSuU8U9Cn4rA/A4jOkkncajRgC5Ua2dugdiCru9pBXw+1W9hHfhvZ7jR1XAVxbO/VNsoSW4Q8CTx+5yah3TP67Gfbgud3qTGoUANwffz27QZ1KEYHp5BlsjxVBhL5HTj; Original-Received: from dslc-082-083-039-127.pools.arcor-ip.net ([82.83.39.127] helo=spaten) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QWvzq-0007N4-Rv; Wed, 15 Jun 2011 21:43:26 +0200 In-Reply-To: <4DF908EB.8000204@gmx.at> (martin rudalics's message of "Wed, 15 Jun 2011 21:32:59 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 15 Jun 2011 15:44: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:47208 Archived-At: martin rudalics writes: > The problem is that `switch-to-buffer-other-window' has to use "another" > window. If it can't pop up a window on the selected frame it tries to > pop up a new frame :-( As Glenn remarked - you can get the same problem > by setting `pop-up-frames' to t. What shall I do? I'm a bit confused. Yes, Emacs23 shows the same error with pop-up-frames to 't'. However, if I explicitly set it to 'nil' for Emacs24, I still get the same error: --> emacs --batch -Q --eval "(setq pop-up-frames nil)" foo bar baz Unknown terminal type If the issue is really just the changed default for `pop-up-frames', I'd say the default should be again changed to 'graphic-only instead of 'unset. -David