unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vojtech Stepancik <vojtechstepancik@outlook.com>
To: 37847@debbugs.gnu.org
Subject: bug#37847: [PATCH] Improve client/daemon xdg/systemd experience
Date: Tue, 08 Sep 2020 23:46:01 +0200	[thread overview]
Message-ID: <MN2PR18MB2765264BB52AE2C13C691A57C9290@MN2PR18MB2765.namprd18.prod.outlook.com> (raw)
In-Reply-To: <CAELgYhfYX+eNrEaiJn0dpLySbW-BcE9E=gyjy7ZgsVoq67kXgg@mail.gmail.com>


This appears to break packages that rely on `invocation-name' to 
be
executable.

When started as a systemd service, the `invocation-name' of the 
server
process
is `emacsd', which is not indicative of the way the process was
launched.

For example Flycheck tries to use this variable to compile elisp 
code
with the same
version of Emacs as the one being used. I'm sure there are others.

Would it be possible to not alter the argv of the daemon under
systemd?

Thanks for consideration.

Vojtěch Štěpančík





  parent reply	other threads:[~2020-09-08 21:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <MN2PR18MB2765AF5AE45CED817D2D0F86C9290@MN2PR18MB2765.namprd18.prod.outlook.com>
2019-10-21  7:15 ` bug#37847: [PATCH] Improve client/daemon xdg/systemd experience Carlos Pita
2019-10-21  7:27   ` Carlos Pita
2019-10-21 15:37     ` Carlos Pita
2020-08-09 13:59       ` Lars Ingebrigtsen
2020-09-08 21:46   ` Vojtech Stepancik [this message]
2020-09-09  9:35     ` Lars Ingebrigtsen
2020-09-09  9:47       ` Vojtech Stepancik
2020-09-09 10:09         ` Lars Ingebrigtsen
2020-10-13  3:48           ` Lars Ingebrigtsen
2021-05-28 17:21   ` Peter Oliver

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=MN2PR18MB2765264BB52AE2C13C691A57C9290@MN2PR18MB2765.namprd18.prod.outlook.com \
    --to=vojtechstepancik@outlook.com \
    --cc=37847@debbugs.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 public inbox

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

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