From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A. Soare" Newsgroups: gmane.emacs.devel Subject: Re: emacs in "screen". Date: Thu, 18 Jun 2009 11:45:01 +0200 (CEST) Message-ID: <12224912.4781751245318301340.JavaMail.www@wwinf4631> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245318330 2425 80.91.229.12 (18 Jun 2009 09:45:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2009 09:45:30 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Jonathan Rockway Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 18 11:45:18 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHEBJ-00049u-Vb for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2009 11:45:18 +0200 Original-Received: from localhost ([127.0.0.1]:35769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHEBJ-0004cp-6H for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2009 05:45:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHEBB-0004cQ-71 for emacs-devel@gnu.org; Thu, 18 Jun 2009 05:45:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHEB6-0004cE-8Q for emacs-devel@gnu.org; Thu, 18 Jun 2009 05:45:07 -0400 Original-Received: from [199.232.76.173] (port=57677 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHEB5-0004cB-UI for emacs-devel@gnu.org; Thu, 18 Jun 2009 05:45:04 -0400 Original-Received: from smtp3.voila.fr ([193.252.22.173]:63313 helo=smtp1.voila.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHEB5-0008O7-I7 for emacs-devel@gnu.org; Thu, 18 Jun 2009 05:45:03 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4921.voila.fr (SMTP Server) with ESMTP id 610BB70000D5; Thu, 18 Jun 2009 11:45:01 +0200 (CEST) Original-Received: from wwinf4631 (wwinf4631 [10.232.13.105]) by mwinf4921.voila.fr (SMTP Server) with ESMTP id 5409970000D3; Thu, 18 Jun 2009 11:45:01 +0200 (CEST) X-ME-UUID: 20090618094501344.5409970000D3@mwinf4921.voila.fr X-Originating-IP: [91.201.80.240] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111573 Archived-At: 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. >=20 > 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. >=20 > 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. >=20 ____________________________________________________ D=C3=A9couvrez Cocoon et Catpower dans notre s=C3=A9lection musicale folk s= ur Voila http://musiline.voila.fr