help-gnu-emacs
[Top][All Lists]
Advanced

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

X- and non-X-frames in same emacs?


From: Tapani Tarvainen
Subject: X- and non-X-frames in same emacs?
Date: 30 Jan 2003 09:37:44 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Is it possible to have an X frame and a non-X frame in same emacs
simultaneously? How?

It seems that if emacs is started with -nw or with DISPLAY unset,
make-frame-on-display ignores the display given and opens another
non-X frame in the same display. Is there a way around that?

Or, is there a way to attach to a running emacs that has
its frame(s) open somewhere else and open a new frame in
the local display?

Basically what I want is to be able to start emacs on machine A,
and later log on to it (with ssh) from machine B and access the
running emacs from there. 

I can run same emacs on both displays if I set it up in advance,
i.e., leave X running on A, ssh to it from B, start emacs (with
display on B) and use make-frame-on-display to open another
frame in A, or in the opposite order if I make a note of the
DISPLAY variable ssh gets, but either way it takes more
advance preparation than I like, and if the connection is
temporarily broken I cannot re-establish it without going
physically to the other location. Also, it only works
if I have X on both locations. 

If I settle on non-X frames only I can simply use screen, but
it's so much nicer with X...

Ideally I'd like to leave emacs in the background (with screen or
otherwise) and attach to it and open new frames anywhere as long
as I can ssh to the machine it's running in.

Suggestions, anyone?

-- 
Tapani Tarvainen


reply via email to

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