Best (?) way to start the emacs server vi Launch?

Kenneth Wolcott kennethwolcott at gmail.com
Sat Feb 25 21:54:48 UTC 2023


HI;

  I found where my Launch entry is and was able to change the path to
emacs and re-launched.

  Here is my new launch entry:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    <?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>/opt/local/bin/emacs</string>
          <string>--daemon</string>
        </array>
       <key>RunAtLoad</key>
       <true/>
       <key>ServiceDescription</key>
       <string>Gnu Emacs Daemon</string>
      </dict>
    </plist>
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This should be placed here:

~/Library/LaunchAgents/gnu.emacs.daemon.plist

Then it can be launched with:

launchctl load -w ~/Library/LaunchAgents/gnu.emacs.daemon.plist

Thanks,
Ken

On Sat, Feb 25, 2023 at 1:28 PM Kenneth Wolcott
<kennethwolcott at gmail.com> wrote:
>
> Hi;
>
>   I have an old emacs launch set up for an emacs that I now longer
> have (I'm using emacs from mac ports now).
>
>   Currently I do not have an emacs server running and I'd rather not
> start one manually.
>
>   I did "port notes emacs" and nothing was returned.
>
> Thanks,
> Ken Wolcott


More information about the macports-users mailing list