unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tapani Tarvainen <tt+gn20030130T091943@it.jyu.fi>
Subject: X- and non-X-frames in same emacs?
Date: 30 Jan 2003 09:37:44 +0200	[thread overview]
Message-ID: <n6bs1z84vr.fsf@it.jyu.fi> (raw)


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	other threads:[~2003-01-30  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30  7:37 Tapani Tarvainen [this message]
2003-01-30  8:05 ` X- and non-X-frames in same emacs? Eli Zaretskii
2003-01-30  8:23 ` Kai Großjohann
2003-01-30 12:27 ` Ehud Karni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=n6bs1z84vr.fsf@it.jyu.fi \
    --to=tt+gn20030130t091943@it.jyu.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).