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: Stefan Monnier
Subject: Re: Terminology in multi-tty primitives
Date: Thu, 01 Jan 2009 12:13:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> > By the way, why does it need the conditional that tests window-system?
>> > Should the proper handling of window-system be built into `make-frame'
>> > instead?  If it is needed for all frame creation on MSDOG, putting it
>> > in `make-frame' is best because that way it only needs to be done once
>> > and callers are all simpler.
>> My thought exactly,

> Could you two please explain the details of your thoughts?
> The original make-frame-on-tty, before I added the `pc' condition, did
> this:

>     (make-frame `((window-system . nil) (tty . ,tty) (tty-type . ,type) . 
> ,parameters))))

> Now, what do you want to change exactly, and which part do you want to
> move to make-frame?

I think calls to make-frame-on-tty should be replaceable by just

   (make-frame `((tty . ,tty) (tty-type . ,type) . ,parameters))))

I.e. the explicit `tty' parameter should be interpreted by make-frame as
overriding the window-system of the current frame.


        Stefan




reply via email to

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