all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
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.