[Top][All Lists]

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

Re: Terminology in multi-tty primitives

From: Stefan Monnier
Subject: Re: Terminology in multi-tty primitives
Date: Tue, 30 Dec 2008 22:20:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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


reply via email to

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