unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: dhruva <dhruvakm@gmail.com>
To: "Ulrich Mueller" <ulm@gentoo.org>
Cc: "Diego E. 'Flameeyes' Pettenò" <flameeyes@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Emacs daemon dies at Xorg crash
Date: Wed, 17 Dec 2008 17:07:57 +0530	[thread overview]
Message-ID: <e3f230850812170337h680c3f52tec8bcff27ab26132@mail.gmail.com> (raw)
In-Reply-To: <18760.56870.137654.853165@a1ihome1.kph.uni-mainz.de>

Hi,

On Wed, Dec 17, 2008 at 4:40 PM, Ulrich Mueller <ulm@gentoo.org> wrote:
>>>>>> On Tue, 16 Dec 2008, Diego E 'Flameeyes' wrote:
>
>> Why on earth when Xorg dies, my emacs daemon dies as well? Isn't it
>> the point of using the daemon to NOT die when X dies and preserve
>> the workspace between X restarts?
>
> In x_connection_closed there are two tests for the last terminal,
> where shut_down_emacs is called. Probably this should be modified for
> the daemon case?

I completely agree. My use case is something like this. I run an X
server on WXP and have emacs frame running on a remote GNU/Linux box.
When I put my laptop in standby mode with the emacs frame on my local
X server on WXP and wake up my system, the emacs process on the remote
GNU/Linux machine is killed.
 I now make sure I close all emacs frames before putting my laptop on
standby/hibernate. If I forget, it is gone!

-dhruva

-- 
Contents reflect my personal views only!




  reply	other threads:[~2008-12-17 11:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1229454957.21129.0.camel@localhost>
2008-12-17 11:10 ` Emacs daemon dies at Xorg crash Ulrich Mueller
2008-12-17 11:37   ` dhruva [this message]
2008-12-17 16:03   ` Chong Yidong
2008-12-17 17:08     ` Dan Nicolaescu
2008-12-17 19:25       ` Ulrich Mueller
2008-12-17 22:51         ` Dan Nicolaescu
2008-12-18 12:03           ` Ulrich Mueller
2008-12-18 12:14             ` Ulrich Mueller
2008-12-18 19:14             ` Dan Nicolaescu
2008-12-18 22:03               ` Ulrich Mueller
2008-12-18 22:49                 ` Dan Nicolaescu
2008-12-19  0:04                   ` Ulrich Mueller
2008-12-19  0:46                     ` Dan Nicolaescu
2008-12-19  8:00                       ` Ulrich Mueller
2008-12-19 17:00                         ` Dan Nicolaescu
2008-12-19 17:27                           ` Ulrich Mueller
2008-12-19 17:47                             ` Dan Nicolaescu
2008-12-19 13:56                       ` Stefan Monnier
2008-12-19 16:45                         ` Dan Nicolaescu
2008-12-20 18:35                   ` Ulrich Mueller

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=e3f230850812170337h680c3f52tec8bcff27ab26132@mail.gmail.com \
    --to=dhruvakm@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=flameeyes@gmail.com \
    --cc=ulm@gentoo.org \
    /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).