From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1165: 23.0.60; doc of make-frame-command Date: Tue, 14 Oct 2008 21:45:19 +0200 Message-ID: References: <001601c92e24$45515bf0$0200a8c0@us.oracle.com> Reply-To: Eli Zaretskii , 1165@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224015104 18550 80.91.229.12 (14 Oct 2008 20:11:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 20:11:44 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org To: Drew Adams , 1165@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 22:12:43 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpqEn-0001ES-WA for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 22:11:26 +0200 Original-Received: from localhost ([127.0.0.1]:59225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpqDj-0006sE-C5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 16:10:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpqDX-0006ms-JM for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 16:10:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpqDV-0006kx-03 for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 16:10:06 -0400 Original-Received: from [199.232.76.173] (port=52868 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpqDU-0006kA-Iq for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 16:10:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46491) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpqDS-0004nK-QF for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 16:10:03 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EK9xlF004037; Tue, 14 Oct 2008 13:09:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9EJt7H3032423; Tue, 14 Oct 2008 12:55:07 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Oct 2008 19:55:07 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1165 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1165-submit@emacsbugs.donarmstrong.com id=B1165.122401360230932 (code B ref 1165); Tue, 14 Oct 2008 19:55:07 +0000 Original-Received: (at 1165) by emacsbugs.donarmstrong.com; 14 Oct 2008 19:46:42 +0000 Original-Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EJkcq1030912 for <1165@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 12:46:40 -0700 Original-Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8Q00IRMUXN6VJ0@i-mtaout7.012.net.il> for 1165@emacsbugs.donarmstrong.com; Tue, 14 Oct 2008 21:46:36 +0200 (IST) In-reply-to: <001601c92e24$45515bf0$0200a8c0@us.oracle.com> X-012-Sender: halo1@inter.net.il X-CrossAssassin-Score: 3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Oct 2008 16:10:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21482 gmane.emacs.pretest.bugs:23215 Archived-At: > From: "Drew Adams" > Date: Tue, 14 Oct 2008 10:42:43 -0700 > Cc: > > (if (and window-system (not (eq window-system 'pc))) > (make-frame) > (select-frame (make-frame))) > > 1. Why the difference for `pc'? `pc' is the value of window-system for the MS-DOS build of Emacs. The MS-DOS build behaves like a text terminal, but its window-system has a non-nil value; thus the difference. Although correct, that code should actually be rewritten using display-graphic-p to become cleaner. > 2. What does the doc string mean by "terminal" and "if the terminal > displays only one frame"? It means the text-only terminals, which can only display one frame at a time. > If "terminal" refers only to emacs -nw, then nothing is said about > the window-manager case. Well, I think it does say something about the windowed terminals: it says that on those terminals, a new frame is created, but it is not selected.