[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnuserv no longer included in OS X High Sierra, how to replace?
From: |
Alan Third |
Subject: |
Re: gnuserv no longer included in OS X High Sierra, how to replace? |
Date: |
Sun, 8 Oct 2017 16:41:50 +0100 |
User-agent: |
Mutt/1.9.0 (2017-09-02) |
On Sun, Oct 08, 2017 at 07:54:46AM -0700, John Owens wrote:
> Advice on how to get gnuserv functionality now that the gnuserv binary is no
> longer shipped with OS X High Sierra? My elisp follows. Quick scan of MacPorts
> and Homebrew didn't reveal an obvious package to install that provides it.
>
> JDO
>
> (if window-system-not-nil
> (progn
> (autoload 'gnuserv-start "gnuserv-compat"
> "Allow this Emacs process to be a server for client processes." t)
> (gnuserv-start)
> (server-start)
> )
> )
>
> error with gnuserv-start:
> "Searching for program: No such file or directory, gnuserv"
I think you should be able to replace that with just (server-start),
and use emacsclient, which on my system is available at:
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient
The exact place may vary depending on where it’s installed and how you
did it.
--
Alan Third