From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Terminology in multi-tty primitives Date: Wed, 31 Dec 2008 13:39:28 -0800 (PST) Message-ID: <200812312139.mBVLdSUA005626@mothra.ics.uci.edu> 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 1230759601 14424 80.91.229.12 (31 Dec 2008 21:40:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 21:40:01 +0000 (UTC) Cc: cyd@stupidchicken.com, stephen@xemacs.org, emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 31 22:41:07 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 1LI8oN-0007wh-0o for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2008 22:41:07 +0100 Original-Received: from localhost ([127.0.0.1]:42896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LI8n8-0007HL-WD for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2008 16:39:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LI8n5-0007HG-RA for emacs-devel@gnu.org; Wed, 31 Dec 2008 16:39:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LI8n2-0007H3-6k for emacs-devel@gnu.org; Wed, 31 Dec 2008 16:39:46 -0500 Original-Received: from [199.232.76.173] (port=43287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LI8n2-0007H0-1F for emacs-devel@gnu.org; Wed, 31 Dec 2008 16:39:44 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:52219) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LI8mx-00079U-JI; Wed, 31 Dec 2008 16:39:40 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mBVLdTRe020294; Wed, 31 Dec 2008 13:39:29 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBVLdSUA005626; Wed, 31 Dec 2008 13:39:28 -0800 (PST) In-Reply-To: (Eli Zaretskii's message of "Wed, 31 Dec 2008 20:47:50 +0200") Original-Lines: 25 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBVLdTRe020294 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:107479 Archived-At: Eli Zaretskii writes: > > From: Stefan Monnier > > Cc: dann@ics.uci.edu, rms@gnu.org, cyd@stupidchicken.com, stephen@xemacs.org, emacs-devel@gnu.org > > Date: Wed, 31 Dec 2008 01:25:15 -0500 > > > > >> BTW, what's up with the test (eq window-system 'pc) in > > >> make-frame-on-tty? Does it really do something useful? > > > > > Yes: it makes the function work on MS-DOS. > > > > You mean the MS-DOS port supports multiple "tty"s? > > Yes, in the sense that all the APIs introduced by multi-tty do work in > the MS-DOS port if they make sense on DOS. > > For example, make-frame-on-tty does make sense on MS-DOS when its > first arg is "/dev/tty" or "CON", so I didn't want it to fail just > because it assumed that on a tty, the value of window-system _must_ be > nil. Then it would be better to just push the test inside the `window-system' form, rather that duplicate the whole call. But IMHO make-frame-on-tty is not very useful in general, and we would be better off without it, there's a single user (in server.el) in the tree...