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 M$? [was: emacs daemon on win32?] Date: Mon, 13 Oct 2008 09:22:18 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223882556 10874 80.91.229.12 (13 Oct 2008 07:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Oct 2008 07:22:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 13 09:23:35 2008 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 1KpHm9-0002qg-DD for ged-emacs-devel@m.gmane.org; Mon, 13 Oct 2008 09:23:33 +0200 Original-Received: from localhost ([127.0.0.1]:53454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpHl4-0007D2-S9 for ged-emacs-devel@m.gmane.org; Mon, 13 Oct 2008 03:22:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpHkz-0007Cx-H1 for emacs-devel@gnu.org; Mon, 13 Oct 2008 03:22:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpHky-0007Cl-PM for emacs-devel@gnu.org; Mon, 13 Oct 2008 03:22:21 -0400 Original-Received: from [199.232.76.173] (port=38269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpHky-0007Ci-Ji for emacs-devel@gnu.org; Mon, 13 Oct 2008 03:22:20 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:45474) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpHky-0005ZM-3y for emacs-devel@gnu.org; Mon, 13 Oct 2008 03:22:20 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpHkx-0004mX-5O for emacs-devel@gnu.org; Mon, 13 Oct 2008 03:22:19 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K8O00KO81VB30R2@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Mon, 13 Oct 2008 09:23:36 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by mx20.gnu.org: Solaris 9.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:104503 Archived-At: > Date: Mon, 13 Oct 2008 09:13:37 +0530 > From: dhruva > Cc: emacs-devel@gnu.org > > > Why does it make sense to have this on Windows? What would you like > > to accomplish with this option on Windows? > > I really do not have a very strong case. However, I would like to have > emacs run as a service on M$. I assume you don't mean ``service'' in the Windows sense of the word, because doing that requires a totally different program structure, AFAIK. You don't want to start Emacs as a service from svchost, do you? > I can open frames and edit files, open frame to read mails and close > it when done. Having emacs run as a service has unlimited uses. I > could use it to run some remote commands (once I have it running on > remote machines). If you have seen STAF (software test automation > framework) to dispatch commands to remote machines, I would use > emacs instead. It can become a highly customizable control center! Which of those cannot be done with the normal Emacs, and why? (I think you can do all of them, but maybe I'm missing something.) In any case, IIUC, the daemon code that's in Emacs now is entirely inappropriate for Windows. What you seem to want is an Emacs without a live frame; doing that on Windows does not need most of the code in emacs.c that deals with the --daemon option. (Again, maybe I'm missing something.)