[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possible to exchange server and client?

From: Pascal J. Bourguignon
Subject: Re: possible to exchange server and client?
Date: Mon, 14 Jul 2008 14:47:24 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

anhnmncb <address@hidden> writes:

> hmm, I want to run emacs with server-start in Xorg, then create a frame
> in console, then in the console frame, M-x server-start to make that
> frame become an emacs server too, so now I can safely exit the emacs
> running on xorg.

This is where you are in error.  There is not one instance of emacs
per frame.  Frames are but windows open on the same emacs process.
You can make-frame and  delete-frame at will, but this is always the
same emacs process.  

In addition, server-start is totally independant of what frames emacs
has currently open.
"Running emacs with server-start in Xorg" is meaningless a sentence.

If you exit emacs from one frame, then all frames will be killed,
because there's only one emacs process.

And if you delete the last frame, emacs will also be killed, that's
why I'd advise you to always keep at least one (unused) frame open, so
you can reconnect to your emacs process when you get disconnected from
your current frame/tty.

__Pascal Bourguignon__           

ATTENTION: Despite any other listing of product contents found
herein, the consumer is advised that, in actuality, this product
consists of 99.9999999999% empty space.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]