From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: GNU Emacs: Client/Server Date: Thu, 29 Jan 2004 16:42:59 +0530 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040129111259.67CF418B@frontend3.messagingengine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1075375111 31769 80.91.224.253 (29 Jan 2004 11:18:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2004 11:18:31 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jan 29 12:18:22 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AmABi-0006FP-00 for ; Thu, 29 Jan 2004 12:18:22 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AmABi-00045B-00 for ; Thu, 29 Jan 2004 12:18:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmA8H-00005I-Fc for emacs-devel@quimby.gnus.org; Thu, 29 Jan 2004 06:14:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AmA7B-0008Hy-8R for emacs-devel@gnu.org; Thu, 29 Jan 2004 06:13:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AmA6Y-00085J-TU for emacs-devel@gnu.org; Thu, 29 Jan 2004 06:13:34 -0500 Original-Received: from [66.111.4.32] (helo=frontend3.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AmA6Y-00084Z-FX for emacs-devel@gnu.org; Thu, 29 Jan 2004 06:13:02 -0500 Original-Received: by frontend3.messagingengine.com (Postfix, from userid 99) id 67CF418B; Thu, 29 Jan 2004 06:12:59 -0500 (EST) Content-Disposition: inline X-Mailer: MIME::Lite 1.2 (F2.72; T1.001; A1.60; B2.21; Q2.21) Original-To: "Emacs Devel" X-Sasl-Enc: Rm9Qcx9sVqUpsp5zT1ZmNg 1075374779 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19535 Hello, The fact that "emacsclient" does not build on MS Windows platform (correct me if I am wrong), we end up depending on "gnuserv" functionality. This is *NOT* part of distribution and therefore makes it difficult to keep update with changes in "gnuserv" (if there are any, recently). I was toying with the idea of making the GNU Emacs behave as a client or server through command line options or Elisp functions. (On Microsoft Platform on which I work) For server: - Create a server thread which will use some IPC (mail slots or named pipes kernel object) through which Elist expressions can be exchanged which can be evaluated by the server For client: - Make sure the end point for IPC exists - Dispatch commands to the IPC channel to communicate with server Using Kernel objects, we can ensure that only 1 server is running on the computer. Could we use the above approach and do away with the gnuserv/emacsclient dependency? with best regards, dhruva ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/