From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 36b9955: Add --new-daemon, which runs in the foreground and does not fork Date: Wed, 16 Nov 2016 19:34:42 +0100 Message-ID: <87zikz8e9p.fsf@wanadoo.es> References: <20161116072925.16550.32364@vcs.savannah.gnu.org> <20161116072926.098DB220167@vcs.savannah.gnu.org> <87polvz9b6.fsf@udel.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1479321309 11327 195.159.176.226 (16 Nov 2016 18:35:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2016 18:35:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 16 19:35:02 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c752z-000281-Mq for ged-emacs-devel@m.gmane.org; Wed, 16 Nov 2016 19:35:01 +0100 Original-Received: from localhost ([::1]:54024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7532-0002Wk-Ud for ged-emacs-devel@m.gmane.org; Wed, 16 Nov 2016 13:35:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c752t-0002Vt-6C for emacs-devel@gnu.org; Wed, 16 Nov 2016 13:34:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c752p-0005YC-5y for emacs-devel@gnu.org; Wed, 16 Nov 2016 13:34:55 -0500 Original-Received: from [195.159.176.226] (port=56650 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c752o-0005WY-VH for emacs-devel@gnu.org; Wed, 16 Nov 2016 13:34:51 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c752j-0007kE-6q for emacs-devel@gnu.org; Wed, 16 Nov 2016 19:34:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:BuXkTUSCrK+Z3XT+azWNXmtifGk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209443 Archived-At: Evgeny Roubinchtein writes: > Alternatively alternatively an optional argument to the "--daemon" option > so that, for example "--daemon=foreground" is the no-forking behavior, > whereas plain "--daemon" (for backward compatibility) and > "--daemon=background" (for completeness) are both the forking behavior. From *info* (emacs) Initial Options ‘-daemon=SERVER-NAME’ Start emacs in background as a daemon, and use SERVER-NAME as the server name. Curiously that syntax is not mentioned on the output of `emacs --help', nor it is clear if --daemon=SERVER-NAME is accepted (note the two hyphens). IMHO, --fg-daemon or --daemon-fg makes more sense, but then we need --fg-daemon=SERVER-NAME and -fg-daemon=SERVER-NAME; same for the --bg* alternative. > Bikeshedding can be fun. ;-) Then you are on the right place. An we are entering in a combinatorial explosion. We have bikeshedding material until New Year's Eve and beyond!