From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Daemon mode wishlist Date: Sat, 27 Sep 2008 08:27:37 -0400 Message-ID: References: <87zllug0gn.fsf@elegiac.orebokech.com> <200809262027.m8QKRn8q029499@mothra.ics.uci.edu> <87r675gbgc.fsf@elegiac.orebokech.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222518478 24469 80.91.229.12 (27 Sep 2008 12:27:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2008 12:27:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Romain Francoise Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 27 14:28:56 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 1KjYuo-0000oc-8X for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 14:28:50 +0200 Original-Received: from localhost ([127.0.0.1]:48363 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjYtl-0006GZ-PI for ged-emacs-devel@m.gmane.org; Sat, 27 Sep 2008 08:27:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjYtg-0006Ff-RP for emacs-devel@gnu.org; Sat, 27 Sep 2008 08:27:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjYtg-0006F9-1n for emacs-devel@gnu.org; Sat, 27 Sep 2008 08:27:40 -0400 Original-Received: from [199.232.76.173] (port=52005 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjYtf-0006Em-Ey for emacs-devel@gnu.org; Sat, 27 Sep 2008 08:27:39 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:4439) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KjYte-0001Tw-MD for emacs-devel@gnu.org; Sat, 27 Sep 2008 08:27:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAK/D3UjO+KDT/2dsb2JhbACBYrgkgWeBBA X-IronPort-AV: E=Sophos;i="4.33,320,1220241600"; d="scan'208";a="27611164" Original-Received: from 206-248-160-211.dsl.teksavvy.com (HELO pastel.home) ([206.248.160.211]) by ironport2-out.teksavvy.com with ESMTP; 27 Sep 2008 08:27:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E43968564; Sat, 27 Sep 2008 08:27:37 -0400 (EDT) In-Reply-To: <87r675gbgc.fsf@elegiac.orebokech.com> (Romain Francoise's message of "Sat, 27 Sep 2008 11:55:15 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:104185 Archived-At: >> 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. :) All of these new features will have to wait. The only thing we should do at this stage is move the (server-start) to after processing .emacs and --eval. Stefan