From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs daemon on win32? Date: Wed, 29 Oct 2008 06:21:57 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1225254172 17722 80.91.229.12 (29 Oct 2008 04:22:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2008 04:22:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 29 05:23:53 2008 connect(): Connection refused 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 1Kv2b3-0004J0-68 for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 05:23:53 +0100 Original-Received: from localhost ([127.0.0.1]:51739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv2Zw-0007bH-Uk for ged-emacs-devel@m.gmane.org; Wed, 29 Oct 2008 00:22:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kv2Zs-0007b2-11 for emacs-devel@gnu.org; Wed, 29 Oct 2008 00:22:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kv2Zp-0007aq-UN for emacs-devel@gnu.org; Wed, 29 Oct 2008 00:22:38 -0400 Original-Received: from [199.232.76.173] (port=55942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kv2Zp-0007an-Qv for emacs-devel@gnu.org; Wed, 29 Oct 2008 00:22:37 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:38274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kv2Zp-0000gH-Ua for emacs-devel@gnu.org; Wed, 29 Oct 2008 00:22:38 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.192.143]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K9H00HXBG741IT1@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Wed, 29 Oct 2008 06:23:28 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:105125 Archived-At: > Date: Tue, 28 Oct 2008 22:27:47 +0100 > From: "Juanma Barranquero" > Cc: emacs-devel@gnu.org > > On Tue, Oct 28, 2008 at 21:22, Eli Zaretskii wrote: > > > Then let me ask you: what _is_, in your opinion, the raison d'etre of > > the daemon mode? > > Same that in a Windows service: the system is responsible of starting, > stopping and maintaining the process alive (and dependency > relationships between services). Unless Emacs is a service and can be started as such, you cannot do this on Windows (AFAIK) without logging in as one of the users defined on the particular machine. Someone else wrote in this thread what I think is the main goal of the daemon mode: be detached from the process group and so don't get killed when the user logs out. And I think this is impossible on Windows for a normal (non-service) process.