Re: [Nicolas Graves] [PATCH v6 01/10] rde: emacs: Start emacs in --daemon mode, with shepherd and pid-file

2024-04-19 Thread Stefan Monnier
> The systemd documentation contains code to implement sd_notify without > using libsystemd at > https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html#Notes > > Lennart Poettering said on Mastodon that the notify protocol is stable > and is independent of libsystemd. > > https://mas

Re: [Nicolas Graves] [PATCH v6 01/10] rde: emacs: Start emacs in --daemon mode, with shepherd and pid-file

2024-04-14 Thread Stefan Monnier
> Would that make sense on systems where systemd is used? If libsystem is > already installed it would be more convenient for the user to use the > already installed and very likely loaded libsystemd instead of > reimplementing the feature. You might be right, but it's hard to say without seeing t

Re: [Nicolas Graves] [PATCH v6 01/10] rde: emacs: Start emacs in --daemon mode, with shepherd and pid-file

2024-04-13 Thread Stefan Monnier
> Maybe some feedback on the Emacs side about this? There are indeed very > few places where systemd sd_* functions are called in emacs.c, should we > try and re-implement them instead of using the library as is? Would that > be a contribution Emacs devs would be interested in? That would > definit