emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 30 Dec 2008 18:20:32 -0800 (PST)

Stefan Monnier <address@hidden> writes:

  > >   (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...




reply via email to

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