From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error Date: Thu, 16 Jun 2011 10:17:02 -0400 Message-ID: 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> <4DF9CBA1.1090307@gmx.at> <4DF9FE9D.3080609@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308236306 26687 80.91.229.12 (16 Jun 2011 14:58:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2011 14:58:26 +0000 (UTC) Cc: David Engster , 8857@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 16 16:58:18 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 1QXE1P-0002nf-Ui for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2011 16:58:16 +0200 Original-Received: from localhost ([::1]:51289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXE1O-0002PR-SS for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2011 10:58:15 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXDOd-0000JF-7D for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 10:18:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXDOV-0000K7-PT for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 10:18:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXDOU-0000Ho-7z for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2011 10:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QXDOT-0002TC-NB; Thu, 16 Jun 2011 10:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2011 14:18:01 +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.13082338339429 (code B ref 8857); Thu, 16 Jun 2011 14:18:01 +0000 Original-Received: (at 8857) by debbugs.gnu.org; 16 Jun 2011 14:17:13 +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 1QXDNg-0002S1-C3 for submit@debbugs.gnu.org; Thu, 16 Jun 2011 10:17:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QXDNc-0002Rk-Vy; Thu, 16 Jun 2011 10:17:10 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALcP+k1MCozA/2dsb2JhbABSpl94iHPAeoYnBJ1OhB0 X-IronPort-AV: E=Sophos;i="4.65,375,1304308800"; d="scan'208";a="116445513" Original-Received: from 76-10-140-192.dsl.teksavvy.com (HELO pastel.home) ([76.10.140.192]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Jun 2011 10:17:02 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 77B5859010; Thu, 16 Jun 2011 10:17:02 -0400 (EDT) In-Reply-To: <4DF9FE9D.3080609@gmx.at> (martin rudalics's message of "Thu, 16 Jun 2011 15:01:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 16 Jun 2011 10:18:01 -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:47237 Archived-At: > IIRC the default was nil. 'graphic-only was IMHO a not very > well-conceived idea because it didn't inhibit applications to rebind > this to t. I've never seen a `pop-up-frames' rebinding function care > about this issue. graphics-only was a quick fix for people who want to set pop-up-frames in their .emacs but get annoyed when they tty-emacsclient end up popping up frames as well. > In any case, we could conceive an additional variable (not necessarily > an option), say `display-buffer-pop-up-frame-graphic-only', which, if > non-nil, effectively inhibits popping up a new frame on non-graphic > systems, overriding any value calculated from buffer display specifiers > and `pop-up-frames'. More generally we want to specify different display-buffer behaviors for tty (where frames are fully-overlapping) and graphic terminals (where several frames may be visible at the same time). Stefan