From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Terminology in multi-tty primitives Date: Sat, 03 Jan 2009 11:59:12 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1230976771 13532 80.91.229.12 (3 Jan 2009 09:59:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2009 09:59:31 +0000 (UTC) Cc: cyd@stupidchicken.com, stephen@xemacs.org, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 03 11:00:40 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LJ3J9-0001Z7-VS for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2009 11:00:40 +0100 Original-Received: from localhost ([127.0.0.1]:50824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ3Hu-0002J0-Dg for ged-emacs-devel@m.gmane.org; Sat, 03 Jan 2009 04:59:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJ3Ho-0002Iv-UU for emacs-devel@gnu.org; Sat, 03 Jan 2009 04:59:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJ3Hn-0002Ih-0A for emacs-devel@gnu.org; Sat, 03 Jan 2009 04:59:15 -0500 Original-Received: from [199.232.76.173] (port=47529 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJ3Hm-0002Id-OQ for emacs-devel@gnu.org; Sat, 03 Jan 2009 04:59:14 -0500 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:12158) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJ3Hk-0004MR-M8; Sat, 03 Jan 2009 04:59:12 -0500 Original-Received: from conversion-daemon.i_mtaout4.012.net.il by i_mtaout4.012.net.il (HyperSendmail v2004.12) id <0KCW00D003L1SP00@i_mtaout4.012.net.il>; Sat, 03 Jan 2009 12:01:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.220.202]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KCW00AZQ3V19D30@i_mtaout4.012.net.il>; Sat, 03 Jan 2009 12:01:50 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107542 Archived-At: > From: Stefan Monnier > Cc: rms@gnu.org, stephen@xemacs.org, cyd@stupidchicken.com, emacs-devel@gnu.org > Date: Fri, 02 Jan 2009 21:32:11 -0500 > > - the user-level command make-frame-on-tty doesn't seem very useful and > I'd be happy to remove it. > > - if we remove it, then we have to replace the only call to it from > Elisp, which is of course in server.el. > I guess server.el can't be used under MS-DOS, so the test you added > wouldn't be needed there anyway, so server.el could just as well use > (make-frame `((window-system) (tty . ,tty) (tty-type . ,type) . ,parameters)) > so the uglyness is not really crucial in make-frame. server.el is indeed not used in the MS-DOS port, so removing make-frame-on-tty will eliminate the need for that kludge. (I somehow had an impression that make-frame-on-tty is used somewhere else, but I see now that I was dreaming.) However, are we really that sure users won't want to have an ability to create frames on other tty's? By the same token, why do we have make-frame-on-display? the same reason(s) would be arguments to retain make-frame-on-tty. > - still, when make-frame is called with an explicit `tty' argument but > without an explicit `window-system' argument, the right thing to do is > to give precedence to the `tty' and choose an appropriate > window-system for it. If we don't need this, why introduce it?