all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Evgeny Roubinchtein <zhenya1007@gmail.com>
Cc: Mark Oteiza <mvoteiza@udel.edu>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs Development <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master 36b9955: Add --new-daemon, which runs in the foreground and does not fork
Date: Fri, 18 Nov 2016 01:56:47 -0500	[thread overview]
Message-ID: <5a37ipi8cw.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAGYXaSYriCiCc1sMrtXw=Lx_gO9mTSyZ9W6mXfpcwYj1yWhoqw@mail.gmail.com> (Evgeny Roubinchtein's message of "Wed, 16 Nov 2016 11:24:34 -0500")


I'm not attached to the old- and new- names. Anyone should feel free
to change them. I used "new" because
https://www.freedesktop.org/software/systemd/man/daemon.html
distinguishes between "sysV" and " new-style" daemons.

I actually started with "--daemon-fg" and "--daemon-bg", but the Emacs
argument parsing code can't handle one argument (ie "--daemon") being a
prefix of another. If someone fixes argmatch to prefer an exact match to
a prefix match, those would work.

"--fg-daemon" and "--bg-daemon" sound fine to me.

Switches --foreground (I don't think it's worth a short option like -F)
and --background sound fine too.

PS: emacs_devel.txt: seven years for a feature to get implemented,
then overnight 4 people suggest different names for the option. ;)



  parent reply	other threads:[~2016-11-18  6:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20161116072925.16550.32364@vcs.savannah.gnu.org>
     [not found] ` <20161116072926.098DB220167@vcs.savannah.gnu.org>
2016-11-16 13:12   ` [Emacs-diffs] master 36b9955: Add --new-daemon, which runs in the foreground and does not fork Stefan Monnier
2016-11-16 16:19     ` Mark Oteiza
2016-11-16 16:24       ` Evgeny Roubinchtein
2016-11-16 18:34         ` Óscar Fuentes
2016-11-18  6:56         ` Glenn Morris [this message]
2016-11-18 13:01           ` Stefan Monnier
2016-11-18 17:18             ` John Wiegley
2016-11-18 17:31               ` Eli Zaretskii
2016-11-18 18:44                 ` John Wiegley
2016-11-19 16:10                   ` Philipp Stephani
2017-05-30  2:24           ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a37ipi8cw.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=mvoteiza@udel.edu \
    --cc=zhenya1007@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.