GNU bug report logs - #37847
[PATCH] Improve client/daemon xdg/systemd experience

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Mon, 21 Oct 2019 07:17:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Vojtech Stepancik <vojtechstepancik <at> outlook.com>
Cc: 37847 <at> debbugs.gnu.org
Subject: bug#37847: [PATCH] Improve client/daemon xdg/systemd experience
Date: Wed, 09 Sep 2020 11:35:37 +0200
Vojtech Stepancik <vojtechstepancik <at> outlook.com> writes:

> 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 reverting this bit of the patch fix the problem?

 [Service]
 Type=notify
-ExecStart=emacs --fg-daemon
+ExecStart=@emacs emacsd --fg-daemon
 ExecStop=emacsclient --eval "(kill-emacs)"


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.