Emacs daemon and emacsclient environment inheritance across session managers
Goal Run an Emacs daemon under a systemd user unit and connect with emacsclient from an interactive shell so that subprocesses started inside Emacs see the same PATH and display variables as the shell. Constraint The daemon inherits its environment from the service manager, while emacsclient inherits from the invoking shell. Variables such as PATH , DISPLAY