Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MacOSX files required to setup an emacs daemon & an alias to launch emacsclient in a tmux session.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>gnu.emacs.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/emacs</string>
<string>--daemon=emax</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Gnu Emacs Daemon</string>
<key>UserName</key>
<string>${USER_NAME_HERE}</string>
</dict>
</plist>
sudo launchctl load -w /Library/LaunchAgents/gnu.emacs.daemon.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.