unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* feature request: daemonize
@ 2011-08-23 19:29 Neal Becker
  2011-08-23 19:40 ` Antoine Levitt
  2011-08-24 12:01 ` Rasmus
  0 siblings, 2 replies; 6+ messages in thread
From: Neal Becker @ 2011-08-23 19:29 UTC (permalink / raw)
  To: emacs-devel

It's nice that we have:

emacs --daemon

But here's what I need.  I've started emacs without --daemon.  Now it's time to 
go home.  I want M-x daemonize.

Feasible?  The most obvious problem I can think of is it would need to close any 
X-connections.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: feature request: daemonize
  2011-08-23 19:29 feature request: daemonize Neal Becker
@ 2011-08-23 19:40 ` Antoine Levitt
  2011-08-24 12:01 ` Rasmus
  1 sibling, 0 replies; 6+ messages in thread
From: Antoine Levitt @ 2011-08-23 19:40 UTC (permalink / raw)
  To: emacs-devel

23/08/11 21:29, Neal Becker
> It's nice that we have:
>
> emacs --daemon
>
> But here's what I need.  I've started emacs without --daemon.  Now
> it's time to go home.  I want M-x daemonize.
>
> Feasible?  The most obvious problem I can think of is it would need to
> close any X-connections.

That'd be cool. A use case is when I need to restart the X server or to
log out for some reason.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: feature request: daemonize
  2011-08-23 19:29 feature request: daemonize Neal Becker
  2011-08-23 19:40 ` Antoine Levitt
@ 2011-08-24 12:01 ` Rasmus
  2011-08-25 12:12   ` GTK3 emacs doesn't survive killing X11 (was: feature request: daemonize) Tassilo Horn
  1 sibling, 1 reply; 6+ messages in thread
From: Rasmus @ 2011-08-24 12:01 UTC (permalink / raw)
  To: emacs-devel

Neal Becker <ndbecker2@gmail.com> writes:

> It's nice that we have:
>
> emacs --daemon
>
> But here's what I need.  I've started emacs without --daemon.  Now it's time to 
> go home.  I want M-x daemonize.
>
> Feasible?  The most obvious problem I can think of is it would need to close any 
> X-connections.

Is this different from (server-start 1)? 

Emacs GTK breaks most of the time when I close X. Especially after I've
switched to GTK3. 

—Rasmus

-- 
Sent from my Emacs




^ permalink raw reply	[flat|nested] 6+ messages in thread

* GTK3 emacs doesn't survive killing X11 (was: feature request: daemonize)
  2011-08-24 12:01 ` Rasmus
@ 2011-08-25 12:12   ` Tassilo Horn
  2011-08-25 13:18     ` GTK3 emacs doesn't survive killing X11 Rasmus
  0 siblings, 1 reply; 6+ messages in thread
From: Tassilo Horn @ 2011-08-25 12:12 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-devel

Rasmus <rasmus@gmx.us> writes:

Hi Rasmus,

> Emacs GTK breaks most of the time when I close X. Especially after
> I've switched to GTK3.

Oh, that's an issue I also see lately.  I remember emacs used to survive
killing X11 when there was a console frame, but right now, that doesn't
work anymore.

I didn't think about GTK3 being the culprit, though.

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GTK3 emacs doesn't survive killing X11
  2011-08-25 12:12   ` GTK3 emacs doesn't survive killing X11 (was: feature request: daemonize) Tassilo Horn
@ 2011-08-25 13:18     ` Rasmus
  2011-08-25 14:15       ` Jan D.
  0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2011-08-25 13:18 UTC (permalink / raw)
  To: emacs-devel

Tassilo Horn <tassilo@member.fsf.org> writes:

> Rasmus <rasmus@gmx.us> writes:
>
> Hi Rasmus,
>
>> Emacs GTK breaks most of the time when I close X. Especially after
>> I've switched to GTK3.
>
> Oh, that's an issue I also see lately.  I remember emacs used to survive
> killing X11 when there was a console frame, but right now, that doesn't
> work anymore.
>
> I didn't think about GTK3 being the culprit, though.

No idea. Earlier Emacs would survive X restarts if no GTK frames where
open. This no longer seems to be the case. Whether it is GTK3 or
something else I simply don't know. . .

—Rasmus

-- 
Sent from my Emacs




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: GTK3 emacs doesn't survive killing X11
  2011-08-25 13:18     ` GTK3 emacs doesn't survive killing X11 Rasmus
@ 2011-08-25 14:15       ` Jan D.
  0 siblings, 0 replies; 6+ messages in thread
From: Jan D. @ 2011-08-25 14:15 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-devel

Rasmus skrev 2011-08-25 15:18:
> Tassilo Horn<tassilo@member.fsf.org>  writes:
>
>> Rasmus<rasmus@gmx.us>  writes:
>>
>> Hi Rasmus,
>>
>>> Emacs GTK breaks most of the time when I close X. Especially after
>>> I've switched to GTK3.
>>
>> Oh, that's an issue I also see lately.  I remember emacs used to survive
>> killing X11 when there was a console frame, but right now, that doesn't
>> work anymore.
>>
>> I didn't think about GTK3 being the culprit, though.
>
> No idea. Earlier Emacs would survive X restarts if no GTK frames where
> open. This no longer seems to be the case. Whether it is GTK3 or
> something else I simply don't know. . .
>

It is really GLib that messes things up.  GLib is used by GConf, 
GSettings, DBus and (I think) rsvg.

	Jan D.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-25 14:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 19:29 feature request: daemonize Neal Becker
2011-08-23 19:40 ` Antoine Levitt
2011-08-24 12:01 ` Rasmus
2011-08-25 12:12   ` GTK3 emacs doesn't survive killing X11 (was: feature request: daemonize) Tassilo Horn
2011-08-25 13:18     ` GTK3 emacs doesn't survive killing X11 Rasmus
2011-08-25 14:15       ` Jan D.

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).