[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminology in multi-tty primitives

From: Dan Nicolaescu
Subject: Re: Terminology in multi-tty primitives
Date: Wed, 31 Dec 2008 13:39:28 -0800 (PST)

Eli Zaretskii <address@hidden> writes:

  > > From: Stefan Monnier <address@hidden>
  > > Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden,  
  > > 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...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]