From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Matthew McClure Newsgroups: gmane.emacs.help Subject: =?UTF-8?Q?emacsclient_=E2=80=93alternate=2Deditor=3D_=E2=80=9CCould_not_start_?= =?UTF-8?Q?the_Emacs_daemon=E2=80=9D=3B_=22standard_input_is_not_a_tty=22?= Date: Sun, 18 Aug 2019 12:03:19 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="8748"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 18 18:05:06 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hzNg1-00022k-AE for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2019 18:05:05 +0200 Original-Received: from localhost ([::1]:41906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzNfz-0006nx-Dd for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Aug 2019 12:05:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35675) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzNeY-0005hs-9I for help-gnu-emacs@gnu.org; Sun, 18 Aug 2019 12:03:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzNeX-0003CT-2J for help-gnu-emacs@gnu.org; Sun, 18 Aug 2019 12:03:34 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:40517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzNeW-0003A8-PJ for help-gnu-emacs@gnu.org; Sun, 18 Aug 2019 12:03:33 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id c3so6182750wrd.7 for ; Sun, 18 Aug 2019 09:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=continuousdelta.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=7rYRSYSJZf8Z3n9DeEJWmIetH9jJhwj7v3H95Byvbj4=; b=O3lllhL1b/xz8uQv7iTmBF/JmJezqU0j1pIakATIB4MxqoUkUkOVVrBrup4WxWsWey Hl8omsSR4oXhXFFMbvu2WSrZv5y7ybenrbsmkXhIiA7O8u0r7TJHOo+0cOY7WhaL0pE/ X8q2TxkjubLjEXFmGUVxTZXramxmdSImgFDuLJuEoe+96NlZC6BSn58X7M9OJFeXIdU+ 9vWa22SCdQ3HdD/1CmBtewfcSMdX5xvu5czH8RIyuJp+W6T0VRQj9CvT38l1mTlUZatX BxIP1r3CtQJPPKp7Dpy/jKEH5fIWXjHI85ehY0YyNUUlBxpNR/E2tY7Uv7VZ4UL3+iKb Cofg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7rYRSYSJZf8Z3n9DeEJWmIetH9jJhwj7v3H95Byvbj4=; b=NdDXi5Q+Q4YMfwJOriSvxvsXZjKAZycvdbeLM9WPXlxtbBDBX57TXuA3mFzwWo+qsN TYAMD/nb7X13HHJ31hLSYXO+U4JvjBkXeDL7uAZzRKIxqmheYQJNEgEv18UagivihF3W CH9YQgQvblTA4qYkwEONwyM0yO7HClSAl0GA2Ke4yk4g9WuELi100W9ALNCswPww+/RG NLGd30+OMXHpGE6nbhF6C2xFr7ZZGGObQ7+Oi7O7zKWjfxvrsUg7tFXbyl2hkDqE63mu 3sOxsUfEDKFu0snC61dXLEExjnvM6IVTq3OePX7zEmTsKPTRo00qqZ0ORVFoHB/savW6 LObg== X-Gm-Message-State: APjAAAV6xl1LUlNVRrNNO8YMqefeg4PnsE+fqccrYwB1GJXc5/48pTdb BMlE0IQ6AhNwih/AL0nMCBzPHUCj+OqohQELKze3Js13gvWGqQ== X-Google-Smtp-Source: APXvYqyV/t/230tJ87TohAfYHArxfviLjCp+WRNVedKEjNJ9N8drH8ti0PZpkrHhkGS99Dc2JPMP7/x1KKDGAPs/8nc= X-Received: by 2002:a5d:46d1:: with SMTP id g17mr22598234wrs.131.1566144210258; Sun, 18 Aug 2019 09:03:30 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121340 Archived-At: 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= It works in Bash in Terminal. If an Emacs server isn't already running, the `--alternate-editor=` argument says to start the server and try again. In Keyboard Maestro, it works if an Emacs server is already running. Otherwise, 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 I'm surprised that emacsclient tries to start the daemon in a way that requires a tty. How might I tell emacsclient that it shouldn't need a tty to start the Emacs daemon? -- Matthew McClure Continuous Delta https://www.continuousdelta.com/