From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Emacs server without emacsserver. Date: 21 Sep 2002 02:58:26 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x7khggnv1.fsf@kfs2.cua.dk> References: <200209172010.g8HKAG312061@rum.cs.yale.edu> <200209191632.g8JGWV408480@rum.cs.yale.edu> <200209201841.g8KIfgV13455@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032566421 11029 127.0.0.1 (21 Sep 2002 00:00:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 21 Sep 2002 00:00:21 +0000 (UTC) Cc: emacs-devel@gnu.org, Richard Stallman Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17sXh5-0002rl-00 for ; Sat, 21 Sep 2002 02:00:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17sYMa-0003c3-00 for ; Sat, 21 Sep 2002 02:43:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sXhP-0007T2-00; Fri, 20 Sep 2002 20:00:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17sXf5-0007CM-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 19:58:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17sXf2-00076t-00 for emacs-devel@gnu.org; Fri, 20 Sep 2002 19:58:13 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17sXf2-00076j-00; Fri, 20 Sep 2002 19:58:12 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 5A2637C013; Fri, 20 Sep 2002 23:58:10 +0000 (GMT) Original-To: "Stefan Monnier" In-Reply-To: <200209201841.g8KIfgV13455@rum.cs.yale.edu> Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8070 "Stefan Monnier" writes: > > Should I install the change ? > > I.e. are there systems where emacsserver.c works but > > (make-network-process :server t :family 'local) doesn't ? > > > > I don't know. Please ask emacs-devel. storm@cua.dk might know. > > > > Maybe you can tell by studying the conditionals around > > make-network-process and seeing which s/ or m/ flles define macros in > > such a way that it won't be turned on. If autoconf macros are > > being tested, see if emacsclient.c tests the same ones. > > Any idea ? I don't know whether :family 'local is supported on all systems where emacsserver.c works -- if AF_UNIX is the only type of socket used by emacsserver.c, I would say yes, but otherwise, I would suggest that the lisp code should support the other protocol families/protocols used by emacsserver.c. You can use (featurep 'make-network-process '(:family local)) etc. to check whether :family 'local is supported -- and if not, support other protocols (in accordance with what emacsclient is using). -- Kim F. Storm http://www.cua.dk