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: Fri, 02 Jan 2009 15:56:37 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1230904619 27814 80.91.229.12 (2 Jan 2009 13:56:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2009 13:56:59 +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 Fri Jan 02 14:58:07 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 1LIkXN-0003a5-9m for ged-emacs-devel@m.gmane.org; Fri, 02 Jan 2009 14:58:05 +0100 Original-Received: from localhost ([127.0.0.1]:36933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIkW8-0001Bg-Ej for ged-emacs-devel@m.gmane.org; Fri, 02 Jan 2009 08:56:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIkW3-0001Bb-AD for emacs-devel@gnu.org; Fri, 02 Jan 2009 08:56:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIkW1-0001BP-HV for emacs-devel@gnu.org; Fri, 02 Jan 2009 08:56:41 -0500 Original-Received: from [199.232.76.173] (port=43188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIkW1-0001BM-Ay for emacs-devel@gnu.org; Fri, 02 Jan 2009 08:56:41 -0500 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:17428) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LIkVw-000533-WF; Fri, 02 Jan 2009 08:56:37 -0500 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KCU00100JWYM400@i_mtaout2.012.net.il>; Fri, 02 Jan 2009 15:59:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.220.202]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KCU00DYPK6R4MI0@i_mtaout2.012.net.il>; Fri, 02 Jan 2009 15:59:16 +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:107524 Archived-At: > From: Stefan Monnier > Cc: rms@gnu.org, stephen@xemacs.org, cyd@stupidchicken.com, emacs-devel@gnu.org > Date: Thu, 01 Jan 2009 12:13:53 -0500 > > > (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . ,parameters)))) > > > Now, what do you want to change exactly, and which part do you want to > > move to make-frame? > > I think calls to make-frame-on-tty should be replaceable by just > > (make-frame `((tty . ,tty) (tty-type . ,type) . ,parameters)))) > > I.e. the explicit `tty' parameter should be interpreted by make-frame as > overriding the window-system of the current frame. I won't object to such a change, but I must say I don't see how that would be more elegant than the current code in make-frame-on-tty. Perhaps even less elegant: make-frame-on-tty is a user command, so it can sustain more ugliness, if user-level considerations justify that. By contrast, make-frame is a general-purpose infrastructure, and introducing such conditions into it makes it less general.