From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Terminology in multi-tty primitives Date: Tue, 30 Dec 2008 22:20:41 -0500 Message-ID: References: <87zlies8wo.fsf@xemacs.org> <200812310220.mBV2KWv4001309@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230694541 6945 80.91.229.12 (31 Dec 2008 03:35:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 03:35:41 +0000 (UTC) Cc: cyd@stupidchicken.com, "Stephen J. Turnbull" , eliz@gnu.org, rms@gnu.org, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 31 04:36:49 2008 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 1LHrt2-0007mh-H7 for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2008 04:36:48 +0100 Original-Received: from localhost ([127.0.0.1]:53241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHrro-0001mO-Q1 for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2008 22:35:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHrdb-000483-GC for emacs-devel@gnu.org; Tue, 30 Dec 2008 22:20:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHrdZ-000475-K2 for emacs-devel@gnu.org; Tue, 30 Dec 2008 22:20:51 -0500 Original-Received: from [199.232.76.173] (port=40157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHrdZ-00046w-Ch for emacs-devel@gnu.org; Tue, 30 Dec 2008 22:20:49 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:9890 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHrdX-0005ls-6p; Tue, 30 Dec 2008 22:20:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqYEAGN0WklLd+aG/2dsb2JhbACBbMs6hkSBZ4JI X-IronPort-AV: E=Sophos;i="4.36,305,1228107600"; d="scan'208";a="31632974" Original-Received: from 75-119-230-134.dsl.teksavvy.com (HELO ceviche.home) ([75.119.230.134]) by ironport2-out.teksavvy.com with ESMTP; 30 Dec 2008 22:20:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id B54DBB41B5; Tue, 30 Dec 2008 22:20:41 -0500 (EST) In-Reply-To: <200812310220.mBV2KWv4001309@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 30 Dec 2008 18:20:32 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:107443 Archived-At: >> > (make-frame '((terminal DESCRIPTOR) >> > (terminal-type TYPE))) >> >> > I think this is not very different from the current situation, as >> > regards Lisp calls. The reason for make-frame-on-display and >> > make-frame-on-tty is for invocation with M-x, where you need to >> > specify the terminal with a string. >> >> > These commands could be merged by using a heuristic to >> > tell whether the argument is a tty device or an X server. >> >> I don't think it's important to merge them. More important is to make >> it clear why they exist. E.g. by marking them as "not for use from >> Elisp" and/or by documenting which `make-frame' call is equivalent when >> called from Elisp. > BTW is `make-frame-on-tty' useful as an interactive function? What > would the use-case be for that? I'd say: drop the interactive spec for it... We could/should just get rid of it, actually. BTW, what's up with the test (eq window-system 'pc) in make-frame-on-tty? Does it really do something useful? Stefan