From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: Daemon mode wishlist Date: Sat, 27 Sep 2008 11:55:15 +0200 Organization: orebokech dot com Message-ID: <87r675gbgc.fsf@elegiac.orebokech.com> References: <87zllug0gn.fsf@elegiac.orebokech.com> <200809262027.m8QKRn8q029499@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222509345 4225 80.91.229.12 (27 Sep 2008 09:55:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2008 09:55:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 27 11:56:43 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 1KjWXZ-00046C-A1 for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 11:56:41 +0200 Original-Received: from localhost ([127.0.0.1]:59112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjWWW-0001Dv-TA for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 05:55:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjWWP-0001D8-DS for emacs-devel@gnu.org; Sat, 27 Sep 2008 05:55:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjWWM-0001Bk-V4 for emacs-devel@gnu.org; Sat, 27 Sep 2008 05:55:28 -0400 Original-Received: from [199.232.76.173] (port=38811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjWWM-0001BR-8C for emacs-devel@gnu.org; Sat, 27 Sep 2008 05:55:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:51994 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KjWWL-0002pK-Tr for emacs-devel@gnu.org; Sat, 27 Sep 2008 05:55:26 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KjWWI-0007do-2M for emacs-devel@gnu.org; Sat, 27 Sep 2008 09:55:22 +0000 Original-Received: from home.orebokech.com ([82.67.41.165]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Sep 2008 09:55:22 +0000 Original-Received: from romain by home.orebokech.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Sep 2008 09:55:22 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: home.orebokech.com X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM 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:104183 Archived-At: Dan Nicolaescu writes: > Doesn't --eval '(progn (setq server-name "foo") (server-start))' work? Ah, I hadn't thought of that. The server gets restarted, of course, but yes it works. Thanks. > My plan is to change --daemon syntax to be --daemon[=NAME[:PORT]] > Then (daemonp) would return (NAME . PORT) > and change server-start to take NAME and PORT as optional arguments. And PORT could be t if you want Emacs to start a TCP server on a random port as is the default now? > Do you want to help implementing/documenting and more importantly > getting this approved? The first step is probably to get this approved. :)