DEV Community

Discussion on: My emacs setup

Collapse
 
kunde21 profile image
Chad Kunde

In addition to a system daemon, the daemon can be used to create workspace/project-specific emacs daemon using the named daemon feature. Passing an empty alternate editor flag -a "" and a daemon name -s <name> to emacsclient will connect to the named emacs daemon (creating it if it doesn't exist). You can keep projects separate this way.

My bash alias creates a daemon with the name of the current directory: alias wmac='emacsclient -t -a "" -s ${PWD##*/}'