[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient –alternate-editor= “Could not start the Emacs daemon”; "

From: Matthew McClure
Subject: Re: emacsclient –alternate-editor= “Could not start the Emacs daemon”; "standard input is not a tty"
Date: Mon, 19 Aug 2019 08:10:49 -0400

On Sun, Aug 18, 2019 at 12:03 PM Matthew McClure
<> wrote:
> How might I tell emacsclient that it shouldn't need a tty to start the
> Emacs daemon?
> I'm using Emacs 26.2 from Homebrew Cask.
> I have a Keyboard Maestro macro intended to create a new Emacs frame.
> /usr/local/bin/emacsclient -n -c --alternate-editor=
> Keyboard Maestro shows the following message.
> /usr/local/bin/emacsclient: can't find socket; have you started the server?
> To start the server in Emacs, type "M-x server-start".
> emacs: standard input is not a tty
> Error: Could not start the Emacs daemon

Disregard my question.

The macro works after changing the script to:

emacsclient -c -n --alternate-editor=

Keyboard Maestro uses a different environment from Bash in Terminal,
and `/usr/local/bin` wasn't in PATH. It was trying to start the Emacs
daemon using /usr/bin/emacs. On my machine that's version 22.1.1,
presumably included with macOS.

Matthew McClure
Continuous Delta

reply via email to

[Prev in Thread] Current Thread [Next in Thread]