unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Glenn Morris <rgm@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to run --daemon in foreground?
Date: Mon, 31 Oct 2016 14:26:47 +0000	[thread overview]
Message-ID: <CAArVCkThJ=g64P5om-fdPtvN1ZPdJ1YzV93vPcNzg+isqhQyEA@mail.gmail.com> (raw)
In-Reply-To: <xlfundmktt.fsf@fencepost.gnu.org>

Glenn Morris <rgm@gnu.org> schrieb am Mo., 31. Okt. 2016 um 01:22 Uhr:

> Stefan Monnier wrote:
>
> > Actually, it should be possible to use a foreground process without
> > a tty by using "emacs --batch".  IIUC it will require fiddling to make
> > it work right, but it's be good if someone could try it and report its
> > experience (e.g. in the form of a bug-report).
>
> There's a 7-year old bug report with a simple patch to add equivalent
> functionality. https://debbugs.gnu.org/4944
>
> It seems to me like a feature Emacs should have.
>
>
Agreed. However, the patch doesn't apply cleanly any more.
Please note that starting Emacs without --daemon and '-f server-start' is
not the same: it ignores the systemd socket activation; that code path is
only taken if the --daemon flag is present. Therefore, a new flag (or
--daemon=foreground etc.) is needed.


  parent reply	other threads:[~2016-10-31 14:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-29 15:15 How to run --daemon in foreground? Jean Louis
2016-10-30 18:09 ` Glenn Morris
2016-10-30 18:42   ` Jean Louis
2016-10-30 23:50 ` Bob Proulx
2016-10-31  0:01   ` Stefan Monnier
2016-10-31  0:19     ` Glenn Morris
2016-10-31 12:41       ` Jean Louis
2016-10-31 14:26       ` Philipp Stephani [this message]
2016-10-31  5:47   ` Jean Louis
2016-10-31  5:53   ` Jean Louis

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAArVCkThJ=g64P5om-fdPtvN1ZPdJ1YzV93vPcNzg+isqhQyEA@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rgm@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).