From: "A. Soare" <alinsoar@voila.fr>
To: Jonathan Rockway <jon@jrock.us>
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: emacs in "screen".
Date: Thu, 18 Jun 2009 11:45:01 +0200 (CEST) [thread overview]
Message-ID: <12224912.4781751245318301340.JavaMail.www@wwinf4631> (raw)
Thanks for your answer.
I am sorry for my late answer.
> Did you try make-frame-on-display? Did it work? Do you want emacs to
> automatically try making a frame on a display if the display dies?
make-frame-on-display is exactly what I want. When I start emacs from ttyx, then make-frame-on-display opens a frame in X, and when that frame closes, the tty session survive and one can run again make-frame-on-display.
Thank you.
Best regards,
Alin.
>
> FWIW, I start emacs --daemon with daemontools when I log in, and then
> get my X frame via "emacsclient -c". Even after restarting X, I can
> still get my same session back. The key is to either start emacs with
> "emacs --daemon", or to start a "-nw" session in your screen session.
> Then do a M-x server-start and connect to that emacs with emacsclient.
>
> Also, you don't really need screen for this. You can start an "emacs
> --daemon" and then connect to that emacs session from the console with
> "emacsclient -t". emacs can do its own session management now, which
> will even save you in the rare event that screen crashes.
>
____________________________________________________
Découvrez Cocoon et Catpower dans notre sélection musicale folk sur Voila http://musiline.voila.fr
next reply other threads:[~2009-06-18 9:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-18 9:45 A. Soare [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-05-29 11:25 emacs in "screen" A. Soare
2009-06-05 19:59 ` Jonathan Rockway
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=12224912.4781751245318301340.JavaMail.www@wwinf4631 \
--to=alinsoar@voila.fr \
--cc=emacs-devel@gnu.org \
--cc=jon@jrock.us \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).