I've been running gentoo-managed emacs-daemon because I trust Gentoo to do the right thing but I never figured out why the procedure is the way it is. Now I'm trying to package a “standalone” Emacs application and the best way to do provide a mainstream entry point to it, is something along the lines of
cat /usr/bin/my-application.sh if [ emacs-my-application-running() ] ; then emacsclient -s emacs-${USER}-my-application else emacs -Q --daemon=emacs-${USER}-my-application \ -L necessary-dirs --eval "(run-my-application)" fi but I wonder if I should run a daemon this way in Gentoo, or is there a more preferrable way? I don't want to use default daemon setup though because I want to run a specific instance with named socket, to isolate the application.
signature.asc
Description: PGP signature